Guide Catalog operations
GTIN and GS1 identifiers for product matching.
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
| Format | Digits | Usually printed as | Where you see it |
|---|---|---|---|
| GTIN-8 | 8 | EAN-8 | Small packs with little room for a barcode |
| GTIN-12 | 12 | UPC-A | Retail products, often labeled UPC |
| GTIN-13 | 13 | EAN-13 or JAN | Retail products, often labeled EAN |
| GTIN-14 | 14 | ITF-14 | Cases and cartons of a trade item |
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:
- Remove spaces and hyphens, and reject anything that is not digits.
- Check the length: 8, 12, 13 or 14 digits.
- Take every digit except the last. Starting from the right, multiply the digits alternately by 3 and 1, and add the results.
- 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).
- 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.
| Digit | 2 | 0 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Weight | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | ×1 | ×3 | |
| Product | 2 | 0 | 0 | 3 | 2 | 9 | 4 | 15 | 6 | 21 | 8 | 27 | = 97 |
- 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 + 0 + 0 + 3 + 2 + 9 + 4 + 15 + 6 + 21 + 8 + 27 = 97.
- 100 − 97 = 3, so the check digit is 3.
- The full GTIN-13 is 2001234567893.
Read as text
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
| Listing | Seller | Identifier sent | Model | Color | Size |
|---|---|---|---|---|---|
| Listing 1 | Seller A | EX-DD-1 (seller reference) | NV velvet | Navy | 3-seat |
| Listing 2 | Seller B | EX-DD-2 (seller reference) | NV velvet | Navy | 3-seat |
| Listing 3 | Seller C | EX-DD-3 (seller reference) | NV velvet | Navy | 3-seat |
| Listing 4 | Seller A | EX-DD-4 (seller reference) | GS grey | Grey | 2-seat |
| Listing 5 | Seller B | EX-DD-5 (seller reference) | GS grey | Grey | 2-seat |
| Listing 6 | Seller A | EX-DD-6 (seller reference) | NV velvet | Navy | 2-seat |
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.
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.
A CSV file of 10 rows, named youzu-gtin-identifier-checklist.csv. No form to fill in first.
| Step | Check | Owner | Status |
|---|---|---|---|
| Format | Identifiers are stored as text, not numbers | Catalog operations | |
| Format | Spaces and hyphens are removed before validation | Catalog operations | |
| Format | Length is 8, 12, 13 or 14 digits | Catalog operations | |
| Format | Check digit is verified on arrival | Catalog operations | |
| Format | Identifiers are normalized to one length before comparison | Catalog operations | |
| Variants | Variants of one product carry different identifiers | Catalog operations | |
| Missing | Sellers can state that a product has no GTIN | Seller success | |
| Missing | Listings without a GTIN are matched on model, attributes and photo | Matching reviewers | |
| Matching | A shared GTIN with conflicting attributes goes to review | Matching reviewers | |
| Matching | No listing is merged on the identifier alone | Matching 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
Global Trade Item Number (GTIN), GS1. gs1.org/standards/id-keys/gtin. Accessed . Back
Check digit calculator, GS1. gs1.org/services/check-digit-calculator. Accessed . Back
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.
Related
Keep reading
Product
Duplicate detection and product matching
Precision-first duplicate matching: listings stay separate unless they can be shown to be the same product, and uncertain cases can go to review.
Glossary
What is a GTIN?
GTIN defined in plain words, with a worked example, common mistakes and links to the guides and Youzu products that apply it.
Glossary
What is product matching?
Product matching defined in plain words, with a worked example, common mistakes and links to the guides and Youzu products that apply it.