How we generate and test codes
This page explains how codes are made on this site, how we check them, and how we decide what to publish.
Generation happens in your browser
- QR codes are encoded with the open-source
qrcodelibrary. We draw the result ourselves, so finder patterns, timing patterns and the quiet zone always stay intact. - Barcodes are encoded with bwip-js, a JavaScript port of Terry Burton’s Barcode Writer in Pure PostScript. bwip-js is the only barcode engine we use.
- Decoding (the scanner and our self-checks) uses your browser’s built-in barcode detector where available, otherwise ZXing-C++ compiled to WebAssembly. Both are served from this site.
Exact versions and licences are listed on the open-source licences page.
How we check codes
We run an automated test suite on every change to the site. Over 500 unit and round-trip checks generate codes in every supported style and read them back with an independent decoder, and several hundred browser tests check the pages, downloads and accessibility on desktop and mobile.
Physical print tests: we haven’t yet published results from printed samples scanned with dedicated barcode scanners. Until we do, our checks show that a code is readable on screen, so always test your own printed codes before a large print run.
- Every input is validated before a code is drawn: allowed characters, lengths, check digits and GS1 syntax. We never change your data silently.
- After drawing, we decode the result locally and compare it with what you entered. If they don’t match, export is blocked.
- A digital decode shows that a code is readable. It is not a print-quality grade under ISO/IEC 15415 or 15416. For retail barcodes that must be certified, ask your GS1 member organisation about verification.
Standards
QR codes follow ISO/IEC 18004. DENSO WAVE, which invented the QR code, states that no licence is required to use QR codes that follow the JIS or ISO standards. Styled codes on this site stay within the standard’s structure. Where a design reduces scanning margin, we say so and test it.
How we write and source guides
Facts are taken from primary sources (standards bodies, GS1, ISBN agencies and RFCs) and cited with the date we accessed them. Results from our own testing are labelled “Our test” and link to the raw data.
Sources
- DENSO WAVE INCORPORATED, QR Code FAQ. Accessed 2026-11-28.
- DENSO WAVE INCORPORATED, QR Code patents. Accessed 2026-11-28.
Reviewed on by Richard Pryn.