GTINs and barcodes on Shopify: why they matter for Google and AI shopping

TL;DR

  • A GTIN is a unique product identifier (UPC, EAN, JAN, ISBN or ITF-14). Google uses it to match your product to listings, and Shopify lists barcodes among the fields AI platforms consider.
  • Add it in each variant's Barcode field in Shopify. Every variant with its own GTIN needs its own value.
  • If a product has no GTIN, such as handmade or private-label items, leave the field empty. Never invent one.
Contents
  1. Why GTINs matter
  2. What you need
  3. How to add GTINs in Shopify
  4. When a product has no GTIN
  5. Rules for valid GTINs
  6. How vevy AI Visibility helps
  7. Common mistakes
  8. FAQ
  9. Conclusion
  10. Sources

A GTIN (Global Trade Item Number) is the barcode number that identifies one exact product. Google uses it to match your product to the right listings, and Shopify lists barcodes among the product details AI platforms consider. In Shopify, you add it in each variant’s Barcode field.

If your product has a GTIN from the manufacturer, add it. If it doesn’t, leave the field empty. A wrong or made-up GTIN is worse than none.

Format Where it’s used Length
UPC North America 12 digits (convert 8-digit UPC-E to 12)
EAN Europe 13 digits
JAN Japan 8 or 13 digits
ISBN Books 13 digits (convert ISBN-10 to ISBN-13)
ITF-14 Multipacks 14 digits

Why GTINs matter

When ChatGPT or Google shows a product, it tries to work out which exact item it is, so it can compare prices, merge reviews and show the right details. A GTIN answers that question directly. Without it, the AI has to guess from the title and description.

Google says products without unique identifiers may be harder to classify and may not qualify for all Shopping features. Since Google AI Mode and Gemini read your product data from Merchant Center, that matters for AI shopping too. Read more: How to sell on Google AI Mode and Gemini.

What you need

  • The manufacturer’s barcode for each variant (on the packaging, the supplier’s product sheet or the supplier portal)
  • Access to Products in your Shopify admin

How to add GTINs in Shopify

  1. Find the real barcode. Take it from the product packaging or your supplier, not from another store’s listing.

    Verify: the number has 8, 12, 13 or 14 digits.

  2. Open the variant. In Products, open the product, then click the variant. If the product has no variants, the barcode field is in the product’s inventory section.

  3. Enter it in the Barcode field. Type the number in Barcode (ISBN, UPC, GTIN, etc.) and save.

    After this step, the GTIN syncs to channels like Google Merchant Center and Shopify Catalog.

  4. Repeat for every variant. Each size or color usually has its own GTIN. Google says each variant needs its own, and you shouldn’t reuse one GTIN across different products.

  5. Bulk-update large catalogs. Export products to CSV, fill in the Variant Barcode column and import it again.

    Verify: after import, open a few variants and check the barcodes are on the right ones.

When a product has no GTIN

Many Shopify products don’t have one: handmade items, private-label goods, custom products and items you’re the only seller of. Google says to leave the GTIN empty for these and submit the brand and MPN (manufacturer part number) instead.

Leave the Barcode field empty for these products. Don’t buy random barcodes or copy one from a similar product to fill the gap.

Rules for valid GTINs

Google lists these rules:

  • The check digit (the last digit) must be correct. GS1 has a check digit calculator.
  • Don’t use GTINs with restricted prefixes (02, 04 or 2) or coupon prefixes (05, 98 or 99). Prefix 2 is often used for in-store or weighted items.
  • Spaces and dashes are ignored, but the number of digits must be 8, 12, 13 or 14.
  • If you’re not sure a GTIN is right, don’t submit it. Incorrect GTINs can limit visibility.

How vevy AI Visibility helps

vevy AI Visibility checks every variant’s barcode and flags products where some or all variants are missing a valid identifier. It validates the GTIN check digit, so a typo doesn’t slip through.

You can add the real barcode in vevy’s editor and sync it to Shopify. vevy validates the number before saving and keeps any additional barcodes on other variants. It never generates a GTIN for you.

Common mistakes

  • Making up numbers. Invented GTINs can limit visibility in Google.
  • One GTIN for all variants. Each size and color with its own GTIN needs its own value.
  • Putting the SKU in the barcode field. A SKU is your internal code. The barcode field is for GTINs.
  • Copying a barcode from another listing. It may belong to a different variant or a different market.

FAQ

Do I need GTINs to sell on Shopify?

No. Shopify doesn’t require them. They help Google and AI channels identify your products, so add them when your products have them.

Should I buy GTINs for my own brand?

If you sell your own brand widely, through retailers or marketplaces, GS1 is the official source of GTINs. For a small handmade or private-label shop selling only on its own store, leaving the field empty is fine.

Do GTINs help in ChatGPT?

Shopify lists barcodes among the product details AI platforms consider, and ChatGPT receives Shopify product data through Shopify Catalog. A GTIN helps match your product to the exact item shoppers ask about.

Where do GTINs show up in structured data?

Many Shopify themes add the barcode to the product’s structured data as gtin. Test a product page in Google’s Rich Results Test to check.

Conclusion

A GTIN tells Google and AI assistants exactly which product you sell. Today, export your products, check which best sellers are missing barcodes and add the real ones from your suppliers.

Find missing and invalid GTINs

vevy AI Visibility checks every variant's barcode and lets you add the real one and sync it to Shopify.

Get for free

Sources

Article by

Narmina

Narmina is one of the founders at vevy.ai. She has over 8 years of experience in SEO and content marketing in eCommerce and SaaS businesses. She loves optimizing content more than posing for photos, so there’s no professional shoot yet. Excuse her.

Built for Shopify stores

Get found in ChatGPT, Gemini and AI search

Audit your products for Shopify Catalog and AI assistants, fix and sync them, and see how AI answers mention your store.

INSTALL FOR FREE