QR codes in print fail for reasons you can't see on screen, and once a code is printed you can't fix it. Before you send a menu, flyer, label or sign to the printer, check five things: size, margin, contrast, file and a test scan. This guide covers each one, with a size table you can use straight away.
How big to print a QR code
The QR code standard sets no minimum print size. What matters is the size of each module, the small squares, compared with how far away the phone is. Print guides use a simple rule of thumb: make the code about one tenth of the scanning distance, and no smaller than about 2 cm for anything held in the hand.
| Where it's printed | Scanned from | Code width | PNG at 300 DPI |
|---|---|---|---|
| Product label | 15 cm | 2 cm | 236 px |
| Business card | 20 cm | 2 cm | 236 px |
| Flyer or menu | 40 cm | 4 cm | 472 px |
| Table tent or counter sign | 60 cm | 6 cm | 709 px |
| Poster | 1.5 m | 15 cm | 1,772 px (use SVG) |
| Shop window or wall sign | 3 m | 30 cm | 3,543 px (use SVG) |
These are a starting point, not a standard, so always test. Keep the data short, too. Every extra character adds modules, and at the same print size each module gets smaller and harder to read. DENSO WAVE, which invented the QR code, suggests about 271 bytes for codes read by phone cameras. A short link scans better than a long one full of tracking parameters.
Leave the quiet zone
A QR code needs a blank margin of 4 modules on every side. Scanners use this empty border to find the code. Text, a photo or the edge of a card inside the margin is a common reason a printed code won't scan, even when it looked fine in the design file. The HeavyToolz QR Code Generator adds a 4-module margin by default.
If your design puts the code on a coloured or busy background, keep a light box behind it that includes the full 4-module margin.
Contrast, colour and material
- Dark on light. Use dark modules on a light background. Some phone scanners can't read light codes on a dark background.
- Strong contrast. Navy, black or dark brown on white or cream works. Yellow, light grey or pastel modules often fail, especially under shop lighting.
- Careful with gradients. A gradient can fade into the background at one end. If the pale end looks weak, use a solid colour.
- Matte beats glossy. Gloss lamination, metal and curved bottles reflect light across the code. Test on the real material.
Which file to print: SVG, PDF or PNG
Vector files (SVG, PDF or EPS) are drawn from shapes, so they stay sharp at any size. Use one for anything bigger than a business card, and always for signs and banners. The QR Code Generator downloads an SVG.
PNG is fine if it has enough pixels for the print size. At 300 DPI, which most printers ask for, you need about 118 pixels for every centimetre:
pixels = width in cm ÷ 2.54 × 300
A 3 cm code needs about 354 px, so a 1,000 px PNG covers prints up to about 8.5 cm wide. Never enlarge a small PNG: it turns the sharp edges into blur that scanners struggle with.
Logos and error correction
A logo covers modules, and the code survives only because of its error correction. Level H lets about 30% of the code be damaged or covered and still scan. Use level H with a logo, keep the logo small and centred, and keep it off the three large corner squares. Our generator switches to level H as soon as you add a logo.
Static or dynamic for print
A static code stores your link itself, so it never expires, but you can't change it after printing. A dynamic code stores a provider's short link that you can redirect later, but it stops working if the subscription or the provider ends. For a long print run there's a middle path: a static code that points to a page on your own website. If your plans change, update that page or redirect it yourself.
Test before the full run
- Print one copy at the final size, on the final paper or material.
- Scan it with at least two phones, an iPhone and an Android, using the normal camera app.
- Scan from the real distance and in the real light: a shop window, a dim restaurant, an outdoor sign.
- Open the link on mobile data, not your office WiFi, and check that the page loads and fits a phone screen.
- Add a short line next to the code, such as "Scan to see the menu", so people know why to scan.
Printed QR code not scanning? Check these
| What you see | Likely cause | Fix |
|---|---|---|
| The phone doesn't react at all | Code too small for the distance, or margin cut off | Print larger; keep 4 blank modules on every side |
| Works close up, fails further away | Too much data for the size | Shorten the link; print larger |
| Works on some phones only | Low contrast, light-on-dark colours or glare | Dark dots on a light, matte background |
| Fails since the logo was added | Logo too large, or error correction too low | A smaller logo; error correction H |
| Square edges look blurry | A small PNG was enlarged | Use SVG, or a PNG with enough pixels |
| Scans, but opens an error page | Mistyped link, or the page was moved | Fix the link and reprint, or restore the page |
Sources: DENSO WAVE, qrcode.com (the 4-module margin, about 271 bytes for phone reading, error correction levels). The size rule is a common rule of thumb in print guides, not part of the QR standard, and the pixel figures follow from 300 DPI.