guide

How to test a QR Code before printing

Published by Malven Technologies · Updated 2026-11-12

Test the finished file, then a printed sample, on at least two different phones, at the real distance, in the real lighting, and confirm each scan opens the correct page. A code that scans once on your own screen has not been tested. Print proofs at the final size on the real material before you order the run.

A QR Code that cannot be scanned cannot be corrected after printing: if the design or link is wrong, you reprint. Testing takes a few minutes and costs little compared with that. This article gives you a repeatable protocol and a simple log so the result is evidence instead of a feeling.

What we have and have not tested. Our own tests of StyloQR output used a software decoder (OpenCV's QR detector) on images we degraded with blur and noise. We did not run controlled tests on physical phones, printers or paper. The protocol below is a method for you to apply with your own devices and materials, not a set of results we measured on hardware.

Why testing on your own screen is not enough

A scan on your monitor shows that the data is correct. It does not show that the code survives printing. Print and real use add things a screen does not:

A static QR Code contains its data directly, so a mistake in the link or text is permanent once printed (see static vs dynamic). That is the strongest argument for testing the content as well as the picture.

What you need

Step 1: Test the content

Before looking at the image, decide what the code should do, then check it does that.

  1. Scan the file on screen and read the full result (most camera apps show it before opening).
  2. Compare the result with your source, character by character for links.
  3. Open the link on a phone using mobile data, not just your office Wi-Fi, to catch pages that only work on a private network.
  4. Check the destination renders properly on a small screen and is not behind a login the audience does not have.
  5. For a Wi-Fi code, confirm the phone joins the network. For a contact, confirm the fields saved correctly. For a calendar entry, check the date, time and time zone.

If you generate many codes from a list, scan a sample from the start, middle and end, and check that each opens its own row's destination (see bulk QR Codes from a CSV).

Step 2: Test the image on screen

Scan the file at different on-screen sizes and from a few angles. Zoom the file out until it is about the size you plan to print, hold the phone at the intended distance and scan. If the screen is bright and glossy, glare may cause failures that will not apply to paper; note them, but do not treat them as proof of a print problem.

Step 3: Test with more than one phone

Cameras differ in lens, focus speed, sensor and software. Operating system versions differ in how they detect QR Codes, and some devices need an app or a camera setting to scan. Because of this, a pass on one phone is weak evidence.

When a code scans on one phone but struggles on another, treat that as a warning. It is likely marginal, and a different phone, light or print run could push it over.

Step 4: Test distance, angle and lighting

Record the real conditions for your use, then deliberately stress them slightly beyond that.

VariableHow to testWhat failing suggests
DistanceScan at the intended distance, then about 25% farther and closerModules too small: enlarge or shorten the link
AngleScan from about 30 degrees off to each side and from belowCode too small or placement poor
RotationRotate the phone and the pageRarely a problem; a failure here suggests damage or a finder pattern issue
Dim lightScan in a dim roomLow contrast or slow focus: raise contrast, increase size
Bright or direct lightScan near a window or under a strong lampGlare: matte finish, move the code, tilt the sign
ShadowCast your hand or the phone's shadow across the codeMarginal contrast
MovementScan while moving slightly, as someone in a queue wouldNeeds larger modules or higher contrast

Use a tape measure for distance. People tend to guess poorly, and a poster viewed from 2 m is a very different test from one held at 30 cm.

Step 5: Test contrast and color

Scanners must separate dark modules from the light background. Dark on light with a big brightness gap is safest; pale dots on a white background, or colors with similar brightness, fail quickly. Our software tests found that very low-contrast pairs (such as medium gray, light gray or pale yellow on white) were not read under blur and noise, while black or dark navy on white were. That is a software result, but it matches the guidance to prioritize brightness difference over hue; see QR Code colors and contrast.

Practical checks:

Step 6: Test the quiet zone and surroundings

Look at the margin around the code on the real layout, not on the generator preview. DENSO WAVE specifies four modules of blank margin on all sides. Check that:

Step 7: Test different print sizes

When you are unsure of the right size, do not guess: print the same code at three sizes, for example the planned size, one step smaller and one step larger, on the same stock. Scan each from the real distance. The smallest size that scans reliably on every phone is your floor; choose a size comfortably above it, not at it. Our size guide explains how to compute module size so that you can compare sizes sensibly. A code with a longer link is denser, so test at the size for that link, not for a different one.

Step 8: Test a printed sample

Printing the proof is the step that most often reveals problems.

  1. Print at 100% scale (not “fit to page”), on the actual stock or a close match.
  2. If you use a print shop, ask for a physical proof or a short test run with the same settings. A PDF proof on a screen does not test ink or material.
  3. Scan the printed sample with every phone from your list, at the real distance and in the real light.
  4. For curved, glossy or textured items, test on the real object or a sample of it.
  5. Scan a photocopy or a worn copy for a rough sense of how it copes with damage, if wear is likely (for example, stickers on equipment).

If the file is a PNG, check it was not scaled up: pixelated or blurred edges at the printer are a common cause of failures. See PNG vs SVG vs PDF.

Common failures and what to do

What you seeLikely causeFix
Scans on one phone onlyMarginal size or contrastEnlarge, shorten the link, increase contrast
Scans on screen, not on paperModules too small, ink spread, soft PNGLarger print, vector file, matte stock
Fails only near a windowGlare on glossy materialMatte finish, change position
Fails only far awayModules too small for the distanceLarger code or shorter link
Fails with a logo, scans withoutLogo uses error correction margin; denser gridSmaller logo, shorter link or no logo
Scans but opens the wrong pageWrong link, spreadsheet row errorRegenerate and retest; nothing can be edited after printing
Scans slowlyDense code, low contrast, poor lightSimplify and enlarge

The full diagnosis, in the order we would try things, is in QR Code not scanning. For logo-related failures see adding a logo without breaking scans.

A repeatable test protocol

Use this every time, for every print job. It takes about fifteen minutes for a simple case.

  1. Write down the expected destination and the intended scanning distance.
  2. Generate the code. In StyloQR, the free web generator shows a contrast warning as you choose colors, and exports PNG or SVG.
  3. Scan the file on screen on two phones. Compare the result to the expected destination.
  4. Open the link on mobile data.
  5. Print a proof at 100% on the real stock (three sizes if size is uncertain).
  6. Scan each proof with every phone at the intended distance, then at roughly 25% farther, and from an angle.
  7. Scan in the real lighting and under glare, if the code will be near windows or lights.
  8. Record every result in the log. Any failure is a result, not an accident; fix the cause and run the failing tests again.
  9. Approve only when every phone passes at the intended distance on the printed proof.
  10. Keep the approved proof. Compare it with the first copies from the full print run.

Test log

Phone / appMediumSizeDistanceLightResultOpens correct page?
Phone A, camera appScreen-30 cmOfficePass / failYes / no
Phone B, camera appProof3 cm60 cmWindowPass / failYes / no

Two example rows are shown; add a row for every combination you actually test. Over several jobs you will learn the margins that your printer and stock require.

What testing cannot cover

Even a thorough test samples only the phones and conditions you tried. It cannot guarantee scanning on every device, every print run or after wear. Leave margin: a larger code, a shorter link, strong contrast. Add a short readable URL near the code as a fallback. And because StyloQR makes static codes, the test must also confirm the content is final, as there is no way to redirect or edit it after printing.

Conclusion

Treat testing as part of the print job, not an extra. Check the content, then scan a printed proof on more than one phone at the real distance and in real light, and keep the log. If anything fails, fix the cause and rerun that test rather than hoping it works the next time.

Frequently asked questions

How many phones should I test a QR Code on?

At least two, preferably different brands or operating systems, plus an older or lower-end device if your audience may use one. One passing phone is weak evidence, because cameras and scanning software differ.

Do I need to test a printed copy or is the screen enough?

Test a printed copy. A screen scan confirms the data, but printing changes module size, edge sharpness, contrast and glare. Print the proof at 100% scale on the real material.

How far away should I test a QR Code from?

From the real scanning distance, measured with a tape measure, then about 25% farther as a safety margin. People scan posters, table tents and cards at very different distances.

What if a QR Code scans on some phones but not others?

Treat it as marginal. Make the code larger, shorten the link, raise contrast, remove or shrink a logo, and test again. Do not print until every test phone passes.

Can I test a QR Code with a free tool?

Yes. Any phone camera works, and the StyloQR Chrome extension includes a webcam reader (it uses Chrome's BarcodeDetector and turns on the camera only when you click Activate camera). A webcam test is useful, but not a replacement for scanning a printed proof on phones.

Have you tested StyloQR codes on real phones?

Not in controlled tests. Our published results come from a software decoder on degraded images. The protocol on this page is designed for you to run on your own devices and materials.

References

Try StyloQR free

Install the Chrome extension. Single QR Codes are free; Pro is a one-time $9.90 and adds batches, animation, history, and gradients.

Add to Chrome — it's free