How to create a QR code that works on screen and in print
What to review before printing or publishing a QR code to reduce scanning failures.
A QR code can work on a computer screen and fail after printing. The cause is usually contrast, margin, physical size, scanning distance or the amount of encoded content.
The most important step is to test the finished material, not only the isolated file. The code must survive printing, room lighting and different phone cameras.
Preserve contrast and a clear margin
The safest combination is a dark code on a light background. Color can work, but avoid similar tones and gradients that erase parts of the pattern. Visual effects should never make scanning harder.
Leave empty space around the code. Text, borders and illustrations touching the pattern make it harder for a camera to identify its boundaries. The margin is part of the function, not wasted space.
Match size to scanning distance
A business card is scanned nearby while a poster is viewed from farther away. Greater distance requires a larger code. Long content also creates denser patterns and needs more physical space.
For links, use a short, stable URL. It simplifies the pattern and campaign maintenance. If the destination may change, use an address you control and test the redirect before printing.
Customize logos carefully
A centered logo can remain recognizable without covering too much of the pattern. Preserve contrast around it and use suitable error correction. Customized dots and corners should be tested in several readers.
Do not rely only on the enlarged editor preview. Export the code, place it in the final design, print at real size and test with different phones and under realistic lighting.
Verify destination and trust
Scan the code before publishing and confirm every address, number, message or Wi-Fi credential. For links, make sure the page is secure, mobile-friendly and clearly matches what the user expected.
Keep the destination active after printing. If tracking is used, document which campaign belongs to each code and do not redirect an existing code to unrelated content.
Final checklist
- Use strong contrast and an empty margin.
- Choose size based on scanning distance.
- Prefer short content and a stable URL.
- Print a sample at actual size.
- Test with more than one phone and confirm the destination.
Put it into practice
QR Code Generator
Use the free tool and compare your result with this guide’s checklist.
References
External sources used to confirm concepts and best practices covered in this guide.