About this tool
Type a 12-digit product number and get a correctly formed EAN-13 barcode with the check digit calculated automatically. If you enter all 13 digits, the last one is verified and you are told the correct value when it doesn't match. Download a crisp SVG for packaging artwork or a PNG for documents — generated entirely on your device.
How to use EAN-13 Barcode Generator
- Enter the first 12 digits of your EAN or GTIN-13.
- Check the added check digit, or let the tool verify your 13th digit.
- Adjust height and colors if you need to.
- Download the barcode as SVG or PNG.
Frequently asked questions
How is the check digit calculated?
Digits are weighted alternately 1 and 3 from the left, summed, and the check digit is whatever brings the total up to the next multiple of 10.
What's the difference between EAN-13 and UPC-A?
UPC-A has 12 digits and is common in the US and Canada; EAN-13 adds a leading digit and is used in most other countries. A UPC-A is the same as an EAN-13 starting with 0.
Where do I get a real EAN number?
From your national GS1 organisation, which licenses company prefixes so every product number is unique.