3D Printed QR Code: From SVG to a Print That Scans
A 3D printed QR code works when it is printed in two colors: dark squares on a light base, flat and matte. A code that is only raised or sunk in one color depends on shadows and scans badly. This page makes the code and gives you a free SVG in plain filled shapes. Your CAD program or slicer turns that outline into a solid. It does not export an STL: the SVG is the step before it.
Loading…
Everything your printer asks for in one file: PDF with crop marks & 3 mm bleed, vector EPS and a 300 DPI PNG proof.
Free forever · No sign-up · No watermark
Want to edit the destination later and track scans?
From link to printed code in three steps
- 01
Paste the link. Keep it short, or make a dynamic code, which always holds the same short link: 25 squares per side at Low error correction. Fewer squares mean bigger squares, and bigger squares print cleanly.
- 02
Keep the pattern on Square with solid colors and no frame, then download the SVG. In that file the dark squares are one plain shape and the background square is another.
- 03
Import the SVG into Tinkercad, Fusion or Blender and extrude the squares 0.6 to 1 mm on top of a light base plate, or use the SVG emboss tool in PrusaSlicer 2.7 or later. Print the base in a light color and the squares in a dark one, then scan it.
Where people use it
Keychains and tags
A tag for a bag, a dog collar or a set of keys that opens a contact page or a lost and found note.
Shop and market signs
A small stand on the counter for the payment link, the price list or the review page.
Guest network signs
A printed plate by the door that connects visitors to the guest network. Network codes hold more data than a short link, so print them larger.
Two colors, not relief
Phone cameras read contrast, not height. Print the base in white or another pale matte filament and the squares in black or a dark color. With a single extruder you do this with a filament change at the layer where the squares begin. With a multi material system the slicer assigns the colors. If you only have one color, sink the squares, fill them with dark paint and wipe the surface clean.
Size by nozzle
A square should be at least three to four line widths across. With a 0.4 mm nozzle that is about 1.5 mm per square. A dynamic code at Low error correction is 25 squares wide, or 33 with its margin, so the smallest sensible print is about 5 cm. A 0.2 mm nozzle can roughly halve that. Longer links and higher error correction add squares and push the size up.
Filament and surface
Matte PLA or PETG in two clearly different colors works best. Silk and translucent filaments reflect or glow under the camera light and make scanning unreliable. Keep the code on a flat face: on a curved or tilted surface the squares distort.
What the SVG contains
With the Square pattern the file has no clipping masks and no embedded image. The dark squares are a single filled path, the corner markers are separate paths and the background square is its own shape, which you can delete or use as the outline of the base plate. Rounded patterns, gradients and frames still use a mask and often import as a solid square.
Related guides
Frequently asked questions
Do you export an STL file?+
No. You download an SVG and turn it into a solid in your own software. Tinkercad, Fusion and Blender import SVG, and PrusaSlicer 2.7 and later can emboss an SVG onto a model. Check your own slicer for a similar tool.
Why does my 3D printed QR code not scan?+
The usual causes are low contrast, squares that are too small for the nozzle, a glossy or translucent filament, and a missing margin. Print it in two matte colors, make every square at least 1.5 mm with a 0.4 mm nozzle and leave four squares of plain base around the code.
Can I print a QR code in one color?+
Relief alone is unreliable because the camera only sees shadows. Sink the squares and fill them with dark paint, or print in two colors.
How big should a 3D printed QR code be?+
About 5 cm for a short link with a 0.4 mm nozzle. Long links, network codes and contact cards need more squares, so they need more size.
Can I change the link after printing?+
Yes, if you printed a dynamic code. It holds a short qrforprint link and you change its destination in your account. Three dynamic codes are free. A static code cannot be changed.
Can I use the code on things I sell?+
Yes. The generator is free, the downloads carry no watermark and a static code has no expiry.