QR Code Tester

Upload a QR code and find out whether it can be decoded correctly — a quick pass/fail check before you commit it to print. For a deeper analysis with contrast and quiet-zone checks, use the Quality Checker.

Upload a QR code to test

PNG, JPG, or WEBP — processed entirely in your browser

Click to browse or drag & drop

How the test works

The tester runs the same local decode pipeline used by the scanner and decoder. Your image is loaded as a local object URL (URL.createObjectURL()), drawn to an off-screen <canvas>, and read by jsQR entirely in your browser — no file is uploaded and nothing is transmitted.

A green Test passed means a standard QR decoder successfully read the pattern and recovered its data; a red Test failed means no code could be detected. The decoded content is shown so you can confirm the code points where you intend.

This is a structural readability check under good conditions — a strong signal that the pattern is valid, not a guarantee that every phone in every light will read it instantly. For contrast, quiet-zone, and resolution measurements, use the Quality Checker.

Algorithmically, a pass means the decoder completed every stage of the QR reading pipeline against your image. jsQR first locates the three finder patterns — the square-in-square markers in three corners — and uses them to compute the code's orientation and perspective. It then samples the module grid, binarising each cell against a local threshold to recover the raw bit matrix, and splits the bits into data codewords and Reed-Solomon error-correction codewords. The error-correction pass solves the syndromes to repair any misread modules; only if that reconstruction succeeds and the payload's checksum validates does the test report a pass. A failure at any stage — finder detection, grid sampling, or error correction — returns a fail, which is why blurry, low-contrast, or cropped images so often fall at the first hurdle: the finder patterns cannot be isolated, so the sampling grid is never built.

How to test a QR code

  1. Get the code as an image. Export it from your generator as a PNG, or screenshot it. SVG files need to be rasterised to PNG or JPG first.
  2. Upload it above. Drag the file onto the upload box or click to browse. The test runs locally in your browser.
  3. Read the verdict. A green Test passed means the code decodes cleanly and is safe to print or publish. A red Test failed means it could not be read.
  4. Verify the content. When the test passes, the decoded text is shown so you can confirm it points where you expect — a common mistake is printing a code that links to the wrong URL.
  5. Diagnose failures. If it fails, re-capture or re-export a sharper, higher-contrast image, then run the Quality Checker for a full breakdown.

When to test, and what a pass really means

Test every code before you print it in bulk, ship it on packaging, or publish it publicly. Reprints and reissues are expensive; a five-second test avoids them. A pass here confirms the code is structurally valid and decodes under good conditions — it is a strong signal, not a guarantee that every phone in every light will read it instantly.

  • • A pass means the data is intact and the pattern is readable by a standard QR decoder.
  • • It does not measure contrast, quiet zone, or print size — for those, use the Quality Checker.
  • • Always test the final printed piece too, not just the on-screen file. Ink spread and paper texture change how a code scans in the real world.

Troubleshooting

The test fails on screen but the code looks fine

The screenshot may be too small or compressed. Re-export the original PNG at a higher resolution and test again. A code under ~200px on a side often fails to decode.

It passes here but fails on some phones

Older or lower-end cameras struggle with low contrast, small modules, or codes placed behind glass. Improve contrast, enlarge the code, and add a wider quiet zone, then re-test.

The decoded content is wrong

The code itself is valid, but it encodes the wrong data — a typo in the URL, an old link, or a draft version. Re-generate from the correct source and replace the code before printing.

The printed code fails but the file passed

Printing can introduce ink spread, smudging, or a coloured background that reduces contrast. Test a physical proof under realistic lighting, and if needed regenerate at a larger size with higher error correction.

Privacy

Testing runs entirely in your browser. Your image is never uploaded to a server, stored, or shared.

Frequently asked questions

What does a pass actually guarantee?

A pass confirms the code is structurally valid and decodes under good conditions. It is a strong signal that the pattern is readable, not a guarantee that every phone in every light will read it instantly. For contrast, quiet-zone, and resolution measurements, use the Quality Checker.

Why does it pass on screen but fail when printed?

Printing can introduce ink spread, smudging, or a coloured background that reduces contrast. A code that decodes as a screen image may fail on paper. Always test a physical proof under realistic lighting, and if needed regenerate at a larger size with higher error correction.

Can it test SVG files?

Not directly. SVG is a vector format; the tester reads raster pixels from a canvas. Export or rasterise the SVG to PNG first, then upload the PNG to test it. For print readiness, the SVG itself is the right output — the pixel test mainly matters for screen use.