A GTIN (Global Trade Item Number) is a GS1-standardized numeric identifier that uniquely identifies a retail or commercial product anywhere in the world. GTINs come in four lengths: 8, 12, 13, and 14 digits. They are encoded into the barcodes you see on almost every product label, from grocery packaging to Amazon listings, and Label Toolkit lets you design and print those barcodes for free, right in your browser.
- GTINs are not barcodes themselves; they are the data encoded inside barcodes such as UPC-A, EAN-13, GS1-128, and ITF-14.
- The four GTIN formats (GTIN-8, GTIN-12, GTIN-13, GTIN-14) share one check-digit algorithm and are interconvertible by left-padding with zeros.
- You must license a GS1 Company Prefix to issue GTINs that are globally unique; reselling or copying another company's prefix is a compliance violation.
- Label Toolkit generates GTIN-bearing barcodes (UPC, EAN, GS1-128, ITF-14) in the browser with no install required, and exports to print-ready PDF or Zebra ZPL.
What does GTIN stand for, and where did it come from?
GTIN stands for Global Trade Item Number. The term was introduced by GS1, the not-for-profit standards body that administers product identification globally. Before 2001, the same concept was split across the American UPC system (12 digits) and the European EAN system (13 digits). GS1 unified them under the GTIN umbrella so that a single database field can hold any product identifier regardless of origin.
Every GTIN is built from a GS1 Company Prefix (licensed from a GS1 Member Organization), an Item Reference (assigned by the brand), and a single Check Digit calculated using the Luhn-adjacent Modulo-10 algorithm GS1 specifies. The check digit is not optional; scanners reject barcodes that fail the check.
The four GTIN formats compared
All four formats carry the same class of data. The differences are digit count, the barcode symbologies they appear in, and the packaging contexts they suit.
| Format | Total digits | Common barcode symbology | Typical use case |
|---|---|---|---|
| GTIN-8 | 8 | EAN-8 | Very small consumer packaging where a full EAN-13 will not fit (lip balm, chewing gum) |
| GTIN-12 | 12 | UPC-A | North American retail point-of-sale; the classic 12-digit barcode on U.S. grocery products |
| GTIN-13 | 13 | EAN-13 | Global retail POS; used on most products sold outside North America and on many global e-commerce platforms |
| GTIN-14 | 14 | ITF-14, GS1-128 | Cases, cartons, and shipping units; the leading digit (1 to 8) indicates the packaging level |
Conversion between formats is simple: left-pad the shorter GTIN with zeros until it reaches 14 digits. A GTIN-12 of 012345678905 becomes the GTIN-14 00012345678905. Retailers and marketplaces like Amazon store the 14-digit form internally so one field covers all variants.
How the check digit is calculated
The check digit is the last digit in any GTIN. To verify or generate it manually, follow the GS1 Modulo-10 procedure:
- Write out the GTIN without the check digit, starting from the left.
- Multiply each digit alternately by 3 and 1, starting with 3 applied to the rightmost payload digit (the one immediately left of where the check digit will go) and working left.
- Sum all the products.
- Find the smallest number that, added to the sum, produces a multiple of 10. That number is the check digit.
Example: for the 12-digit payload 01234567890, the weighted sum is 67. The next multiple of 10 is 70, so the check digit is 3, giving the full GTIN-12 012345678903. GS1 publishes a free online check-digit calculator you can use to verify any GTIN before printing.
Which barcode symbology carries a GTIN?
The GTIN is pure data. The barcode is the physical carrier. Choosing the right symbology depends on packaging type, trading-partner requirements, and the scanning environment. Our complete guide to barcode types and symbologies covers every major format in depth, but here is how the main GTIN carriers differ:
UPC-A (GTIN-12)
UPC-A is a linear (1D) barcode exactly 95 modules wide, printed at a nominal height of at least 25.9 mm (roughly 1.02 inches) for standard retail scanning. The minimum X-dimension (width of the narrowest bar) is 0.264 mm at 100% magnification. At 203 DPI, that is about 2.1 dots per module; at 300 DPI it is about 3.1 dots, which is why 300 DPI printers produce noticeably crisper UPC barcodes.
EAN-13 (GTIN-13)
EAN-13 is structurally almost identical to UPC-A but encodes 13 digits. The first digit is printed to the left of the bars rather than inside them, because the symbol itself only has 12 digit positions in the bar pattern. Retailers in Europe, Asia, and South America require EAN-13 by default.
ITF-14 (GTIN-14)
ITF-14 (Interleaved 2 of 5, 14 digits) is the dominant carton-level barcode. It is printed directly on corrugate, where ink spread (called bar width reduction) is unpredictable. GS1 therefore mandates a wider X-dimension of 1.016 mm nominal and a bearer bar (a rectangular frame) around the symbol to prevent partial scans. ITF-14 barcodes are not scanned at retail POS; they are used in receiving docks and warehouses.
GS1-128 (any GTIN length, plus additional data)
GS1-128 (formerly EAN-128) is a Code 128 barcode that uses Application Identifiers (AIs) to add structured data alongside the GTIN. AI (01) carries a GTIN-14. AI (17) carries an expiry date. AI (10) carries a lot number. A single GS1-128 label on a pharmaceutical case might encode all three in one barcode. Our barcode symbology guide covers GS1 Application Identifiers in detail.
GTINs on e-commerce platforms: Amazon, Google, and eBay
Amazon requires a valid GTIN for most product listings in its catalog. When you create a new ASIN, Amazon's system calls the GS1 registry to verify the GTIN belongs to your brand. Submitting a GTIN purchased from a third-party reseller (rather than licensed directly from GS1) triggers suppression of the listing. Google's free product listings and Google Shopping work the same way: the gtin feed attribute accepts GTIN-8, GTIN-12, GTIN-13, or GTIN-14, and Google validates format and check digit automatically.
eBay and many other marketplaces accept GTINs in the item specifics section and use them to auto-populate product details from a global catalog. If your product genuinely has no GTIN (handmade goods, custom B2B parts), most platforms have an exemption flow, but using a fabricated or borrowed GTIN instead of applying for an exemption is a policy violation.