Skip to main content

Guide Catalog operations

GTIN and GS1 identifiers for product matching.

In short

A GTIN is a globally unique product identifier of 8, 12, 13 or 14 digits issued under GS1 standards and printed as a barcode such as UPC or EAN. This Youzu guide explains why it is the strongest key for matching the same product across sellers, and why matching also needs attributes and images.

Published by Youzu · Editorial policy

Published
Reading time
8 min read

Key points

  • Use the GTIN as the strongest single key for matching, never as the only one.
  • Check length and check digit before trusting any identifier a seller sends.
  • Keep one GTIN per variant: each color, size or pack is its own trade item.
  • Match listings without a GTIN on model, key attributes and photos, and review uncertain pairs.
  • Keep every GTIN in one normalized form, padded to the same length.
In this guide

What a GTIN is

The Global Trade Item Number, or GTIN, identifies a trade item: a product in a specific version that is sold, ordered or invoiced. It is the number under a retail barcode. GTINs are issued under GS1 standards: a brand owner licenses a GS1 company prefix and assigns numbers from it to its products, so the same number means the same item wherever it is scanned or listed.[1]

A GTIN identifies the item, not the seller and not the single unit in a shopper's hands. Two sellers offering the same trade item share one GTIN. Serial numbers, batch numbers and sellers' own article numbers are different identifiers with different purposes, and none of them belongs in the GTIN field.

Because the numbering is controlled, a GTIN is the strongest single key a catalog has for recognizing the same product across sellers and suppliers. It is also the most commonly misused one. This guide covers the formats, how to validate them, what to do when a listing has none, and why identifiers should support matching rather than decide it alone.

GTIN-8, 12, 13 and 14 against UPC, EAN, JAN and ITF-14

GTINs come in 4 lengths. The names people use day to day usually describe the barcode that carries the number rather than the number itself, which is why the same identifier can appear under several names.[1][3]

Reference

GTIN lengths and the names you will see for them

GTIN lengths and the barcodes that carry them
FormatDigitsUsually printed asWhere you see it
GTIN-88EAN-8Small packs with little room for a barcode
GTIN-1212UPC-ARetail products, often labeled UPC
GTIN-1313EAN-13 or JANRetail products, often labeled EAN
GTIN-1414ITF-14Cases and cartons of a trade item
One number, several names: the barcode names describe how a GTIN of each length is usually printed. Sources: GS1 and Google Merchant Center, listed at the end of this guide.

Systems that store every GTIN in one field usually right-align it in a 14-digit field and fill the left with zeros.[1] A 12-digit UPC and the same number written with a leading zero are therefore one identifier, not 2. Normalize identifiers to one length before comparing them, or the same product will look like 2.

How marketplaces use identifiers

A marketplace uses identifiers in 3 places. At intake, a GTIN lets a new listing be matched to an existing product before anyone reads its title. In the catalog, it helps find duplicates that slipped in under different titles. And in feeds to sales channels, a GTIN is often recommended or required for products that have one; Google Merchant Center, for example, recommends submitting the GTIN for every product with a manufacturer-assigned GTIN.[3]

The identifier belongs to the product variant (one purchasable version of a product that differs along defined dimensions, such as size, color or pack size), not to the family: the olive jacket in size M and the same jacket in size L are different trade items with different GTINs. Sellers' offers of the same variant share its GTIN, because they sell the same item. That makes the GTIN a natural bridge between a seller's listing and the shared product record.

Identifiers keep helping after the first match. When a supplier re-sends a product with an updated description, the GTIN lets the update land on the right record instead of creating a new one, as long as the identifier is stored in one normalized form.

Validation and check digits

The last digit of every GTIN is a check digit calculated from the others, so many typing and copying errors can be caught without any lookup.[2] Check every identifier on arrival:

  1. Remove spaces and hyphens, and reject anything that is not digits.
  2. Check the length: 8, 12, 13 or 14 digits.
  3. Take every digit except the last. Starting from the right, multiply the digits alternately by 3 and 1, and add the results.
  4. The check digit is the amount needed to round that sum up to the next multiple of 10 (zero if the sum already is one).
  5. Compare it with the last digit. If they differ, the identifier is wrong, whatever else the listing says.

