About the Barcode Generator
Barcodes encode a value as a pattern of bars and spaces that a scanner reads in a fraction of a second. Different industries use different symbologies: retail products use EAN-13 and UPC, shipping uses ITF-14, and general-purpose labeling uses the versatile Code 128. This generator supports all of them and validates your input against each format's rules.
Enter a value, pick a format, and the barcode renders instantly with a human-readable caption. Invalid input — such as letters in an EAN-13 or the wrong digit count — is flagged immediately. Everything is produced in your browser, and you can export a vector SVG for crisp printing or a PNG for digital use.
How to use the Barcode Generator
- 1Enter the value you want to encode.
- 2Select a barcode format (Code 128 works for most general uses).
- 3Check the live preview and any validation message.
- 4Download the barcode as PNG or SVG.
Key benefits
- Supports Code 128, EAN-13, EAN-8, UPC, Code 39, ITF-14 and MSI.
- Live validation per format.
- Human-readable caption included.
- Export PNG or SVG — private and instant.
Real-world examples
Label inventory
Encode SKUs as Code 128 barcodes for warehouse labels.
Create a product code
Generate an EAN-13 or UPC for a retail item.
Frequently asked questions
Which barcode format should I use?+
Use Code 128 for general text and numbers, EAN-13/UPC for retail products, and ITF-14 for shipping cartons.
Why is my EAN-13 invalid?+
EAN-13 requires 12 or 13 digits (no letters). With 12 digits the check digit is added automatically.
Can I print these barcodes?+
Yes — download the SVG for sharp printing at any size.