3D printed QR code generator

Turn a link, some text or a Wi-Fi login into a QR code you can 3D print. Set the size in millimeters, raise or inset the code, add a key-ring hole, and download the STL or a two-colour 3MF.

Drawing the code

Good to know

A printed code scans when the dark and light parts differ enough and each module is big enough to print square. The plate here grows when your content needs more modules than the size can hold, and tells you. Scan the preview with your phone before you print: if the screen scans, the code is right.

How it works

  1. 1Paste a link, type some text, or enter a Wi-Fi network and its password.
  2. 2Set the size and the plate in millimeters. Raise the code or inset it, and add a key-ring hole or a caption if you want one.
  3. 3Scan the preview with your phone to check it, then download the STL, or the 3MF with the plate and the code as two bodies.
  4. 4Print it flat, code up. For one extruder, swap filament where the code starts; the panel gives the height.

How big to print a QR code

Size follows the content. A short link is a 25 by 25 code and prints well at 40 to 50 mm. A long link or a Wi-Fi login needs more modules, so the same plate has smaller ones. Modules under 0.8 mm do not print square with a 0.4 mm nozzle, so the plate grows instead; from about 1.2 mm they print without tuning.

To print smaller, shorten what you encode. A short link beats a long one, and lower error correction (L or M) needs fewer modules than Q or H. Higher levels survive scratches and a worn corner on a key ring, at the cost of size.

Keep the quiet zone. The standard asks for 4 clear modules round the code; phones often manage with 2 on a plain background, and fail when the code runs into a busy edge.

QR code STL, in one colour or two

The STL is one piece: the code stands up from the plate, or sits in it as pockets. One colour scans badly, because a phone reads contrast, not height. Print the plate, then change filament at the layer where the code starts. The code is a whole number of layers if its height is a multiple of your layer height: 0.8 mm is four layers at 0.2 mm.

The 3MF holds the plate and the code as two bodies that fit exactly. In a slicer with an AMS, MMU or a tool changer, give each body its own filament. With the code inset, the two print as a flush inlay: flat on top, and the cleanest to scan.

Black on white scans best. Any dark code on a light plate works: navy on yellow, dark green on cream. A light code on a dark plate works on most phones, though not every scanner reads it. Shiny silk filament and translucent plates give glare and lose contrast, so use matte, opaque ones.

About STL

STL (Stereolithography). The default 3D printing format since 1987: a bare list of triangles. Every slicer reads it, but it has no units, no color, and no parts.

Units: None in the file. Slicers read the numbers as millimeters. Up axis: Z. Opens in Bambu Studio, PrusaSlicer, Cura, OrcaSlicer, and Blender.

Questions

How big should I print a QR code?
Big enough that each module is at least 0.8 mm, and 1.2 mm or more if you can. For a short link that is a plate of 40 to 50 mm. The panel shows the module size as you type, and the plate grows when it would be too fine. To scan from further away, allow about a tenth of the distance: 20 cm across for a sign read from 2 m.
Which colours scan?
A dark code on a light plate, the more contrast the better: black on white is the safe pick. Avoid two colours of similar brightness, such as red on green, and avoid silk or translucent filament.
How do I print it in two colours with one extruder?
Use the raised STL and add a filament change at the height where the code starts, which is the plate thickness. In PrusaSlicer, OrcaSlicer and Bambu Studio, move the layer slider to that height and add a pause or colour change; in Cura, use the Filament Change script. The printer stops, you swap, and the code prints in the second colour.
Can I print a Wi-Fi QR code?
Yes. Pick Wi-Fi, enter the network name and password, and guests join by scanning the print. The password is readable by anyone who scans it, so use it for a guest network. Nothing you type leaves your browser.
Will the printed code keep working?
Yes. The code holds the link itself, not a redirect through us, so it works as long as the link does. If you may change where it points, encode a short link you control.
Can I laser engrave it instead?
Not from this page yet: it makes solids. In Voloom, a laser prompt such as “a 60 mm plywood tag engraved with a QR code for this link” gives you cut files.
Is the QR code generator free?
Yes. You get 3 runs a month without an account. Sign in with your email, free, and there is no limit.

Related tools

All tools