Barcode Generator

Make EAN, UPC, ISBN, Code 128 and shipping barcodes at the true print size - the check digit is worked out for you and every change is scan-tested.

Download a PNG at 300 to 1200 dpi, a vector SVG, EPS or PDF in millimetres, or a whole sheet of labels. Need a code for a link or WiFi instead? Use the QR Code Generator. Want to read one? Try the QR Code Scanner - it reads barcodes too.

Preview -
Checking your barcode...Our reader scans every barcode you make.
Type-
Print size-
Bar width (X)-
Magnification-
-measuring...

What kind of barcode?

Which one?

How to Make a Barcode

  1. Pick the barcode type. EAN-13 or UPC-A for retail products, ISBN for books, Code 128 for anything with letters, GS1-128 or ITF-14 for shipping.
  2. Type the number or text. Leave off the check digit and we add it, or type the full number and we verify it.
  3. Set the print size. Choose the magnification or bar width in millimetres, the bar height and the colours. The preview is scan-tested after every change.
  4. Download. Save it as PNG or JPG at 300 to 1200 dpi, or as SVG, EPS or PDF in millimetres - or print a whole label sheet.

Want to know what the bars actually mean? Read barcode types explained - EAN, UPC, Code 128 and the rest, with a short history of the barcode.

Which Barcode Do I Need?

TypeHoldsUsed for
EAN-1313 digitsRetail products almost everywhere (GS1 number)
UPC-A12 digitsRetail products in the US and Canada
EAN-8 / UPC-E8 digitsSmall packs - gum, cosmetics, cans
ISBN13 digits (978/979)Books - an EAN-13 with the ISBN printed above
Code 128Any text, up to ~80 charactersStock numbers, serials, Amazon FNSKU, asset tags
GS1-128GTIN, dates, lot, serial, SSCCPallet and shipping labels, food and medicine
Code 39A-Z, 0-9 and 7 symbolsOlder industrial and government systems, ID badges
ITF-1414 digitsOuter cartons and cases, printed on cardboard

Links, WiFi passwords and contact cards do not fit in a 1D barcode - make a QR code with the QR Code Generator instead, and check it before printing with the QR Code Checker.

Print Size Guide (EAN-13)

MagnificationBar width (X)Size with margins
80% (smallest)0.264 mm29.83 x 20.74 mm
100% (standard)0.330 mm37.29 x 25.93 mm
120%0.396 mm44.75 x 31.12 mm
150%0.495 mm55.94 x 38.90 mm
200% (largest)0.660 mm74.58 x 51.86 mm

UPC-A has the same sizes. Bigger is easier to scan, but never go under 80% on retail packs, and keep the full bar height.

Why Use This Barcode Generator

Check digits done for you

We add or verify the check digit, turn ISBN-10 into ISBN-13 and shorten UPC-A to UPC-E when it can be.

The true print size

Magnification and bar width in millimetres, dpi written into every PNG and JPG, vector SVG, EPS and PDF.

Scan-tested live

Our own reader scans the preview after every change and warns you about colours a till scanner cannot see.

Hundreds at once

From a list, a CSV or a numbered series - as one ZIP, or ready to print on Avery label sheets.

Frequently Asked Questions

Yes, it is free - no sign-up, no watermark, and the files are yours to use anywhere.

One thing to know: a barcode is only a picture of a number. Shops and marketplaces want the number inside an EAN or UPC to be registered to your company, which you get from GS1 (the body that hands out product numbers). Once you have your numbers, make the barcodes here. Code 128, Code 39 and ITF-14 for your own stock, assets and shipping need no registration.

EAN-13 for retail products almost everywhere, UPC-A for shops in the US and Canada, EAN-8 or UPC-E when the pack is tiny, and ISBN for books.

For anything with letters - stock numbers, serials, Amazon FNSKU labels - use Code 128. Shipping labels with dates and lot numbers use GS1-128, outer cartons use ITF-14. The table above this FAQ compares them all, and our barcode types guide explains each one with examples.

Yes. Amazon FNSKU labels (the codes starting with X00) are Code 128 - pick Code 128, type the FNSKU, and print it on labels with PDF and the Labels page. Avery L7160 and 5160 sheets are built in.

For the product barcode itself, Amazon checks UPC and EAN numbers against the GS1 database, so use numbers registered to your brand.

EAN, UPC, ISBN and ITF-14 numbers end with a check digit, worked out from the other digits so a scanner can catch misreads. Type the number without it and we add it, or type the full number and we check it - if the last digit is wrong you get a warning instead of a barcode that will not scan.

Retail barcodes come in magnifications from 80% to 200%. At 100%, an EAN-13 is 37.29 x 25.93 mm including the white margins; 80% is the smallest a till scanner is sure to read.

Keep the full height - cutting the bars shorter ("truncating") makes codes hard to scan from an angle. Always leave the white margins, and print PDF or EPS files at 100% (Actual size), never Fit to page.

Send PDF or EPS to a print shop or packaging designer: both are vector files made at the exact size in millimetres. SVG is the vector choice for websites and design apps.

Use PNG at 300 dpi or more for labels and documents - we write the dpi into the file, so it prints at the right size. Need to open an EPS file? Try our EPS Viewer, or turn an SVG into an image with SVG to PNG.

Yes, within limits: dark bars on a light background. Black, dark blue, dark green and dark brown bars work. Red, orange and yellow bars do not - shop scanners use red light, and red ink looks white to them, so the bars disappear.

The check under the preview tells you when your colours are risky. Light bars on a dark background (inverted) do not scan on most tills.

Yes. Open Many barcodes at once, paste a list (one code per line), load a CSV with content, name and label columns, or make a numbered series like PART-0001 to PART-0500. You get all files in one ZIP with a list of what is inside - or, with PDF and the Labels page, all of them on printable label sheets.

Need QR codes instead? The QR Code Generator does the same for links, WiFi and contacts, and our guide on how QR codes work explains the difference.

Guides & Tutorials

All 34 guides
New Guide How to Scan a QR Code on a PC, Mac or From a Screenshot Oct 23, 2026 · 7 min read Read New Guide How to Download Twitter Images in Original Size (All Photos at Once) Oct 25, 2026 · 4 min read Read New Guide How to Make a WiFi QR Code (and Print It for Guests) Oct 24, 2026 · 7 min read Read