QR Code to STL
Generate a 3D‑printable QR code and download as STL or 3MF — client‑side, no upload.
Editor
Output summary
About
This tool generates a standards‑compliant QR code locally in your browser, then converts the QR matrix into a watertight 3D model you can print. Paste a text payload or URL, pick an export format (STL or 3MF), and download immediately—no uploads, no accounts, and no server processing. The geometry is intentionally simple: a square base plate with raised QR modules on top, optimized for scan reliability rather than decoration.
For 3D printing, the biggest factor is physical density: how large each module becomes in millimeters. A QR that scans perfectly as a PNG can fail when printed if modules are too small for your nozzle, layer height, or camera focus. The page shows the QR matrix size and the derived module size so you can adjust quickly. If modules look tight, increase the overall size, shorten the content (long URLs increase QR version), or choose a different error correction level.
Geometry matters as much as size. Keep a true quiet zone (margin) around the QR so scanners can detect the boundary. The base thickness keeps the plate flat and sturdy, while the relief height creates crisp edges and strong light/shadow transitions that phones can capture. Avoid rounding corners, smoothing, logos, or holes—QR decoders expect clean square modules and a consistent margin. An optional inverted relief mode is available, but it changes how shadows and reflections read, so test before production.
STL and 3MF fit different workflows. STL is the most universal format for slicers, but it does not embed units—most slicers assume millimeters, and this tool is built in mm. 3MF is a zipped package that can explicitly declare millimeter units and often feels more modern in print pipelines. Both exports contain a single monochrome mesh to keep files minimal and slicer‑friendly.
How it works: the QR code is generated deterministically from your input and error correction (L/M/Q/H). The matrix is expanded by the quiet zone, then converted into a two‑level height field (base height vs raised height). Adjacent modules are merged conceptually so the mesh stays light, and vertical walls are created only where heights change—this keeps the model closed and printable in common slicers.
If a printed QR does not scan, fix the basics first: print larger, keep the quiet zone at 4 modules, use strong lighting contrast, and test with multiple scanners. For FDM printing, a practical starting point is roughly ~0.8 mm per module or larger (depending on settings). Resin printing can go smaller, but glare and over‑exposure can hide fine detail. Print a quick test piece before installing a code on packaging, signage, or products.
QR Code to STL is designed to be straightforward: pick your input, choose the output settings, and generate a result you can copy or download. We focus on predictable defaults so you can get a usable output quickly, then fine-tune only when you need to.
If you’re using this tool for work, treat the result like any other export: verify a small sample first, then run the full job. Small checks (file size, encoding, preview, or a spot-check of values) prevent surprises later when you publish, upload, or share the output.
FAQ
›Is QR-to-STL generation client-side?
›STL vs 3MF — which should I use?
›What module size should I target?
›Why do I need a quiet zone?
›Can I invert the relief?
›Is the exported mesh watertight?
›My printed QR doesn’t scan — what should I change?
Related Tools
- QR Code Studio/tools/qr-code
- Image Tools/category/images
- Image Resize/tools/resize
- Image Crop/tools/crop
- Image Filters/tools/filters