| Key facts | |
|---|---|
| UPC | GTIN-12, 12 digits |
| EAN-13 | GTIN-13, 13 digits |
| Case code | GTIN-14, never starts with 0 |
| Store as | 14 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 type | Also called | Digits | Used for |
|---|---|---|---|
| GTIN-12 | U.P.C. (UPC-A) | 12 | Mainly North America; the only GTIN type in a UPC-A barcode |
| GTIN-13 | EAN-13 | 13 | Mainly outside North America |
| GTIN-14 | Case code | 14 | Groupings such as a case or inner pack; never starts with zero; not for point of sale |
| GTIN-8 | EAN-8 | 8 | Small 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?
| From | To | How | Example (GS1 Canada) |
|---|---|---|---|
| UPC (GTIN-12) | 14-digit format | Add two leading zeros | 990497300014 becomes 00990497300014 |
| EAN (GTIN-13) | 14-digit format | Add one leading zero | 7541234999997 becomes 07541234999997 |
| EAN starting with 0 | UPC | Drop the leading zero; the check digit is unchanged | 0036000291452 becomes 036000291452 |
| UPC | Case GTIN-14 | Indicator digit, zero filler, first 11 digits, new check digit | 990497300014 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