Try it on an example number below. The calculation runs in your browser and nothing you type is sent anywhere.

Calculator

Work out a GTIN check digit, step by step

Enter 7, 11, 12 or 13 digits. Spaces and hyphens are ignored.

Check digitThe check digit is 3: the GTIN-13 is 2001234567893.

Each digit before the check digit, its weight and the product
Digit200123456789
Weight×1×3×1×3×1×3×1×3×1×3×1×3
Product200329415621827= 97
  1. The 12 digits before the check digit get the weights 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, reading left to right.
  2. 2 + 0 + 0 + 3 + 2 + 9 + 4 + 15 + 6 + 21 + 8 + 27 = 97.
  3. 100 − 97 = 3, so the check digit is 3.
  4. The full GTIN-13 is 2001234567893.
Read as text

Worked example: the first 12 digits of a GTIN-13, 200123456789. They start with 200, a prefix GS1 keeps for numbers used inside one company or region, so the number names no real product.

  1. Weigh the digits 3 and 1, from the right: The 12 digits before the check digit get the weights 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, reading left to right.
  2. Multiply and add: 2 + 0 + 0 + 3 + 2 + 9 + 4 + 15 + 6 + 21 + 8 + 27 = 97.
  3. Round up to the next multiple of 10: 100 − 97 = 3, so the check digit is 3.
  4. Append the check digit: The full GTIN-13 is 2001234567893.

To check a full GTIN, work out the check digit from every digit but the last and compare it with the last digit. If they differ, the number was typed or copied wrongly.

The example numbers start with 200, a prefix GS1 keeps for numbers used inside one company or region, so they name no real product. The calculation runs in your browser; nothing you type is sent or stored.Method: Check digit calculator, GS1, read on .

When a listing has none

Many listings legitimately have no GTIN: handmade and vintage items, store brands, custom products and goods from small producers. Google Merchant Center, for example, states that products without a manufacturer-assigned GTIN, such as store-brand or custom-made items, do not need to submit one.[3] Forcing sellers to fill the field only produces invented numbers.

Make the field optional where the category allows it, ask sellers to confirm that the product has no GTIN rather than leaving the field blank, and record the reason, such as handmade or vintage, as its own value. Then plan for matching without one. The worked example below shows 6 sofa listings that carry only the sellers' own references, which say nothing about the product.

Worked example

6 listings, no GTIN

The identifier each listing carries and the facts left for matching
ListingSellerIdentifier sentModelColorSize
Listing 1Seller AEX-DD-1 (seller reference)NV velvetNavy3-seat
Listing 2Seller BEX-DD-2 (seller reference)NV velvetNavy3-seat
Listing 3Seller CEX-DD-3 (seller reference)NV velvetNavy3-seat
Listing 4Seller AEX-DD-4 (seller reference)GS greyGrey2-seat
Listing 5Seller BEX-DD-5 (seller reference)GS greyGrey2-seat
Listing 6Seller AEX-DD-6 (seller reference)NV velvetNavy2-seat
Each identifier here is a seller's own reference: unique to one listing, it says nothing about the product. Listings 1, 2 and 3 are still the same sofa, which only the model, color, size and photo show.

Identifiers as one input to matching, never the only one

Product matching (deciding whether 2 records describe the same product by comparing identifiers, titles, attributes and images) works best when an identifier is one signal among several. A matching GTIN is strong evidence; a matching GTIN with a different model name, size or photo is a conflict to review, not a match to accept. Without a GTIN, matching falls back to the model, the key attributes and the photo, and uncertain pairs stay separate until a person decides.

  • Same GTIN, same attributes, same photo: a strong match. Attach the listing as an offer.
  • Same GTIN, different size or color: probably a reused number. Send to review.
  • No GTIN, same model, color and size: a candidate match. Compare photos, then decide or review.
  • No GTIN, same model and color, different size: a different variant of the same family, not a duplicate.

