Overview
What this tool does
Generate barcodes in the most common formats — Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14, MSI, and Pharmacode. Type your value, adjust the size and label, and download a crisp PNG or a scalable SVG. It runs entirely in your browser.
Pick the right format
Which barcode type to use
| Best for | Input | |
|---|---|---|
| Code 128 | General use — any text or numbers | letters + digits |
| EAN-13 | International retail products | exactly 13 digits |
| EAN-8 | Small retail packages | exactly 8 digits |
| UPC-A | US/Canada retail | exactly 12 digits |
| Code 39 | Industrial, ID badges | letters + digits |
| ITF-14 | Shipping cartons | exactly 14 digits |
When in doubt, use Code 128
Two different things
Barcode vs QR code
A traditional barcode (the kind this tool makes) is a 1D pattern of vertical bars that stores a short value like a product number. A QR code is a 2D square pattern that stores much more data, including URLs and text. Use a barcode for product labels and inventory; use a QR code (we have a separate generator) for links and rich data.
Which to choose
PNG vs SVG download
- PNG — a ready-to-use image for documents, screens, and quick printing
- SVG — vector graphics that scale to any size without blurring, ideal for printed labels and packaging at high resolution
Important
Selling products with barcodes
You need an official number to sell in retail
Behind the scenes
Privacy and how it runs
Runs in your browser
Common questions
How do I make a barcode for free?
Pick a format, type your value, and download the PNG or SVG. For general text and numbers, Code 128 is the easiest choice and works with most scanners.
Why does my EAN or UPC number show an error?
Those formats require an exact digit count and a valid check digit. If the count is wrong (EAN-13 needs 13 digits, UPC-A needs 12), correct it, or switch to Code 128, which accepts any input.
Will the barcode scan correctly?
Yes, as long as you print it large enough and with good contrast (black bars on white). Download the SVG for printing so the bars stay sharp at any size. Test with a scanner or phone app before mass-printing labels.
What's the difference between EAN and UPC?
Both are retail barcodes. UPC-A (12 digits) is used mainly in the US and Canada; EAN-13 (13 digits) is the global standard and is essentially UPC-A with an extra leading country digit.
Can I change the barcode size?
Yes — adjust the bar width and height sliders, and toggle the text label on or off. For print, download the SVG and scale it in your design software without losing quality.