Free Barcode Generator.
Type a number or text, pick the format (EAN-13, UPC-A, Code 128 and more) and download your barcode free as a high-resolution PNG or an SVG vector for print, with or without the numbers underneath and on a white or transparent background. Nothing is sent to a server. EAN-13 and UPC-A take digits only; for letters, use Code 128.
Barcode generator: quick facts
A free barcode generator for retail, stock and label barcodes, with a high-resolution PNG or SVG ready to print.
Updated
- Price
- Free. No sign-up, no watermark, fine for commercial use.
- Formats
- Code 128, Code 39, Code 93, EAN-13, EAN-8, UPC-A, UPC-E, ITF-14, Codabar and Pharmacode.
- Download
- High-resolution PNG or SVG vector, white or transparent background, with or without the numbers. Made in your browser with nothing uploaded.
- Check digits
- Added for you on EAN, UPC and ITF-14 numbers.
- Best default
- Code 128 for any text. EAN-13 or UPC-A only with a registered product number.
- Retail numbers
- Selling in shops needs a GS1-registered number (GS1 UK in the UK). This tool draws the barcode for it.
How to make a barcode
Type your text or number, pick a format, and the barcode redraws as you type, ready to download and print. Formats that need a set number of digits tell you straight away if yours doesn’t fit.
- 01
Type your text or number
The barcode updates live as you type.
- 02
Choose a format
Code 128 for anything, or a retail format if you have one.
- 03
Download
Save it as a high-resolution PNG, or as an SVG that stays sharp at any size.
Tips for barcodes that scan first time
Most barcode problems come down to the wrong format, poor printing or too little space around the bars.
- Choose the format for the jobCode 128 handles any letters and numbers, which suits labels, stock and asset tags. EAN-13 and UPC-A are for products sold in shops, and ITF-14 is for outer shipping cartons.
- Retail numbers have to be registeredShops only accept EAN and UPC numbers issued by GS1, the organisation that runs the system. A made-up number gives a barcode that scans but belongs to nobody, so for products you sell, get numbers from GS1 UK.
- Leave white space at both endsScanners need a clear margin, called the quiet zone, before and after the bars. Don’t let text, borders or the edge of a label run up against them.
- Print dark bars on a light backgroundBlack on white is the safest choice. Red bars, or bars on a red or glossy background, often fail, because many scanners read with red light and can’t see the contrast.
Like every Altto tool, this runs on your device — nothing you add is uploaded. How Altto works
digits make up an EAN-13 barcode: twelve that identify the product and a check digit, worked out from the others, that lets a scanner catch a misread.
Which barcode do you need?
The generator can draw any of these for free. What matters is whether the number has to be registered.
| What it’s for | Format | Do you need a registered number? |
|---|---|---|
| A product sold in UK or European shops, or online marketplaces | EAN-13 | Yes, from GS1 UK |
| A product sold mainly in the US or Canada | UPC-A | Yes, from GS1 |
| A small pack with no room for EAN-13 | EAN-8 | Yes, from GS1 |
| Outer cartons and cases of a product | ITF-14 | Yes, built from your product numbers |
| Your own stock, shelf labels, asset tags, tickets, parcels, name badges | Code 128 | No, use any text or number you like |
| Older systems that ask for it (some libraries and labs) | Codabar or Code 39 | No |
Getting a barcode for a product you sell (UK)
- Get your numbers from GS1 UK. GS1 is the not-for-profit body that runs retail barcodes. Membership gives you your own company prefix and a batch of product numbers (GTINs). At the time of writing, plans start at £50 a year plus VAT for businesses with turnover under £100,000, with 10 numbers on the smallest plan. Check GS1 UK for current prices.
- Give every product its own number. Each size, colour, flavour and pack size needs a different number, so a T-shirt in 3 sizes and 2 colours uses 6.
- Make the barcode image. Choose EAN-13 above, type your number and download the PNG or SVG. Type 12 digits and the check digit is added for you; type all 13 and it’s checked.
- Print it at the right size and test it. The standard EAN-13 is about 37 × 26 mm and can go from 80% to 200% of that. Scan a printed copy with a phone app or the scanner your stockist uses before you print thousands.
How the EAN-13 check digit works (example)
Take the made-up number 501234567890. Multiply the digits by 1 and 3 in turn, starting from the left, add them up, and see how far the total is from the next multiple of 10:
The generator does this for you. If you type 13 digits and the last one doesn’t match, it tells you, which usually means a digit was copied wrongly.
For a side-by-side comparison of every format, see our guide to barcode types.
Frequently asked questions
Common questions about barcode formats, sizes and scanning. Our guide to barcode types compares the formats in more detail.