Barcode Generator
EAN-13, UPC, Code128 and more
Any ASCII text, variable length.
How to use Barcode Generator
- Pick a barcode format based on your use case.
- Enter the value to encode. The hint tells you what's valid for each format.
- Adjust bar width, height, and colors if needed.
- Download as PNG for general use or SVG for scalable printing.
Which barcode format should I use?
EAN-13 is the global standard for retail products — the 13-digit barcode you see on nearly every item in a supermarket. UPC-A is its 12-digit North American equivalent; the two formats are closely related and many scanners handle both.
Code 128 is the most flexible format, accepting any ASCII text and producing compact barcodes. It's the go-to choice for internal inventory, shipping labels, and tracking systems where you control both the encoding and the scanning.
Code 39 is an older industrial format limited to uppercase letters, digits, and a few symbols. ITF-14 is used for shipping containers and pallets. Codabar and MSI are less common today but still used in legacy systems like libraries and photo processing.