
Turn a product number, serial number or label into a scannable 3D printed barcode. Choose Code 128, EAN-13, UPC-A or Code 39, type the content, and the raised bars and human-readable digits rebuild live on a flat base plate.
Set the bar width, bar height, quiet zone and plate, then download a single STL or a two-colour 3MF with base and bars already separated for your slicer.
Fully client-side: the barcode and its geometry are generated in your browser. Nothing is uploaded.
The LyraMaker Barcode Generator makes 3D printable barcodes in your browser. The bars and digits are raised above a flat base, so they print in a second colour for a high-contrast code that a phone or handheld scanner can read. Set the size, watch the live 3D preview and download a free STL or two-colour 3MF.
Barcodes are read by the ratio of bar and gap widths, so accuracy matters more than height. Keep the bar width at 0.5 mm or more, print the first layer well, and choose dark bars on a matt light base. If a scanner hesitates, increase the bar width — all bars grow together. For square codes that hold a link, use the QR Code Generator, or browse every LyraMaker generator.
Yes, if the bars are wide enough for your nozzle and the colours contrast well. Keep the bar width (module) at 0.5 mm or more with a 0.4 mm nozzle, print dark bars on a light base, and keep the quiet zone at both ends. Test with your phone or scanner before printing many.
Code 128 for anything with letters, serial numbers or labels — it is compact and widely supported. EAN-13 and UPC-A are the retail product codes and need exactly 12 or 11 digits (the check digit is added for you). Code 39 is older and wider, but some workshop and inventory systems still use it.
EAN-13 and UPC-A end with a digit calculated from the others, so a scanner can spot a misread. Enter 12 (EAN) or 11 (UPC) digits and the generator adds it; if you enter the full code, it checks that the last digit is correct.
Download the 3MF: the base and the bars are separate parts, so Bambu Studio, OrcaSlicer and PrusaSlicer give each its own filament. On a single-extruder printer, use the STL and add a filament change (M600) at the first layer above the base.