QR code generator

Type a link, some text, Wi-Fi details, or a contact, and the code updates as you go; download it as PNG or SVG. The code holds your content itself, so it never expires and nothing counts its scans, but you can't change where it points once it's printed. It runs in your browser; nothing you enter is uploaded.
For the reverse, use the QR code scanner.
Text inside the code
Codes that keep working
Many sites that offer free QR codes make dynamic codes. The code holds a short link to the site's own server, which forwards each scan to your page. That lets the site count scans and lets you change the destination later, but the code works only as long as the site keeps forwarding.
This generator makes static codes: your link or text is written into the pattern itself. A phone reads it without contacting this site or any other, so the code works for as long as the page it points to exists. A printed static code can't be edited, though. If the address might change, point the code at a short page on your own site, such as example.com/menu, that you can redirect later.
Which error correction level to pick
Error correction stores extra data, so a scanner can still read the code when part of it is dirty, torn, or covered. Level L can rebuild about 7% of the code, M 15%, Q 25%, and H 30%. More correction means more modules, the small black and white squares, for the same content. The default link, https://example.com, fits in 25 × 25 modules at levels L, M, and Q, and needs 29 × 29 at H.
M suits screens and most printing. Q or H is worth it for a code that will get scuffed, like one on a shipping box or a floor sticker, or one you'll partly cover with a logo. Pick L only to squeeze a long text into a code phones can still read.
The largest code, version 40, is 177 × 177 modules and holds 2,953 bytes at level L or 1,273 at level H. A plain English letter takes one byte, while accented letters, other alphabets, and emoji take 2 to 4 bytes each. Codes that dense are hard to scan from paper, so keep links short.
Printing and scanning
- Keep the margin. Scanners find a code by the blank border around it, which the standard sets at 4 modules wide. Both downloads include it, so don't crop it off.
- Print it big enough. A code smaller than about 2 cm (0.8 in) across is hard to scan, and one on a poster read from across a room needs to be much bigger.
- Keep the code dark on a light background. The tool warns when the two colors' contrast ratio falls below 4.5:1, or when the code is lighter than its background, which some scanner apps can't read.
- Pick the format for where it goes. SVG stays sharp at any size, which suits print and design programs; PNG suits documents and websites.
- Test it before you print. Scan the downloaded file with two phones, ideally an iPhone and an Android phone.
Wi-Fi, email, and contact codes
The camera apps on iPhones and most Android phones read each of these types and offer the matching action: join the network, start an email or a text message, call the number, or save the contact. Open Text inside the code under the preview to see exactly what a code stores.
- Wi-Fi codes use the format
WIFI:T:WPA;S:name;P:password;;. The password is stored as plain text, and anyone who scans or photographs the code can read it. A guest network is the safer choice for a code on a café wall. - Contact card codes hold a vCard 3.0, the format phones import into their contacts. Each field you fill in makes the code denser.
Questions
Can I use these QR codes commercially?
Yes. Denso Wave, the company that created the QR code, says no license or fee is needed to use it. It holds the trademark on the words "QR Code", not on the pattern.
Can I add a logo in the middle?
Not in this tool, but you can place one over the SVG in a design program. Set error correction to H, keep the logo small and away from the three large corner squares. The logo uses up some of the error correction, so the code has less left for smudges and scratches.