Guide

Why a QR code stops scanning

Five failure modes, and the test that catches them · Last updated 20 November 2026

Create a QR code →

A QR code that fails in the real world usually looks fine on the screen it was designed on. That gap is the whole problem: a monitor shows the code at whatever size the layout gives it, while a scanner sees a small, slightly blurred, unevenly lit square — and everything that made the design attractive fights against that.

In practice, codes fail for one of five reasons. They are listed here in the order that they actually cause trouble, and each one is cheap to rule out before you print anything.

A long tracking URL in the QR generator: a 37×37 grid at error correction H, with the verifier reporting Verified Scannable and 100% optical pass.
A long URL costs modules — this one is 37×37 at level H — but the built-in verifier still decodes it before you download.

1. Not enough contrast

Decoders work on luminance — how bright a pixel is — not on hue. A red module on a green background can look like a strong contrast to you and be nearly identical in brightness, which is what the scanner measures. Pale gradients make it worse: a beautiful pastel fill can be perfectly legible at the top of the code and too faint to resolve at the bottom.

The safe arrangement is dark modules on a light background, with a wide luminance gap. Inverted codes (light on dark) are readable by many phone cameras but not by all software scanners, and they are the arrangement most likely to fail on an older device or an in-app browser.

Fix: pick the darkest colour you are willing to use for the modules, keep the background near-white, and check the exported file on a phone rather than a monitor.

2. A logo that eats the error-correction budget

A centred logo erases modules, and the erased area is paid for out of the code's Reed–Solomon recovery budget. Cover too much and the code fails — but often only on short payloads, because those encode into smaller grids where the same logo covers proportionally more of the symbol.

Level H (about 30% recoverable) is the minimum for a logo, and the safe area is roughly 10% of the symbol's total area. The logo sizing guide has the measured numbers.

3. Modules too small for the print process

A QR code is a grid, and every module has to survive as a distinct shape. On a 300 dpi office laser printer, a 2 cm code with 45 modules gives each module about 0.13 mm — smaller than the toner spread, so adjacent modules bleed together and the grid turns into mush at the edges.

As a working rule: keep the printed module at 0.5 mm or larger, and the code at 2 cm across or larger for scanning at arm's length. Both constraints mean the same thing in practice — keep the payload short, or print the code bigger. A long vCard needs roughly twice the linear size of a short URL to be equally reliable.

4. No quiet zone

The white border around the symbol is not padding, it is part of the format: a scanner needs a clear margin to find the code's edges. Cropping it to make the design look tighter is one of the most common causes of "it scans on my phone but not on the poster".

Four modules is the specification's margin; two is the practical minimum for print. The generator's margin setting clamps to at least one module so a design cannot delete the margin entirely, but two or three is the safer choice when the code sits on a busy background.

5. Styling that breaks the finder patterns

The three large squares in the corners are finder patterns, and decoders locate a code by scanning for their distinctive 1:1:3:1:1 ratio of dark and light runs. Redesign them carelessly and the code becomes invisible to software even though it is perfectly legible to a human.

How to test before you print

Testing the design at the resolution a camera sees is the whole trick. A modern phone resolves roughly 640 pixels across the code; anything that survives being downsampled to that size, composited onto white, and decoded will survive most real conditions.

The generator runs that test on every render: the canvas is sampled down to a camera-like size, flattened onto white (so a transparent background cannot hide modules), and decoded. If that fails it retries at full resolution and then at a smaller sample, so a design is only reported as failing when it fails at every scale. The badge under the preview is that result.

Two things the badge cannot test: how your chosen print process renders a small module, and how a laminated or glossy surface reflects light. For those, print a copy at final size and scan it.

The cheapest extra test is a different camera. Share link, under the preview, copies an address that rebuilds the design — content, colours, eye shapes, quiet zone and logo settings — in someone else's browser, so a colleague can scan it from their own phone screen rather than from a screenshot you forwarded. One thing can be missing from that copy: a logo image too large to travel inside an address is left out of the link, and the note under the button says so. Everything else is rebuilt exactly, so a link without the logo is still a fair test of the code itself; the logo has to be checked on the proof or on a screenshot instead. Nothing is uploaded to make that work, so the link is only as private as anywhere else you would paste it.

Checklist before a print run

All of this is enforced as far as software can enforce it in the QrMyWay generator — level H with a logo, a module cap on the logo, a minimum margin, and a decode check on every render. The guides index lists the rest, and the about page describes how the measurements were taken.