Everyday utilities

EAN-13 Barcode Generator

EAN-13 Barcode Generator

EAN-13 barcodes with automatic check digit, PNG/SVG download and bulk export.

About this tool

About EAN-13 Barcode Generator

EAN-13 is the 13-digit barcode on retail products in most of the world, encoding a GTIN-13 product number. Type the first 12 digits and this generator calculates the check digit using the GS1 modulo-10 method; type all 13 and it verifies the last digit and tells you the correct one if there is a mistake, which catches most typos before you print. The barcode is drawn with the standard guard bars and the human-readable digits underneath, and you can adjust bar width, height, margins and colours. Download a high-resolution PNG for documents and labels, or an SVG for packaging artwork that must scale cleanly. For a whole product range, paste up to 500 numbers in Bulk mode to get a ZIP of barcodes named after each number, with any invalid lines listed. Remember that shops accept only numbers registered to your company by GS1 India, GS1 UK or your country's GS1 office. Everything is generated in your browser.

Built and maintained by Abhi JainUpdated

How to Create an EAN-13 Barcode

  1. 1

    Enter the number

    Type 12 digits (check digit added) or all 13 (check digit verified).

  2. 2

    Adjust the look

    Set bar width, height, margins and colours.

  3. 3

    Download

    Download PNG or SVG, or use Bulk for many products at once.

EAN-13 Barcode Generator: questions and answers

How is the EAN-13 check digit calculated?

From the right, multiply the 12 digits alternately by 3 and 1, add the results, and take the amount needed to reach the next multiple of 10. For 400638133393 the sum is 89, so the check digit is 1.

Where do I get an EAN-13 number?

From GS1 in your country, which licenses a company prefix. Retailers and marketplaces check that the number belongs to you.

Is EAN-13 the same as UPC?

They are compatible: a 12-digit UPC-A is an EAN-13 with a leading 0. Scanners worldwide read both.

What size should an EAN-13 barcode be printed?

The nominal size is 37.29 × 25.93 mm, and GS1 allows 80% to 200% of that. Keep the white quiet zones on both sides and print dark bars on a light background.