This is a simple browser-based tool that converts QR codes into 3D-printable STL files.
It uses three.js to render the model and exports clean geometry you can slice and print.
👉 Live site:
https://lepari23.github.io/QR-Code-STL-Generator
- Input custom data to encode as a QR code (e.g. URLs, text, etc.)
- Choose error correction level: L (7%), M (15%), Q (25%), H (30%)
- Optionally select QR version (size) from 1–10 or let it auto-size
- Set real-world dimensions:
- Units: millimeters / centimeters / inches
- Width/height of the QR plate
- Extrusion depth (thickness)
- Optional flat base under the QR code
- You can set its width and depth
- Interactive 3D preview with rotation and zoom
- Download clean ASCII STL files
- Filenames include dimensions and units for easy tracking
- Vanilla JS + ES Modules
three.js(via CDN import map)qrcode-generator- No bundler, framework, or install needed — runs 100% client-side
- Supports QR version 1–10 (the full spec goes up to 40)
- Long or complex text may exceed the selected version
- You’ll get a helpful popup if this happens
If you have ideas, bug reports, or want to request features, please open an issue.
MIT — free for personal and commercial use. Attribution appreciated but not required.