STLPal

All tools / QR code to STL

3D printed QR code generator

Type a link, some text or your WiFi details. You get a plate with the code raised on top, ready to print in two colours. QR code to STL in one step.

Good to know

How to make a 3D printed QR code

  • Type the link or text, or switch to WiFi. The code updates as you type.
  • Set the plate width. Watch the One square number: keep it at 1.5 mm or more.
  • Download the 3MF if you print with an AMS, MMU or tool changer. Each part gets its own filament.
  • Download the STL if you have one nozzle. Add a filament change at the layer we show and the squares come out in the second colour.
  • Scan the print with your phone before you hand it out or stick it on a wall.

How big it gets

What's in itSquares (Medium)Plate (Medium)Squares (High)Plate (High)
Bare domain (example.com)2138 mm2138 mm
Short link (https://example.com/menu)2544 mm2950 mm
WiFi login3356 mm3762 mm
Long link (about 80 characters)3762 mm4574 mm

Smallest plate for 1.5 mm squares, with a blank border of 2 squares on each side. Worked out with the same code this page uses. Longer text needs more squares, so a short link makes the smallest plate.

Short links help. A link shortener, or just your bare domain, can cut the grid down a lot.

Getting it to scan

  • Contrast: dark squares on a light plate. Black on white is the safest pair. Matte filament reads better than silk, which throws glare.
  • Blank border: phones look for empty space around the code. The QR standard asks for 4 squares. We default to 2 because the plate edge already stands out; if it won't scan, raise it.
  • Square size: with a 0.4 mm nozzle, 1.5 mm is about four lines wide. Smaller squares round off at the corners and the code smudges.
  • First layer: an elephant foot (the first layer squashed wider) doesn't matter here, because the squares start on top of the plate, not on the bed.
  • One colour only? The code then shows up only as shadows, and phones often can't read it. Colour the tops of the squares with a black paint pen, or print with a swap.

Raised or carved

Raised is the usual look: a light plate with dark squares standing up. Print the plate in white and swap to black for the squares.

Carved flips which part stands up. The light squares are raised and the dark squares sit low, so it looks cut into the plate. Print the plate in black and swap to white. The code still reads dark-on-light, which is what scanners expect.

Opening the two-part 3MF

The 3MF holds the plate and the squares as two objects, already in place. If your slicer asks whether to load it as one object with several parts, say yes. That keeps the squares sitting on top of the plate.

Then give the plate one filament and the squares another. If the squares drop down onto the bed as their own object, use the STL with a filament swap instead.

How it works

  1. 1Type a link or text, or switch to WiFi and fill in the network name and password.
  2. 2Set the plate width and thickness. Keep each square at 1.5 mm or more.
  3. 3Download the 3MF (plate and squares as two parts) or one STL. Swap filament at the layer we show, or give each part its own colour.

Questions people ask

Checked October 2026

Is my WiFi password sent anywhere?
No. The code is made on this page, in your browser. Nothing you type is uploaded. Keep in mind the password sits inside the code itself, so anyone who scans the print can join the network.
Why won't my 3D printed QR code scan?
Usually it's one of three things: not enough contrast, squares too small, or no blank border. Print the squares in black on white, in matte filament if you can (silk throws glare). Keep each square at 1.5 mm or more. Leave a blank border of at least 2 squares; the QR standard asks for 4.
Can I make a WiFi QR code to 3D print?
Yes. Pick WiFi, type the network name and password, and choose the security type. Phones that scan it offer to join the network. Most recent iPhones and Android phones read WiFi codes straight from the camera.
How do I print it in two colours with one nozzle?
Slice the STL, then add a filament change at the layer number shown under the download buttons, the first layer above the plate. In Bambu Studio and OrcaSlicer, right-click the + by the layer slider and add a colour change. In PrusaSlicer, click the + next to the slider. In Cura, use Extensions → Post Processing → Modify G-Code → Filament Change.
What size should a 3D printed QR code be?
Size it by the squares, not the plate. We suggest at least 1.5 mm per square with a 0.4 mm nozzle, so each square is about four lines wide and keeps sharp edges. A longer link or a WiFi login needs more squares, so the plate has to grow. The table further down this page shows how big common contents get.
Which error correction should I pick?
Medium (15%) is a good default. Higher levels let a phone read the code even with a scuffed or blobby patch (up to 25% or 30% of it), but they add squares, so each square gets smaller at the same plate size. For a keyring that will get worn, use High and make the plate a little bigger.

Other tools you might need