Common errors

  • One GTIN for every size. A seller copies one number across all variants. Check that variants of one product carry different identifiers.
  • Leading zeros lost. A spreadsheet stores the GTIN as a number and drops the zeros. Store identifiers as text and normalize their length.
  • Internal codes in the GTIN field. A seller's SKU or a supplier article number arrives as a GTIN. Length and check-digit validation catch most of these.
  • Invented numbers. Required fields invite made-up values. Allow an explicit 'no GTIN' and never generate numbers yourself.
  • Merging on the number alone. 2 different products share a reused GTIN and get merged. Compare attributes and photos before any merge.
  • A number on the family. A GTIN is attached to the parent record that groups the variants. Identifiers belong to variants; channels group variants with an item group identifier instead.

Youzu helps marketplaces, classifieds and retailers turn raw seller and supplier product data into structured, reviewable catalog records. Identifiers are one input to that work, alongside the attributes and images each listing carries.

Boundaries

What Youzu does not do

  • Youzu does not replace your ERP, search or storefront; those systems stay authoritative for their own data. It can replace your PIM, or work alongside it.
  • Youzu publishes no accuracy figures. Measure accuracy on your own sample against your own labels, with critical errors reported separately.
  • Youzu does not promise an onboarding time in advance. We size the timeline with you after seeing a sample.
How an evaluation runs

Checklist

GTIN intake checklist

10 checks for identifiers at intake and in matching, from format validation to review rules, with an owner and status column.

Download the checklist (CSV)

A CSV file of 10 rows, named youzu-gtin-identifier-checklist.csv. No form to fill in first.

GTIN intake checklist, scrollable
StepCheckOwnerStatus
FormatIdentifiers are stored as text, not numbersCatalog operations
FormatSpaces and hyphens are removed before validationCatalog operations
FormatLength is 8, 12, 13 or 14 digitsCatalog operations
FormatCheck digit is verified on arrivalCatalog operations
FormatIdentifiers are normalized to one length before comparisonCatalog operations
VariantsVariants of one product carry different identifiersCatalog operations
MissingSellers can state that a product has no GTINSeller success
MissingListings without a GTIN are matched on model, attributes and photoMatching reviewers
MatchingA shared GTIN with conflicting attributes goes to reviewMatching reviewers
MatchingNo listing is merged on the identifier aloneMatching reviewers

FAQ

Questions buyers ask

Short answers to the questions teams ask about this topic.

An EAN-13 carries a GTIN-13: the same number, named after the barcode that prints it. Likewise a UPC-A carries a GTIN-12. When a channel asks for a GTIN, you can usually supply the EAN or UPC printed on the product, written out in full, without spaces and without dropping leading zeros.

Not on your own. A GTIN is valid only when it is assigned from a GS1 company prefix licensed to the brand owner. Invented numbers can pass a check-digit test and still collide with real products. If you own the brand, license a prefix from GS1; otherwise list the product without a GTIN where the channel allows it.

It is strong evidence, not proof. Sellers sometimes reuse one number across variants or copy a number from a similar product. Compare the GTIN with the title, the key attributes and the photo, and send conflicts to review rather than merging the listings automatically.

Yes, under GS1 rules each variant that is sold as a separate trade item has its own GTIN, so a jacket in 3 colors and 3 sizes has 9. The product family that groups them is a catalog concept and has no GTIN of its own; channels group variants with an item group identifier instead.

No. Many catalogs have gaps in their identifiers, and an evaluation should include them. Evaluations start with a sample of your own catalog and expand to more workflows once the results are reviewed. Send a sample file and your category tree, with identifiers where you have them, and the difficult listings included.

Last reviewed

Sources

  1. Global Trade Item Number (GTIN), GS1. gs1.org/standards/id-keys/gtin. Accessed . Back

  2. Check digit calculator, GS1. gs1.org/services/check-digit-calculator. Accessed . Back

  3. GTIN [gtin], Google Merchant Center Help. support.google.com/merchants/answer/6324461. Accessed . Back

About this guide

Published by Youzu · Editorial policy

Published

Every guide defines its terms, works through one example and cites the public sources it relies on, with the date each source was checked.

Guides explain methods. They do not rank Youzu above other approaches, and an example is never presented as a customer result.

More in all guides and the catalog glossary.

Next step

Automate Commerce. Make shopping personal.

Bring your catalog, listing flow or shopping idea. Let's find the right place to start.

Book a demo

Tell us about your catalog and we will get back to you.