Barcode Generator
Make a Code 128 barcode and download it as SVG.
How to use
- 1 Type the text or number to encode (printable ASCII).
- 2 Adjust the bar height and toggle the text label.
- 3 Check the live barcode preview.
- 4 Download the SVG or copy the markup.
About Barcode Generator
The Barcode Generator turns any line of text or digits into a scannable Code 128 barcode and hands you a clean, scalable SVG.
Code 128 is the dense, high-reliability symbology used for shipping labels, asset tags, warehouse bins and internal tracking, because it encodes the full printable ASCII set and packs a lot of data into a small space.
Type your value and the barcode updates instantly, complete with the mandatory checksum character calculated for you — get that wrong and a scanner simply refuses the code, so having it computed automatically is the difference between a label that works and one that does not.
You can adjust the bar height to suit your label stock and toggle the human-readable text underneath.
Because the output is vector SVG rather than a fixed-size image, it stays razor-sharp at any print size, from a tiny shelf tag to a full-page sign.
Everything is generated locally in your browser using a from-scratch encoder, so whatever you are encoding — order numbers, SKUs, serial numbers — never leaves your device or touches a server, and it keeps working offline.
Download the SVG or copy the markup straight into your label template.
FAQ
Which barcode standard is this?
Code 128, code set B, which supports all printable ASCII characters. The required check digit is calculated automatically.
Why SVG instead of an image?
SVG is vector, so the barcode stays perfectly crisp at any size when printed — important for reliable scanning. Nothing is uploaded to produce it.
Can it encode letters as well as numbers?
Yes. Code 128-B handles letters, digits and common symbols — any printable ASCII character.