Barcode Generator
Generate barcodes for free in your browser: Code 128, EAN-13, UPC-A and Code 39. Enter a value, pick a color, then download a sharp PNG or a scalable SVG.
A barcode generator makes retail and inventory barcodes for free, including Code 128, EAN-13, UPC-A and Code 39. Enter a value, pick a color, and download a sharp PNG or a scalable SVG. For EAN-13 you enter the first 12 digits and the 13th check digit is added for you; UPC-A takes 11 digits plus its check digit. The barcode is built in your browser, so nothing is uploaded.
Read the guide: How to Generate a BarcodeHow it works
- 1
Pick a barcode type
Choose Code 128 for anything, or EAN-13 and UPC-A for retail products.
- 2
Enter your value
Type the number or text; check digits are added for you where the format needs them.
- 3
Download
Export a PNG for labels or an SVG for crisp print at any size.
Instant & 100% private — nothing is uploaded
Everything runs locally in your browser. Your code, text and files are processed on your own device and are never sent to a server — so there are no upload waits, no size limits from us, and nothing is ever stored or logged.
Frequently asked questions
- Which barcode type should I use?
- Use Code 128 for general text and numbers, as it is the most versatile. Use EAN-13 or UPC-A for retail products, and Code 39 when a system specifically asks for it.
- What about the EAN/UPC check digit?
- Enter the first 12 digits for EAN-13 (or 11 for UPC-A) and the final check digit is calculated and added automatically. Paste a full code and it is validated instead.
- PNG or SVG for printing labels?
- SVG for print, since it stays crisp at any size and keeps the bars sharp. PNG is fine for quick on-screen use.
- Will it scan reliably?
- Yes, when printed with enough size and quiet space around it, and with dark bars on a light background. Always test a print with your scanner before a big run.
More tools
More from the Hivly network
Free sister tools on our other sites.