How to use the QR Code Generator
- Choose what the code should hold: a web address, plain text, an email, a phone number, an SMS, a contact card or a location.
- Fill in the fields. The preview changes immediately; the line under it shows the QR version and size.
- Pick colours and error correction. Keep strong contrast, dark on light, and leave the quiet zone switched on.
- Download PNG or SVG, then test the printed or on-screen code with a phone before you use it widely.
Versions, modules and error correction
A QR code is a square grid of dark and light modules. The versions run from 1 (21 x 21 modules) to 40 (177 x 177 modules), and each version adds 4 modules per side, so the side is 17 + 4 x version (per Denso Wave, see Sources). The generator picks the smallest version that fits your data.
Error correction adds redundant data so a code still scans when part of it is dirty or covered. The four levels L, M, Q and H can recover about 7, 15, 25 and 30 percent of the code. Higher levels need more modules, so the same text gives a denser code. Digits-only and uppercase-only text is packed more tightly than other text, which the tool uses automatically.
Printing and scanning tips
Keep the quiet zone: the empty border of 4 modules around the code lets scanners find its edge. At 1024 px and a 33 x 33 module code with that border (41 modules in total) each module is 24 px, which stays sharp. The PNG export uses whole-pixel modules for this reason.
Dark modules on a light background scan best. Light-on-dark and low-contrast colours may fail in some scanner apps. For anything printed small, choose SVG, which scales without blur, and test the print with more than one phone.
Frequently asked questions
Do the QR codes expire?
No. They are static: the text is written straight into the pattern. They keep working as long as the link or data inside them does, and they do not pass through this site.
Can I add a logo in the middle?
Not in this generator. A logo covers modules and relies on error correction to recover them, which makes scanning less reliable.
Is there a limit on length?
Yes. A code holds a limited amount of data. If the text is too long for the selected error correction level, the tool says so; shorten the text or choose a lower level.
Is anything I type saved or sent?
No. The code is calculated by JavaScript in your browser and the text is not sent anywhere.
Sources
- Denso Wave: QR Code versions and data capacity (as of November 2026)
- Denso Wave: QR Code error correction (as of November 2026)
- Denso Wave: QR Code standards (ISO/IEC 18004) (as of November 2026)
- ZXing wiki: Barcode Contents (payload formats) (as of November 2026)
- RFC 2426: vCard MIME Directory Profile
- RFC 5870: geo URI scheme
Last reviewed