EAN barcodes for Shopify: how to add a GTIN to your products
Short answer: Shopify doesn't require barcodes, but its sales channels do. The Google and YouTube channel wants a GTIN for every product that has one, Meta's catalogue works better with one, and Shopify POS and most warehouses scan them. You enter the number in each variant's "Barcode (ISBN, UPC, GTIN, etc.)" field, one number per size and colour. Our EAN-13 codes work for all of this, for a single payment. Shopify may show a yellow warning if the number's GS1 record doesn't match your product name. The warning changes nothing.
Why Shopify wants a barcode at all
Shopify itself treats the barcode as an optional text field. Four things around Shopify don't:
- Google and YouTube channel. Google requires a GTIN for any product that has one and uses it to match your listing to its product catalogue. Products without one need a brand and MPN instead, which you add in the channel's product data.
- Facebook and Instagram. Meta's catalogue wants a GTIN, brand or MPN for every item. A GTIN is the one that gets your product matched reliably.
- Shopify POS and inventory. A scanner at your till or in your stock room reads the barcode on the label and finds the variant. No number, no scanning.
- Warehouses and wholesale buyers. Any 3PL and most retail buyers ask for an EAN per SKU before they'll handle your product.
Where the barcode field is
- Open Products and pick the product.
- For a product with one variant, scroll to Inventory and find Barcode (ISBN, UPC, GTIN, etc.).
- For a product with variants, open each variant, or use Edit on the variants list to see the barcode column for all of them at once.
- Paste the 13-digit number. No spaces, no dashes.
- Save. The storefront doesn't change, but the channels now have a GTIN to send.
For many products at once, add a Variant Barcode column to a product CSV and import it, or use the bulk editor from the Products page.
One number per variant
Every variant that a customer can buy separately needs its own number: each size, each colour, each pack size. A T-shirt in three sizes and three colours is nine variants and nine barcodes. A product and its 3-pack are two. If you later retire a variant, the number retires with it. Don't reuse it for something else.
The yellow warning
When you save a barcode, Shopify looks the number up in GS1's register. If the number is there, Shopify sets the type to GTIN. If the product name and vendor in GS1's record don't match yours, a yellow warning appears on the product. With a resold EAN, the GS1 record shows the original prefix holder, so you may see this warning. It doesn't block saving, publishing or selling, and it isn't sent to Google or Meta. It's Shopify's way of saying the number isn't registered in your name, which is true.
What the channels do with the number
| Channel | What it needs | What happens with a resold EAN |
|---|---|---|
| Google and YouTube | GTIN if the product has one, otherwise brand and MPN | Accepted. Google checks format and check digit, not ownership. |
| Facebook and Instagram | One of GTIN, brand or MPN | Accepted |
| Shopify POS | Any scannable barcode | Works |
| Amazon via a connector app | Amazon's own rules | Amazon checks GS1's register when you create a new listing and may reject the number. See our guide on where resold codes work. |
| Marketplaces via connector apps (Zalando, CDON, bol.com, Miinto and others) | The marketplace's rules | Most accept the number as data. bol.com checks GS1 for branded items. |
Printing the barcode
Shopify stores the number, not the picture. To put a barcode on a label you need the graphic. We send a print-ready PNG and PDF for every number, which you can place on your packaging or a label template. Shopify's own Retail Barcode Labels app can also print labels from the stored number if you have a label printer. Keep the barcode at least 30 mm wide, black on white, with clear space on both sides.
Getting the numbers
You have two routes. A GS1 membership gives you numbers registered in your own name for an annual fee, and you need it if you sell branded products on Amazon or supply chain retailers. For a Shopify store selling through its own site, Google, Meta and most marketplaces, our codes do the same job for a single payment and a fraction of the price. Buy as many as you have variants, with a few spare for next season.
Frequently asked questions
Does Shopify require a barcode?
No. The field is optional. Google, Meta, POS scanning and most marketplace apps need one, so in practice most stores end up adding them.
Where do I get a GTIN for Shopify?
Either from GS1, as an annual membership, or from us, as a one-time purchase. Both give you an EAN-13 you paste into the barcode field.
Is an EAN the same as a GTIN in Shopify?
Yes. GTIN is the family name, EAN-13 is the 13-digit European format, UPC-A is the 12-digit US format. Shopify accepts any of them in the same field.
Why does Shopify show a warning on my barcode?
Because the number's record in GS1's register, which shows the original prefix holder, doesn't match your product name and vendor. The warning is informational and doesn't affect selling or the Google channel.
Can I publish to Google without a GTIN?
Yes, if the product is your own and you add a brand and MPN in the Google and YouTube channel's product data. Google accepts own-brand products without a GTIN that way. Products that exist in Google's catalogue under a GTIN must carry it.
Do I need a barcode for every size and colour?
Yes. Each variant is a separate item to a scanner and to Google. Nine variants, nine numbers.