Price File Desk

GTIN, UPC and EAN: how they relate and how to convert

GTIN is the family of product numbers; a UPC is a 12-digit GTIN-12 used mainly in North America, an EAN-13 is a 13-digit GTIN-13 used mainly elsewhere, and a GTIN-14 identifies a case. Convert by padding with leading zeros: UPC 990497300014 is 00990497300014 in 14-digit form.

Updated November 24, 2026 ยท 3 sources listed at the end

Key facts
UPCGTIN-12, 12 digits
EAN-13GTIN-13, 13 digits
Case codeGTIN-14, never starts with 0
Store as14 digits with leading zeros

How do GTIN, UPC and EAN relate?

GTIN, Global Trade Item Number, is the family; UPC and EAN are members of it. GS1 US lists four lengths (GS1 US):

GTIN typeAlso calledDigitsUsed for
GTIN-12U.P.C. (UPC-A)12Mainly North America; the only GTIN type in a UPC-A barcode
GTIN-13EAN-1313Mainly outside North America
GTIN-14Case code14Groupings such as a case or inner pack; never starts with zero; not for point of sale
GTIN-8EAN-88Small items

Is a GTIN the same as a UPC?

A UPC is a GTIN: specifically a GTIN-12. Every UPC is a GTIN, but not every GTIN is a UPC, because GTINs also come in 8, 13 and 14 digits. All of them end in a check digit calculated the same way, which the check digit calculator verifies.

How do you convert between UPC, EAN and GTIN-14?

FromToHowExample (GS1 Canada)
UPC (GTIN-12)14-digit formatAdd two leading zeros990497300014 becomes 00990497300014
EAN (GTIN-13)14-digit formatAdd one leading zero7541234999997 becomes 07541234999997
EAN starting with 0UPCDrop the leading zero; the check digit is unchanged0036000291452 becomes 036000291452
UPCCase GTIN-14Indicator digit, zero filler, first 11 digits, new check digit990497300014 becomes 10990497300011

GS1 Canada says GTINs should be stored in databases as 14 digits, padding a GTIN-12 with two zeros and a GTIN-13 with one (GS1 Canada). A padded code is the same number, not a case code: a real GTIN-14 for a case never starts with zero. The GTIN-14 converter does the case-code conversion both ways.

Why does the same item show up as 12, 13 and 14 digits?

  • Systems store and exchange GTINs differently: GS1 XML pads every GTIN to 14 digits, while EANCOM suppresses leading zeros (GS1)
  • Spreadsheets drop leading zeros, turning a 12-digit UPC into 11 digits
  • A supplier file lists the case GTIN-14 while your item master holds the each-level UPC

Comparing on the 14-digit form, with leading zeros, makes all three match. That normalisation is one of the checks in every file Price File Desk prepares, returned ready to import within 24 hours.

How do you get a GTIN?

From GS1. A company licenses a GS1 Company Prefix (or a U.P.C. Company Prefix) from its GS1 member organization and builds its GTINs from it; GS1 Canada tells companies to use the prefix on their annual licence certificate (GS1 Canada). A distributor reselling a manufacturer's product uses the manufacturer's GTIN, not its own.

Common questions

Is GTIN the same as UPC?

A UPC is one kind of GTIN, the 12-digit GTIN-12. GTINs also come in 8, 13 and 14 digits.

How do I convert an EAN to a UPC?

Only an EAN-13 that starts with 0 has a UPC equivalent: drop the leading zero. The check digit stays the same.

Can a GTIN be 13 digits?

Yes. A GTIN-13 is the same as an EAN-13, used mainly outside North America.

What is the difference between GTIN-13 and GTIN-14?

A GTIN-13 identifies a single item. A GTIN-14 identifies a case or inner pack of identical items and is built from the item's GTIN with an indicator digit in front.

First supplier file free. Pilot $500 for up to 5 files. Then $950 a month for up to 15 files, $60 per extra file. Every file back within 24 hours, or it is free.

Send your first file