EAN-13 Barcode Generator

Make an EAN-13 barcode from your 12 or 13 digits in your browser. The check digit is added or verified for you. Download PNG, SVG or JPG, or a bulk ZIP.

Runs in your browser. Your files are never uploaded. How it works

Make many barcodes at once

One value per line (up to 1,000). Each becomes a PNG file in a ZIP, named after its value.

This page opens with Barcode type set to EAN-13, the 13-digit barcode on retail products in most of the world. Type the 12 digits of your product number and the tool adds the check digit, draws the barcode with the numbers underneath, and lets you download PNG, SVG or JPG. It runs in your browser and nothing is uploaded.

Make an EAN-13 barcode

  1. Type the first 12 digits under Data, such as 590123412345.
  2. The tool adds the check digit and shows the full number, here 5901234123457.
  3. Choose Size, Bar height and colours, then download the barcode.

How an EAN-13 number is built

Part Digits Meaning
GS1 prefix First 2–3 The GS1 office that issued the number, not the country where the product is made
Company number Next several Your company, from GS1
Product number Next few Chosen by you for each product
Check digit Last 1 Worked out from the other 12, so scanners can catch errors

Labels for a whole range

Open Make many barcodes at once and paste one number per line, up to 1,000, then click Download ZIP. You get one PNG per product, named after its number, and an errors.txt for any value with the wrong length or check digit.

Before you print

  • A barcode with a made-up number will scan, but shops and marketplaces that check the GS1 register will reject it.
  • Keep dark bars on a white or light background and leave white space on both sides.
  • Check a sample with QR Code Scanner, which reads EAN barcodes from a photo or the camera.

Frequently asked questions

How many digits does an EAN-13 need?

13 in total. Type the first 12 and the tool adds the 13th, the check digit. If you type all 13, it checks the last digit and tells you the correct one if it is wrong.

Where do I get an EAN-13 number?

Numbers for products sold in shops come from GS1, the organisation that runs the system. You join your country's GS1 office and get a company prefix to build your product numbers from. This tool only turns a number into a barcode.

What is the difference between EAN-13 and UPC-A?

UPC-A is the 12-digit version used mainly in the US and Canada. EAN-13 is used in most other countries. Shop scanners worldwide normally read both. Use the UPC Barcode Generator page for UPC-A.

What size should I print it?

Download SVG for packaging so the bars stay sharp at any size, and do not shrink the code too far. Test a printed sample with a phone or scanner before printing a full run.

More ways to use Barcode Generator

Related tools