How these QR codes still scan
Every art style and puzzle on this site is a working QR code. These are the rules that keep them scanning, with live examples that your browser checks as you read.
The check under each example is the same one the generator runs before it lets you download: your browser’s own QR reader where it has one, otherwise ZXing compiled to WebAssembly, on the full image, at half size, and at a third of the size with a slight blur. Nothing is sent anywhere.
A QR code is a maze already
A QR code is a square grid of dark and light modules. The address of this site, at the highest error-correction level, makes a version 4 code: 33 modules on a side, plus a margin of 4 light modules all round.
Read the light modules as paths and the dark ones as hedges, and you have a maze. The code doesn’t have to change for that. The maze generator adds a garden on top: lettered gates on the edge, a fountain near the middle, and hedges drawn over the dark modules.
The other puzzles work the same way. A crossword writes its answers into runs of light modules. A word search fills them with letters. In Fences, the solver draws a loop along their edges. The dark modules stay dark, so the code underneath still reads.
The error-correction budget
QR codes carry Reed-Solomon error correction in four levels. At level H, the highest, about 30% of the code’s bytes can be wrong and the data still comes back. Every art style and puzzle here uses level H.
Version 4 at level H holds 100 bytes in 4 blocks of 25. In each block, 9 bytes are data and 16 are error correction, which is enough to fix up to 8 wrong bytes per block. Each data module belongs to exactly one byte, so flipping one module damages at most one byte.
That repair capacity is a budget, and a design can spend it on purpose. The maze spends it on gates. When the light paths don’t already join a gate to the fountain, the generator turns up to 4 dark modules into paths, never in the corner squares or the other fixed patterns. Four flipped modules damage at most 4 bytes. Even if all 4 land in the same block, that is half of what the block can fix.
Pencil marks on a solved puzzle spend the budget too, which is why every puzzle is tested filled in as well as blank (see the last section).
Why the corner squares stay solid
The three big squares in the corners are finder patterns. A decoder looks for them before it reads anything else, by scanning lines of pixels for a run of dark, light, dark, light, dark in the ratio 1 : 1 : 3 : 1 : 1. That ratio is how it tells a finder from ordinary data, and the three finders tell it where the code is, how big it is and which way up.
Error correction can’t help here. The finders carry no data, so there is nothing to repair, and if the decoder can’t find them it never gets as far as error correction.
A popular decoration is a ring or other detail inside the corner squares. The second example below adds one thin white ring inside the centre of each. To the eye it is the same code. To a decoder, a line through the centre now reads dark, light, dark, light, dark, light, dark, light, dark, and the 1 : 1 : 3 : 1 : 1 pattern is gone.
In our scan suite this ringed code decodes at none of the 25 sizes, in either decoder, while the plain one decodes at all 25. So every style draws the corner squares, and the smaller alignment square near the opposite corner, as solid shapes with nothing inside them.
Module centres
Once a decoder has found the grid, it doesn’t study each module. It turns the image into black and white and reads one point per module: the centre. Anything drawn away from the centre matters much less.
That leaves room for decoration, and the puzzles depend on it. Puzzle letters and digits sit low in the cell, with the baseline at 93% of its height, so the middle stays clean. The pencil line of a solved maze runs a quarter of a module up and left of the centres. Word-search rings are centred on the low letters, not on the modules.
The two codes below have the same letter on every light data module, in the same size and colour. In the first, the letters sit low, as on our word search. In the second, they are centred. In our scan suite the first decodes at all 25 sizes; the centred one decodes at 2 of 25 in ZXing and none in jsQR, and fails the scan check. Some built-in readers are more forgiving: Chrome on a Mac, for one, still reads the centred version, so the live check below may pass in your browser. A code has to work in the weaker readers too, so the rule stays.
Dark areas have the opposite rule: nothing lighter inside them. A thin seam or highlight inside a run of dark modules can be read as a light module. So every style fills each run of dark modules as one flat shape, overlapping a fraction of a pixel at the seams, and the puzzles draw their pencil marks first and the dark fill on top.
How each style was tested
Every style and puzzle goes through a scan suite before it ships. The suite renders it at 900 × 900 px for four links: a short one (34 bytes, version 4), a medium one (66 bytes, version 8), one with Japanese characters (24 bytes of UTF-8, version 3) and a long one (300 bytes, version 18), each with two seeds. The three styles that take a picture are also drawn over a flat white, grey and black picture, so the modules alone have to carry the code.
Each render is scaled to 25 widths, from 300 to 900 px in steps of 25, and decoded by two independent decoders: ZXing (zxing-cpp compiled to WebAssembly) and jsQR (written in JavaScript). On top of that come a 300 px copy blurred by 0.7 px, the generator’s own scan check, and a decode of the 1,600 px PNG that the download button gives you. To pass, ZXing must read at least 24 of the 25 widths, either decoder must read the blurred copy, and the scan check and the 1,600 px decode must both succeed.
In the run of 5 December 2026, 71 style renders went through. ZXing read 1,773 of the 1,775 scaled copies: 69 renders at all 25 widths, and Heart at 24 of 25 for the medium link, with both seeds. jsQR read 1,680. It is the weaker decoder on busy images: City from above dropped to 7 of 25 on one seed, and Colour halftone over a solid black picture to 1 of 25. Every render passed the blurred check, the scan check and the 1,600 px decode.
Long links make denser codes with smaller modules, so most styles have a version cap. The 300-byte link is above the cap of 9 of the 10 styles, so those renders are skipped, and the generator says the link is too long for that style instead of drawing it. Colour halftone has no cap and read at 25 of 25 in ZXing with the long link.
Puzzles are tested twice: blank, and filled in by a simulated pencil (the maze route drawn, the crossword answers written in, the words circled, the Fences loop drawn). Four puzzles, three links, two seeds, blank and filled make 48 renders. ZXing read all 48 at all 25 widths. jsQR read 1,191 of 1,200; its lowest was 19 of 25, for a filled word search.
This is a simulation. A rendered image is cleaner than a phone photo of paper under a kitchen light, and two decoders are not every phone. Treat these numbers as the bar the designs have to clear, and before you print a hundred copies, print one and scan it with a couple of phones.
Make your own: Art styles in the generator · Print & Play puzzles · The gallery