Barcode Generator
Generate scannable barcodes in the most common formats: CODE128 (any text), EAN-13 and UPC-A (retail products), CODE39, ITF-14, and more. The barcode renders live as you type, validates that your input is legal for the chosen format, and downloads as a crisp SVG or PNG suitable for labels and packaging.
Generators
Private by default
This tool runs entirely in your browser. Your data is never uploaded to a server.
How to use
4 clear steps.
Choose the barcode format (CODE128 handles arbitrary text).
Enter the data — the tool validates it for the selected format.
Adjust bar width and height if needed.
Download the barcode as SVG or PNG.
Good to know
Frequently asked questions
- Which barcode format should I use?
- CODE128 for general text and internal logistics (compact, encodes any ASCII); EAN-13 or UPC-A for retail products (requires a valid 12–13 digit number with checksum); CODE39 for legacy industrial systems.
- Why is my EAN-13 barcode invalid?
- EAN-13 requires exactly 12 digits (the 13th is a computed checksum) or 13 digits with a correct checksum. If you enter 13 digits and the last one doesn't match the computed check digit, the barcode is rejected.
- Can I sell products with a barcode I made here?
- The image itself is yours to use, but retail products need an officially assigned GS1 company prefix so the number is globally unique. This tool is perfect for internal SKUs, inventory, and testing.