Barcode Generator
Free online barcode generator for EAN-13, UPC, Code 128, ISBN, ITF-14, Data Matrix and more. Check digits are added for you. Download PNG or SVG, ready to print.
Make a barcode
2 digits for a magazine issue, or 5 for a book price (52499 = $24.99, 90000 = no price).
Size and colours
How to make a barcode
Three steps, in your browser.
Choose the type
Pick the barcode your shop, printer or system needs. Not sure? Use the table below.
Type the number
The barcode appears as you type. Leave off the check digit and it’s added for you, or type it and it’s checked.
Download or print
Get a PNG for documents and labels, or an SVG that stays sharp at any size. You can also copy or print it.
Which barcode do I need?
| You’re labelling | Use |
|---|---|
| A product sold in shops (most countries) | EAN-13 |
| A product sold in shops in the US or Canada | UPC-A |
| A very small product package | EAN-8 or UPC-E |
| A book | ISBN (add-on for the price) |
| A magazine or newspaper issue | EAN-13 with a 2-digit add-on |
| Stock, SKUs, shipping or warehouse labels | Code 128 |
| ID badges, asset tags or an older system | Code 39 |
| A carton or case of products | ITF-14 |
| Pallet labels with batch or expiry dates | GS1-128 |
| Library books, lab samples | Codabar |
| Tiny parts, medicine packs, electronics | Data Matrix |
| ID cards, tickets, shipping papers | PDF417 |
Selling in shops? Get a GS1 number
Shops expect EAN and UPC numbers registered with GS1, the organisation that issues them in each country (in Pakistan, GS1 Pakistan). A made-up number can clash with another company’s product and be rejected by the retailer.
Once you have your number, this tool draws the barcode for it. For stock, assets or anything used only inside your business, Code 128 needs no registration.
Printing tips
- Print at 100%. Turn off “fit to page” and never stretch a barcode in one direction.
- Keep the white margin on both sides. Scanners need it to find the start and end.
- Dark bars on a light background. Black on white scans best; red bars don’t scan at all.
- Standard EAN-13 size is about 37 × 26 mm. Shops accept 80% to 200% of that.
- Test before a big print run with the barcode scanner or your own device.
Frequently asked questions
Common questions about making barcodes.