How to make a QR code that always scans
Six rules cover almost every QR code that fails in the real world.
Keep the content short
The more characters you store, the more and smaller squares the code needs. A short link gives a code of 25 to 29 modules per side, which scans from further away and survives poor printing. Remove tracking parameters you do not use.
Dark code, light background
Scanners look for dark modules on a light background. Inverted codes (light on dark) fail on many phones. Keep a strong difference in brightness: black, navy or dark green on white or a pale tint are safe. Yellow, light grey or pastel codes are not.
Leave the quiet zone alone
The empty margin around the code tells the scanner where the code ends. The standard asks for 4 modules; 2 is the practical minimum. Do not let text, borders or photos touch the code.
Size it for the distance
A reliable rule is a code width of one tenth of the scanning distance: 2 to 3 cm on a business card or package read from 25 cm, 15 cm on a poster read from 1.5 m. Each module should print at least 0.4 mm wide.
Use error correction for logos, not as decoration
Error correction lets a code be read when part of it is hidden or damaged: level L recovers about 7%, M 15%, Q 25% and H 30%. A logo in the middle hides modules, so use Q or H with a logo and keep the logo under roughly a fifth of the width. Higher levels make the code denser, so do not raise them without a reason.
Pick the right file
For print, use SVG or PDF: they are vector files and stay sharp at any size. For screens, PNG is the safe choice. Avoid JPG for small codes, because compression blurs the edges. Never stretch a code out of square.
Test before you print
Scan the final artwork with at least two phones, at the real size and distance. The scan check on this site catches designs that break the code, but it cannot see your paper, your lighting or a curved bottle.
The ultimate free QR code generator
All QR code types
- The ultimate free QR code generator
- Text QR code generator
- Wi-Fi QR code generator
- vCard QR code generator
- Email QR code generator
- SMS QR code generator
- Phone number QR code generator
- WhatsApp QR code generator
- Location QR code generator
- Calendar event QR code generator
- SEPA payment QR code generator
- Bitcoin QR code generator