QR codes are generally very reliable, but design and placement still matter. A code that looks perfect on a computer screen may become difficult to scan after it is resized, printed, placed on a busy background or viewed from too far away.
The best QR codes are not simply attractive. They are easy for a phone camera to detect, large enough for the expected scanning distance and clearly separated from the surrounding design.
Whether you are creating a QR code for a business card, restaurant menu, product package, poster or website, the following best practices can help you avoid common scanning problems.
1. Use strong contrast
Contrast is one of the most important factors in QR code readability.
The safest combination is a dark QR pattern on a light background.
Traditional black on white works extremely well, but you are not limited to those colors. Dark blue, green, red, brown and other dark brand colors can also work when paired with a sufficiently light background.
Avoid combinations such as:
- light gray on white,
- yellow on white,
- pastel colors on similar backgrounds,
- or two colors with nearly identical brightness.
A QR code can be colorful, but the camera must still clearly distinguish the pattern from the background.
2. Prefer dark-on-light QR codes
Most QR scanners are optimized for a darker pattern on a lighter background.
Inverted QR codes — light modules on a dark background — may work on many modern phones, but they can reduce compatibility in some situations.
If maximum reliability is your priority, use:
- a dark foreground,
- a light background,
- and strong separation between the two.
Creative designs are possible, but reliability should come before visual experimentation.
3. Leave a quiet zone around the QR code
The empty margin around a QR code is called the quiet zone.
It gives the scanner a clear boundary between the QR code and surrounding text, photos, borders and other graphics.
Do not place the QR code directly against:
- text,
- images,
- borders,
- patterns,
- or the edge of a printed design.
Even if the QR code itself is perfectly generated, a cluttered area around it can make detection more difficult.
4. Make the QR code large enough
A QR code that is too small can become difficult to scan, especially after printing.
The correct size depends on several factors:
- how much information is encoded,
- how far away people will scan it,
- the quality of the printer or display,
- and the environment where it will be used.
A business card QR code can be relatively small because the phone will be close to it.
A QR code on a poster, shop window or billboard needs to be much larger because the scanning distance increases.
5. Increase the size as scanning distance increases
A simple rule is that the farther away people are expected to scan the code, the larger the QR code should be.
For example:
| Use Case | Typical Scanning Distance | Recommended Approach |
|---|---|---|
| Business card | Very close | Small but clearly printed |
| Restaurant table | Close | Medium and easy to reach |
| Poster | Several feet away | Larger code |
| Shop window | Variable | Large enough to scan from outside |
| Billboard | Far away | Very large and visually simple |
Always test at the actual expected distance instead of relying only on how the design looks on your computer.
6. Keep the destination simple when possible
The amount of data encoded inside a QR code affects how dense the pattern becomes.
A short website URL usually creates a simpler QR pattern than a very long URL containing many parameters.
If you control your website, using a short, permanent URL can make the code cleaner and easier to manage.
For example:
example.com/menu
is generally preferable to a very long destination URL with dozens of parameters when both lead to the same content.
7. Use a stable URL
If you plan to print a QR code on long-lasting materials, use a destination you expect to keep.
A static QR code cannot be edited after it has been created.
If the code points to:
yourcompany.com/catalog
you can update the content of that page while keeping the same QR code.
This is often more reliable than using temporary page addresses that may disappear later.
8. Add a clear call to action
A QR code should not force users to guess what will happen after they scan it.
Add a short instruction explaining its purpose.
Examples include:
- Scan to view the menu
- Scan to connect to WiFi
- Scan to save my contact
- Scan for directions
- Scan to leave a review
- Scan to download the guide
This is especially useful when several QR codes appear in the same place.
9. Place the QR code where people can actually scan it
A QR code should be positioned where users can comfortably point a phone at it.
Avoid placing codes:
- too high on a wall,
- too low near the floor,
- around sharp corners,
- behind glass with heavy reflections,
- on constantly moving objects,
- or in places where people cannot stop safely.
The best placement is visible, accessible and appropriate for the action you want the user to take.
10. Avoid curved surfaces when possible
QR codes work best on flat surfaces.
If a code is wrapped around a small bottle, cup, tube or another strongly curved object, the camera may see a distorted pattern.
For packaging, try to place the QR code on the flattest available area.
If a curved surface is unavoidable, keep the code relatively small compared with the curve and test the actual physical package.
11. Be careful with reflective materials
Glossy packaging, metal surfaces, glass and laminated materials can produce reflections that hide parts of the QR pattern.
This does not mean QR codes cannot be used on these surfaces, but testing becomes more important.
Check the code:
- under bright indoor lights,
- near windows,
- in daylight,
- and from several angles.
12. Avoid stretching or distorting the code
A QR code should remain square.
When resizing an image inside design software, make sure the width and height scale together.
Do not stretch the QR code horizontally or vertically to make it fit a particular space.
Distortion changes the geometry of the modules and can reduce scanning reliability.
13. Use high-quality files
A QR code is made from sharp geometric shapes. Blurring those shapes can make the pattern harder for a scanner to interpret.
Avoid:
- screenshots,
- tiny JPEG images,
- heavily compressed graphics,
- or files that have been repeatedly resized.
Instead, download the original QR code in a high-quality format.
14. Use PNG for common digital uses
PNG is a practical choice for websites, presentations, documents, social media graphics and many smaller print jobs.
It preserves sharp edges better than formats designed primarily for photographs.
Choose a sufficiently high-resolution PNG if the code will be printed.
15. Use SVG for flexible printing
SVG is often the better choice for professional design and large-format printing.
Because SVG is a vector format, it can be resized without becoming pixelated.
This makes it useful for:
- business cards,
- posters,
- signage,
- packaging,
- banners,
- and other print materials.
BestQR allows QR codes to be downloaded as high-quality PNG or SVG files.
16. Add logos carefully
A logo can make your QR code more recognizable, but it also covers part of the QR pattern.
Keep the logo:
- centered,
- reasonably small,
- clear and simple,
- and away from the large corner patterns.
QR code error correction makes logo placement possible, but that does not mean you can safely cover an unlimited amount of the code.
For more detail, see our guide on how to make a QR code with a logo.
17. Don't cover the finder patterns
The three large squares located in the corners of a QR code are called finder patterns.
They help the camera recognize the code and determine its orientation.
Avoid:
- placing a logo over them,
- hiding them behind graphics,
- or modifying them so heavily that they are difficult to recognize.
They can be styled, but they should remain visually clear.
18. Don't make customization too aggressive
Modern QR code generators allow you to change:
- colors,
- dot shapes,
- corner shapes,
- backgrounds,
- and logos.
Customization can make the QR code match your brand, but every change adds another opportunity to reduce readability.
A good design balances branding with simplicity.
The best customized QR code is not the most complicated one. It is the one that looks good and still scans instantly.
19. Avoid busy photographic backgrounds
Placing a QR code directly over a photograph can reduce contrast around parts of the pattern.
If you want to place a code over an image, consider adding a solid light-colored area behind it.
This creates visual separation and preserves the quiet zone.
20. Test before printing
Testing is probably the most important QR code best practice.
Before ordering printed materials, scan the final design from your computer screen and verify the destination.
Then print a sample at the actual size and scan that as well.
This helps catch problems caused by:
- resizing,
- poor print quality,
- low contrast,
- incorrect URLs,
- or design changes made after the original test.
21. Test with more than one phone
A QR code may scan easily on one device but less reliably on another.
For important campaigns or large print runs, test the final code using several devices if possible.
Ideally, try:
- an iPhone,
- an Android phone,
- a newer device,
- and an older device.
You do not need dozens of tests, but a few different phones provide more confidence than testing only once.
22. Test in realistic conditions
If the QR code will be used outdoors, test it outdoors.
If it will be printed on a restaurant table, test it while the code is lying flat on a table.
If it will appear behind a shop window, test it through the actual glass.
Real-world conditions often reveal issues that are impossible to see while looking at a design file.
23. Make sure the destination is mobile-friendly
A technically perfect QR code can still create a poor experience if the destination is difficult to use.
Almost every QR code scan happens on a mobile device, so the destination should be designed for smartphones.
Check that:
- text is readable without zooming,
- buttons are easy to tap,
- the page loads quickly,
- navigation works on a small screen,
- and important content appears clearly.
24. Verify the destination before publishing
Always scan the QR code and confirm that it opens exactly what you intended.
Common mistakes include:
- typing the URL incorrectly,
- linking to a private page,
- using a temporary preview URL,
- forgetting HTTPS,
- or linking to a page that later moves.
A few seconds of checking can prevent a long-term problem on printed materials.
25. Use QR codes for one clear purpose
A QR code works best when the user immediately understands what it does.
Instead of trying to make one code represent several unrelated actions, give it a clear role.
For example:
- one code for the menu,
- one code for WiFi,
- one code for reviews,
- or one code for contact details.
Clear purpose usually creates a better user experience.
QR code best practices for business cards
For business cards:
- keep the code large enough to print clearly,
- leave enough space around it,
- use a high-quality file,
- add a short call to action,
- and test a physical sample before printing the full batch.
You can use a vCard QR code to let people save your contact details directly.
QR code best practices for restaurants
Restaurant codes should be easy to scan from a seated position and should lead to pages designed for mobile phones.
Common restaurant uses include:
- digital menus,
- WiFi access,
- reviews,
- reservations,
- and online ordering.
Table codes should also be durable enough to remain clear after repeated cleaning and everyday use.
QR code best practices for posters
Poster QR codes need to be larger because they are usually scanned from farther away.
Keep the surrounding area simple and add a clear reason to scan.
Avoid placing the code at the very bottom of a large poster where it may be difficult to reach with a phone.
QR code best practices for product packaging
Packaging presents additional challenges such as curved surfaces, glossy finishes and small available spaces.
Whenever possible:
- use a flat area,
- avoid folds and seams,
- maintain high contrast,
- and test the actual finished package rather than only the digital artwork.
Frequently Asked Questions
What is the best color for a QR code?
Black on white is the safest traditional combination, but other colors can work well. The most important factor is strong contrast between a darker QR pattern and a lighter background.
Can a QR code be too small?
Yes. Extremely small QR codes can become difficult to scan, particularly after printing. The appropriate size depends on the scanning distance, print quality and complexity of the code.
Can I put a QR code on a colored background?
Yes, as long as there is enough contrast between the QR pattern and the background. Light, simple backgrounds are generally easier to work with.
Can QR codes be printed in color?
Yes. QR codes do not need to be black and white. Brand colors can be used when the final combination remains easy for cameras to distinguish.
Should a QR code have white space around it?
Yes. The clear margin around a QR code helps scanners detect its boundaries and should not be removed.
Can I resize a QR code?
Yes, but keep it square and avoid making raster images so large that they become blurry. SVG is useful when you need to resize a code significantly.
Should I test my QR code after printing?
Absolutely. A final physical test is one of the best ways to make sure your QR code works in its real environment.
A reliable QR code does not need to be complicated. Strong contrast, enough white space, an appropriate size and a clear destination solve most common problems.
Customize the design when it supports your brand, but always prioritize scanning reliability. Most importantly, test the final QR code after every major design change and once again after printing.
Ready to create yours? Use the BestQR QR code generator to customize colors, shapes and logos, then download a high-quality PNG or SVG for digital or printed use.