How to print a QR code that scans reliably
Choose contrast, size, error correction and placement so a QR code works after export, printing and real-world handling.
Keep strong contrast
Dark modules on a light background remain the safest choice. Low-contrast brand colors, gradients and transparent backgrounds may look attractive but fail under dim lighting or an older phone camera.
Do not invert colors unless the intended scanning devices have been tested. A screen preview cannot reproduce every printer, paper and lighting condition.
Preserve the quiet zone
The empty border around a QR code helps a scanner separate the code from surrounding artwork. Do not crop it away or place text, borders and photographs against the outer modules.
When adding a center logo, keep it conservative and use error correction appropriate to the design. A logo cannot cover the finder squares in three corners.
Size for viewing distance
A code on a business card is scanned from close range; a poster or counter sign is scanned from farther away. Increase physical size as distance and encoded complexity grow.
Long URLs create denser codes with smaller modules. Use a stable, trustworthy destination and avoid unnecessary tracking parameters when they make the code harder to print.
Export for the final medium
SVG remains sharp when a designer scales the artwork, while PNG is convenient for ordinary documents and websites. Avoid repeated screenshotting because interpolation and compression can blur module edges.
If using JPG, export at high quality and do not resize it repeatedly. Crisp edges matter more than photographic compression efficiency.
Test the real object
Test the final printed piece, not only the file on your monitor. Use at least two different phones and try realistic angles and lighting.
Confirm the decoded content before distribution. A technically scannable code is still wrong if its Wi-Fi password, event date or URL contains a mistake.
Size guide by viewing distance
A widely used rule of thumb is that the code's width should be at least one tenth of the scanning distance. Denser codes, with long URLs or lots of data, need more.
| Where it is printed | Scanning distance | Minimum code size |
|---|---|---|
| Business card, label | 15–25 cm | 2 × 2 cm |
| Flyer, menu, table card | 30–50 cm | 3–5 cm |
| A4 poster at eye level | 1 m | 10 cm |
| Shop window, large poster | 2 m | 20 cm |
| Banner or billboard | 5 m+ | 50 cm+ |
Error correction and logos
Error correction adds redundant data so a code still reads when part of it is damaged or covered. Level L recovers about 7% of the code, M about 15%, Q about 25% and H about 30%. Higher levels make the pattern denser, so each module is smaller at the same printed size.
If you place a logo in the centre, use level H and keep the logo well under the recoverable area: in practice no more than about a fifth of the code's width. Never cover the three large square finder patterns in the corners, which scanners use to locate and orient the code. Test the final artwork, with the logo, on several phones.
Step-by-step: from generator to print shop
- Shorten the destination if possible. A short, clean URL produces a simpler pattern.
- Generate the code with Medium error correction, or High if a logo will be added.
- Export as SVG so it stays sharp at any print size.
- Place it in your design with a clear margin of at least four modules on every side.
- Print a proof at actual size on the same paper or material.
- Scan the proof with at least two phones, from the expected distance, under the lighting where it will hang.
- Confirm the decoded content with QR Code Reader or the phone preview before approving the print run.
Worked example: a conference poster
A researcher adds a QR code linking to their paper on an A0 conference poster. Delegates will scan from about 1.5 metres while standing in a crowded hall. They print the code at 15 cm square in black on a white panel, keep a generous margin from the poster's coloured background, and add the short URL in text underneath. Before the event, they print the poster at reduced size, scale the expected distance accordingly, and test with an older phone as well as a new one, because the oldest cameras in the room set the real limit.
Material and finishing pitfalls
- Gloss lamination and shiny vinyl reflect lights; prefer matte finishes.
- Curved surfaces such as bottles and cups distort the pattern; keep codes small relative to the curve, or place them on a flat label.
- Coloured or textured paper lowers contrast; test before committing.
- Low-resolution raster exports printed large become blurry; use SVG or a high-resolution PNG.
- Outdoor signs fade; use UV-resistant inks and check the code periodically.
Choosing what the code links to
A printed QR code is permanent, so the destination needs to last. Link to a page on a domain you control rather than a temporary campaign page or a third-party shortener that may disappear. If the content behind the code will change, for example a menu or an event schedule, keep the address the same and update the page it points to.
Make the landing page work well on phones: fast to load, readable without zooming, and clearly connected to the printed material so people know they are in the right place. If you want to measure scans, add a campaign parameter to the URL and track visits in your own analytics, keeping the URL short enough that the code stays simple to scan.
Trust and safety
People have become wary of QR codes because criminals sometimes stick fraudulent codes over genuine ones on parking meters, posters and restaurant tables, sending people to fake payment pages. Make your codes easy to trust: print the destination's short address in text near the code, use your own recognisable domain, and avoid asking for payment details immediately after a scan.
Check public codes regularly, especially outdoors, to make sure no one has covered them with stickers. For payment use cases, consider whether a QR code is the right approach at all, or whether a well-known payment terminal is safer for customers.
Colour, branding and design
Brand colours can work if contrast stays high. A dark navy or deep green code on white usually scans well; a pale yellow or light grey code does not. Keep the background light and the modules dark, and avoid gradients that pass through light colours. Rounded modules and custom corner shapes can look attractive but reduce reliability on some scanners, so test them on several phones.
Surround the code with a frame or call to action, such as Scan for the menu, to tell people why they should scan it. A code with no explanation is easy to ignore. Keep the frame outside the quiet zone so it does not interfere with scanning.
Quick answers
What file format should I give a printer? SVG or a high-resolution PNG. SVG stays perfectly sharp at any size.
Do QR codes expire? Static codes, like those MyFileNest generates, do not. The destination website can still change or go offline, so keep it maintained.
How can I test before printing thousands? Print one at actual size, then scan it with different phones from the real distance and lighting.
Worked example: a restaurant table card
A restaurant replaces printed menus with a QR code on each table. The first version uses the restaurant's pale gold brand colour on a black card and prints the code at 2 cm, to leave room for the logo. In testing, newer phones scan it slowly and older phones not at all. The second version prints the code in black on a white panel at 4 cm, with Scan to view our menu above it and the short web address below. Every phone tested scans it instantly from a seated position. The restaurant keeps its branding in the card design around the code rather than in the code itself, and checks the cards each week for damage or tampering.
QR codes on screens and slides
Codes shown on screens follow the same rules as printed ones, with a few extra considerations. Projectors and TVs can wash out contrast, so use pure black on white and avoid placing the code over a busy slide background. Keep the code on screen long enough for people to raise their phones, and make it large: for a presentation, a code filling at least a quarter of the slide height is easier to scan from the back of a room. On digital signage that rotates content, show the code for several seconds and repeat it. Always test from the back row of the actual room before an event.
Summary
Use dark modules on a light background, keep a clear quiet zone, size the code for the scanning distance, export as SVG for print and link to a stable page you control. Above all, test the real printed object with several phones in real conditions before printing in quantity, and check public codes regularly.