QR Code Quality Checker
Upload a QR code and we analyze it on the spot — decoded status, QR type, readability, contrast, quiet zone, and image resolution — then tell you exactly how to fix any problems we find.
Upload your QR code to analyze
PNG, JPG, or WEBP — processed entirely in your browser
Click to browse or drag & drop
Your image is decoded in your browser. It is never uploaded to a server and nothing is stored.
How the analysis works
Your image is processed entirely in the browser: it is loaded as a local object URL, drawn to an off-screen <canvas>, and its pixels are read with getImageData(). Decoding is handled by jsQR, and the quality metrics below are computed from those same canvas pixels — nothing is uploaded or stored.
Contrast ratio
The checker estimates contrast as a luminance ratio between the darkest and lightest sampled pixels, using the WCAG-style formula (L_lighter + 0.05) / (L_darker + 0.05). There is no single formally mandated universal contrast threshold for QR codes in the ISO standard, so the 3:1 flag here is a practical floor that works for most cameras — not a hard specification limit. Higher is always better, and pure black on white (about 21:1) is the safest choice. Coloured codes on coloured backgrounds frequently fall below what scanners can reliably resolve.
Quiet zone (the 4-module border)
The ISO/IEC 18004 QR standard formally requires a quiet zone — a blank margin — at least 4 modules wide on every side of the code. The checker samples the border band of your image and flags it when too many dark pixels intrude into that margin. Trimming the quiet zone is one of the most common reasons real-world codes fail to scan, because scanners use that empty border to locate the code in the frame.
Resolution
Below roughly 200 pixels on a side, individual modules become too small for a camera sensor to resolve reliably. For print, generate the code as a vector SVG so it stays sharp at any size; the pixel check mainly matters for screen use and rasterised exports.
How to check a QR code
- Export or capture the code as an image. PNG works best. Screenshots and photos are fine provided they are sharp and well-lit.
- Upload it above. The analysis runs the moment the file is read — no button to press, and nothing leaves your browser.
- Review each check. The report grades decoded status, QR type, readability, contrast, quiet zone, and resolution, with a fix under any check that fails.
- Apply the fixes and re-check. Re-generate or re-capture using the guidance given, then upload the new image to confirm every check turns green.
- Print or publish with confidence. A code that passes every check is ready for real-world use.
What each check measures
Decoded
Whether a standard QR decoder can read the code at all. If this fails, the other checks help explain why.
Contrast
The brightness ratio between the dark and light modules. Below 3:1, scanners start to struggle; pure black on white is safest.
Quiet zone
The blank white margin around the code. The standard calls for at least four modules of quiet zone; cropping it off is a leading cause of failed scans.
Resolution
The pixel dimensions of the image. Below roughly 200px on a side, individual modules become too small to read reliably.
Troubleshooting
Everything fails on a photo of a screen
Screen photos introduce moiré, glare, and skew. Export the original image file instead, or screenshot the code directly.
Contrast fails on a branded colour scheme
Dark brand colours on light backgrounds can fall below the threshold. Darken the foreground, lighten the background, or fall back to black-on-white for the code itself.
Quiet zone fails after placing a logo
A logo placed in the centre is fine if error correction is high enough, but the surrounding white margin must stay intact. Re-export without cropping the border.
Resolution fails on a print-ready file
For print, generate the code as an SVG so it stays sharp at any size. The pixel check matters for screen use and rasterised exports; a vector file sidesteps it entirely.
Frequently asked questions
What contrast ratio do I need?
The checker flags contrast below 3:1 as a practical floor that works for most cameras, though there is no single formally mandated universal threshold in the ISO standard. Higher is always better, and pure black on white (about 21:1) is the safest choice. Coloured codes on coloured backgrounds frequently fall below what scanners can resolve.
How wide must the quiet zone be?
The ISO/IEC 18004 standard requires a quiet zone at least 4 modules wide on every side. The checker samples the border band and flags it when too many dark pixels intrude. Trimming this margin is one of the most common reasons real-world codes fail, because scanners use the empty border to locate the code.
Why does my code pass every check but still scan poorly on some phones?
The checks cover the main structural causes of failure, but real-world scanning also depends on the camera, angle, lighting, and distance. A code that passes here is ready for most situations; always proof on a real phone under the conditions people will actually use before a full print run.