QR Code 3D Print Generator
To 3D print a QR code, turn its dark squares into raised or engraved blocks on a flat plate, then print the plate in a light colour and the code in a dark one. Type a link, text or Wi-Fi details below, set the size, and download an STL or a two-colour 3MF.
How to 3D print a QR code
- 1
Type what it opens
A link, any text, or your Wi-Fi name and password (guests scan to join).
- 2
Set the size
Code width, base thickness and code height. Add a keychain hole or a label if you want one.
- 3
Test-scan it
Scan the flat code next to the 3D preview with your phone before you print.
- 4
Download and print
STL for one filament with a colour change, or the 3MF / two STLs for an AMS or MMU.
QR code STL generator settings
Every setting changes the preview right away. These are good starting points for a tag, a sign or a keychain.
| Code width | Size of the square code area, border included. 40 to 80 mm suits most tags; longer links need more width. |
|---|---|
| Square size | Shown under the preview. Keep each square at 1 mm or more (1.5 mm is safer) so a 0.4 mm nozzle prints it cleanly. |
| Border | The light quiet zone around the code, in squares. Scanners need it; 2 is a good minimum on a plate. |
| Base thickness | The plate under the code. 1.6 to 3 mm is stiff enough for a tag or keychain. |
| Code height | How far the code sticks up (Raised) or is cut in (Engraved). 0.6 to 1 mm is plenty with a colour change. |
| Error correction | Higher levels survive scratches and dirt but make the code denser. Medium is a good default. |
| Style | Raised: code on top of the plate. Engraved: the code is cut into the plate and filled by the second part, so the top is flat. |
| Keychain hole / label | A lug with a hole on the top edge, and a short line of text under the code, printed in the code colour. |
Print tips for a QR code that scans
Common starting points for an FDM printer with a 0.4 mm nozzle; your printer may need small changes.
| Colours | Dark code on a light base (black on white) scans best. Low-contrast pairs often fail to scan. |
|---|---|
| Colour change | With one filament, add a colour change (filament change / M600) at the height shown under the preview. With an AMS or MMU, load the 3MF and give each part its own filament. |
| Layer height | 0.12 to 0.16 mm keeps the square edges sharp. Make sure the code height is a whole number of layers. |
| Top layers | Use 4 or more solid top layers so the light base around the squares is closed and even. |
| Orientation | Print flat on the bed, code facing up. A smooth or textured PEI sheet both work. |
| Material | PLA is fine indoors. Use PETG or ASA for tags that live outside in the sun. |
Print more than a flat tag
Make free lettering with the 3D text generator, or let AI build a full 3D model from a sentence or a photo, with an STL download. The AI generators use credits; this QR tool does not.