Barcode Generator
CODE128, EAN-13, UPC, and CODE39 barcodes with instant validation.
How it works
-
Type the number or text you want to encode.
-
Pick a barcode format — CODE128 works for most text.
-
Fix any validation message shown under the input.
-
Download the barcode as SVG or PNG.
Frequently asked questions
Which barcode format should I use?
CODE128 for general text and internal labels, EAN-13 for retail products outside North America, UPC-A for North American retail, and CODE39 for simple alphanumeric labels on older systems.
What about the EAN-13 / UPC check digit?
Enter 12 digits for EAN-13 (11 for UPC-A) and the check digit is computed for you. If you enter the full number including a check digit, we verify it and warn you when it's wrong.
Which file should I use for printing?
SVG — it stays razor sharp at any print size, which matters for scan reliability. The PNG export is rendered at 3× resolution for screens and documents.
Is my data uploaded anywhere?
No. Barcodes are generated entirely in your browser — the values you encode never leave your device.
Related tools
QR Generator
Styled QR codes with custom colors — download crisp PNG or SVG in seconds.
Password Generator
Cryptographically random passwords with a real entropy meter — generated on your device.
CSV Converter
Swap between CSV, JSON, and Excel without your data leaving the browser.