Veribl logo

Identifiers and data

What is the difference between GTIN, EAN and UPC?

Written by
Veribl
Updated

GTIN is the name of the number, and EAN and UPC are its two most common formats. An EAN is a 13-digit GTIN (GTIN-13) used in Europe and most of the world, and a UPC is a 12-digit GTIN (GTIN-12) used mainly in the US and Canada. Both identify the same kind of thing, a product model, and both work in every country.

  • GTIN: Global Trade Item Number: the GS1 number for a product, in 8, 12, 13 or 14 digits
  • EAN: EAN-13 = GTIN-13, used in Europe and most of the world. EAN-8 = GTIN-8 for very small packs
  • UPC: UPC-A = GTIN-12, used mainly in the US and Canada. UPC-E is a compressed 8-digit form
  • Converting: Add a leading zero: UPC 012345678905 is EAN 0012345678905, the same GTIN
  • Where they work: Both are read worldwide. GS1 US: an EAN works in the US and a UPC works in Europe
  • Issued by: Your national GS1 organization, from your GS1 Company Prefix

GTIN, EAN and UPC aren't three competing systems. GTIN is the GS1 name for a product number. EAN and UPC are the two most common formats of that number, and also the names of the barcodes that carry them. A 13-digit EAN and a 12-digit UPC are both GTINs, built the same way and read by checkouts worldwide.

GTIN, EAN and UPC side by side

GTINEANUPC
What it isThe number family (Global Trade Item Number)A 13- or 8-digit GTIN and its barcodeA 12-digit GTIN and its barcode
Lengths8, 12, 13 or 14 digitsEAN-13 (GTIN-13), EAN-8 (GTIN-8)UPC-A (GTIN-12), UPC-E (compressed)
Mainly usedEverywhere, as the name in standards and databasesEurope and most of the worldUS and Canada
Example00012345678905 (stored as 14 digits)0012345678905012345678905
Check digitSame calculation for all lengthsLast digitLast digit

What a GTIN is

GTIN stands for Global Trade Item Number. It identifies one product model (one size, one color, one pack) so that every retailer, marketplace and distributor means the same item. Each company creates its GTINs from a GS1 Company Prefix licensed from its national GS1 organization, which keeps every number unique worldwide.

There are four lengths: GTIN-8, GTIN-12, GTIN-13 and GTIN-14. GTIN-14 is for cases and other groupings of the same product, and starts with an indicator digit.

What an EAN is

EAN originally stood for European Article Number. An EAN-13 is a GTIN-13, the standard product number in Europe and most of the world, and EAN-13 is also the barcode that carries it. An EAN-8 is the short form for very small packs. In Japan the same number is called a JAN.

What a UPC is

UPC stands for Universal Product Code. A UPC-A is a GTIN-12, the standard in the US and Canada, and UPC-A is the barcode most shoppers there see. A UPC-E compresses a UPC-A to 8 digits by suppressing zeros, for small packaging.

How to convert a UPC to an EAN

Add a zero in front. The UPC 012345678905 becomes the EAN 0012345678905, and as a GTIN-14 it's 00012345678905. The check digit doesn't change, because leading zeros don't affect the calculation. It's the same product number written at a different length.

You can't go the other way unless the EAN starts with a zero. An EAN that starts with any other digit has no 12-digit UPC version.

Which one does your product need?

  • Selling mainly in Europe or worldwide: EAN-13 is the usual choice.
  • Selling mainly in the US or Canada: UPC-A is the usual choice, from GS1 US.
  • Selling in both: one number is enough. GS1 US says an EAN works in the US and a UPC works in Europe. Don't give the same product two different GTINs.
  • Cases and cartons: a GTIN-14, usually printed as an ITF-14 barcode.

Whichever format you use, get the numbers from GS1. GS1 US, for example, sells a single GTIN for $30 and Company Prefixes for larger ranges. Numbers bought from unofficial resellers may already belong to another company, and marketplaces check GTINs against the GS1 database.

GTINs in QR codes and Digital Product Passports

The barcode isn't the only place a GTIN lives anymore. A GS1 Digital Link puts the GTIN into a web address, written as 14 digits, for example https://example.com/01/00012345678905. That address goes into a QR code or Data Matrix: checkouts read the GTIN from it, and phones open the product's page.

The same GTIN is one of the identifiers a Digital Product Passport can carry under EU rules. When a passport is needed per batch or per item, a batch number or serial number is added to the GTIN in the same address.

Free tools

Official sources

Frequently asked questions

Is an EAN the same as a GTIN?

An EAN is one kind of GTIN. Every EAN-13 is a GTIN-13 and every EAN-8 is a GTIN-8. GTIN is the umbrella name for all GS1 product numbers, including UPCs and the 14-digit GTINs used on cases.

What is the difference between EAN and UPC?

Length and region. An EAN has 13 digits and is the standard in Europe and most of the world. A UPC has 12 digits and is mainly used in the US and Canada. Both are GTINs built the same way, from a GS1 Company Prefix, an item reference and a check digit.

Can I use an EAN in the USA?

Yes. GS1 US says an EAN code works in the US and a UPC works in Europe, because retail systems read both. Some retailers set their own barcode rules for suppliers, so check each retailer's requirements.

Are UPC and EAN interchangeable?

They carry the same kind of number. A UPC becomes a valid EAN-13 by adding a leading zero, and both become a GTIN-14 with more leading zeros. The check digit stays the same, so it's still the same product number.

Is a GTIN always 14 digits?

No. A GTIN has 8, 12, 13 or 14 digits. Databases often store every GTIN as 14 digits by padding it with leading zeros, which is also the form used in a GS1 Digital Link web address.

What is the difference between a GTIN and a SKU?

A SKU is a company's own internal code and can be anything. A GTIN is a globally unique GS1 number that retailers, marketplaces and Digital Product Passports can rely on. Many companies keep both and link them.

Do I need a UPC or an EAN to sell on Amazon?

Amazon asks for a GTIN for most products, and accepts both UPCs and EANs. It checks them against the GS1 database, so use numbers from your own GS1 Company Prefix rather than ones bought from a reseller.