Try it

GTIN

Sortyra team · · 3 min read

A GTIN (Global Trade Item Number) is a globally unique product number that the manufacturer obtains from the GS1 organisation. It is the number under the barcode on the packaging and has 8, 12, 13 or 14 digits. Comparison sites, Google and marketplaces use it to recognise that different shops are selling the same goods.

What is a GTIN

GTIN is the umbrella name for the whole family of numbers under barcodes. It works like a car's registration number: the same product has the same GTIN in every shop in the world, so it can be found reliably by it.

TypeNumber of digitsWhere you'll see it
GTIN-8 (EAN-8)8small packages
GTIN-12 (UPC-A)12goods from the USA and Canada
GTIN-13 (EAN-13)13everyday goods in Europe, including books (ISBN-13)
GTIN-14 (ITF-14)14cartons and outer cases

The last digit is always a check digit – it is calculated from the other digits to catch typos.

What it looks like in a feed

<!-- Google Merchant -->
<g:gtin>8581234567894</g:gtin>

<!-- Heureka, Zboží -->
<EAN>8581234567894</EAN>

Google calls the field gtin, Czech and Slovak comparison sites call it EAN – the content is the same.

What it is used for

  • Google Merchant Center – a GTIN is required for every product the manufacturer has assigned one to. An incorrect GTIN leads to the product being disapproved.
  • Price comparison sites (Heureka, Zboží.cz) use it to assign your offer to the product page with other shops' prices.
  • Marketplaces (Allegro, Kaufland, eMAG) use it to link your offer to the product in their catalogue.
  • Meta accepts it as an additional identifier.

What to watch out for

  • An invalid check digit – the channel rejects a number with a typo.
  • Internal numbers – an EAN-13 starting with the digit 2 is meant for internal use in a shop (for example goods sold by weight), and Google won't accept it as a GTIN.
  • Made-up numbers – you can't invent a GTIN or "borrow" one from another product.
  • Spaces, hyphens and shortened numbers – write digits only. Excel likes to turn a long number into 8.58123E+12 and strip leading zeros.
  • One GTIN for a whole range – if a supplier gives every size the same number, the comparison site merges them into one product.

How Sortyra helps

Sortyra sends only GTINs with a valid check digit to outputs for Google and Heureka; an invalid one is left out. In rules you can use the condition is a valid EAN or is an invalid EAN, and the Product matching feature suggests a missing EAN only with a valid check digit and a stated source – it never makes anything up, and you approve every suggestion.

Frequently asked questions

Is a GTIN the same as an EAN?

EAN-13 and EAN-8 are types of GTIN. Every EAN is a GTIN, but not every GTIN is an EAN – the American UPC, for example.

Where do I get a GTIN for my own products?

From your national GS1 organisation (GS1 Slovakia in Slovakia, GS1 UK in the United Kingdom), which allocates ranges of numbers to companies.

How do I check whether a GTIN is valid?

Recalculate the check digit – the method is in the article on EAN. A valid GTIN also has the right number of digits: 8, 12, 13 or 14.

Try it on your own feed