How to 3D print a QR code that scans
An FDM-printed QR code almost always fails for the same three reasons: modules that are too small, low contrast, or a dark border touching the code.
1. Module size rules
A module is each little square of the QR. Its size depends on the available width and on how many modules the address needs. Longer addresses mean more, smaller modules.
- At 2 mm or more, a 0.4 mm nozzle draws each module with 5 lines: plenty of margin.
- Between 1.2 and 2 mm it may work, but any over-extrusion starts merging modules.
- Under 1.2 mm, an FDM printer cannot reproduce it cleanly.
The easiest way to get bigger modules is to shorten the address: a link shortener or a short address of your own matters more than a bigger plaque.
2. Contrast from color, not from relief
Relief alone is not enough: the shadow changes with the light and many scanners miss it. Use a light base and dark modules, and always dark modules on a light background: inverted QR codes do not scan on every phone.
3. More error correction is not always better
Level H recovers up to 30 % damage, but it needs more modules and makes them smaller. That is why this generator automatically picks the highest level that keeps modules at 2 mm or more, and never goes below M.
4. Keep the white margin
The scanner needs a light margin around the QR to find its three corners. A dark frame touching the code is a classic failure. On this site's plaques the frame never enters that margin.
5. Test before printing 20
Print one and scan it with two or three different phones (the iPhone camera, Google Lens and a budget Android) at 20, 40 and 60 cm, under the real lighting of the place.