If you sell online and want to add EAN barcodes for Shopify, this guide makes everything clear: where to enter the EAN in the dashboard, why it opens the door to Google Shopping and other channels, and how to get official codes without any hassle. Shopify is one of the most widely used ecommerce platforms in the world and, although you can sell without a barcode, assigning an EAN/GTIN to each product multiplies your visibility and prevents channel rejections. If you already know all this and just want the codes, you can buy EAN codes for Shopify and receive them by email in minutes.
EAN, UPC and GTIN: which number Shopify needs
Before touching the dashboard, it helps to clear up the terminology, because Shopify mentions them all together. GTIN (Global Trade Item Number) is the global product identifier, and it covers the formats you already know:
| Format | Digits | Typical use |
|---|---|---|
| EAN-13 (GTIN-13) | 13 | Standard in Europe and most of the world |
| UPC-A (GTIN-12) | 12 | Common in the US and Canada |
| EAN-8 | 8 | Very small products with little room on the packaging |
In practice, for a Shopify store aimed at the European market you will use EAN-13 in almost every case. If you also sell to the US, a UPC-A works just as well; both are valid GTINs and Shopify accepts them in the same field. If you are unsure when to use one format or the other, we explain it in the difference between EAN-13 and EAN-8, and if you want to understand the standard from scratch, here we explain what an EAN barcode is.
One important note: the country prefix (for example, 84x for Spain) goes inside the digits of the EAN-13; there is no such thing as an "EAN-84" format. The organisation that manages those prefixes worldwide is GS1.
How to add an EAN code in Shopify step by step
Assigning the EAN in Shopify takes less than a minute per product. This is the current path in the dashboard:
- Go to your Shopify admin and open Products.
- Open the product you want to assign the code to.
- Scroll down to the Inventory section (or, if the product has variants, open the specific variant).
- Find the Barcode (ISBN, UPC, GTIN…) field.
- Paste your EAN-13 (all 13 digits, no spaces or hyphens) and save the changes.
That's it: Shopify stores the number and will automatically send it to the channels you connect. A screenshot of the "Barcode" field inside Inventory would help you spot it at a glance, but the label is exactly that, so you can't miss it.
Products with variants: a unique EAN per size and colour
This is the most common mistake. If you sell a t-shirt in three sizes and two colours, it is not one product: it is six variants, and each one needs its own unique EAN. Reusing the same code across several variants causes rejections on Google and incorrect matches on marketplaces.
To load many variants at once, use Shopify's CSV import: the export template includes a Variant Barcode column where you place the EAN for each row. Fill it in, upload it, and Shopify assigns each code to its variant. Work out how many codes you need by counting variants, not products.
Why the EAN improves your visibility on Shopify
- Google Shopping: the GTIN is practically mandatory on Google Shopping for your products to appear in ads and in the free listings. Without it, many campaigns are limited or rejected.
- Other sales channels: when you connect Shopify with Amazon, Meta (Facebook and Instagram Shopping) or marketplaces, the EAN lets you match your offer to the channel's catalogue and avoid duplicates.
- Inventory management: it makes it easier to use barcode scanners in the warehouse and at the point of sale with Shopify POS.
Connecting the GTIN with the channels (Google and Meta)
Once the EAN is on every variant, install the relevant channel from Shopify: Google & YouTube for Google Shopping and Facebook & Instagram for Meta. When you sync the catalogue, Shopify automatically maps the "Barcode" field to the GTIN attribute each platform requires. You don't have to fill in anything by hand: if the code is entered correctly, the channel recognises it. To sell on the Amazon marketplace, in this other post we explain how to upload products to Amazon with an EAN.
Common mistakes (and how to fix them)
- "Invalid GTIN": it is almost always an incorrect check digit or a made-up number. A legitimate EAN-13 has its last digit calculated from the previous twelve; use official codes and this error disappears.
- Duplicate EAN across variants: Google and Amazon detect it and reject the listing. Assign a different code to each variant.
- Number with spaces or hyphens: enter only the 13 digits in a row.
- Wrong format: don't put a 12-digit UPC where you need an EAN-13 if the channel specifically asks for one; both are GTINs, but check the requirements of the destination channel.
How to get your EAN codes for Shopify
You have two routes. You can register directly with GS1, which involves a joining fee and recurring annual fees, or you can buy legitimate GS1 codes through a reseller like EAN CODA, a faster and cheaper option for stores that only need the numbers for their listings.
With EAN CODA you choose the quantity of codes you need, pay once and receive them by email in minutes. They are official codes associated with the GS1 database, from 3 €, one-off payment, no annual fees, ready to paste into the "Barcode" field of each Shopify variant. If instead of Shopify you use another platform, we can also help you with PrestaShop using the same procedure.
Buy EAN codes for Shopify now →
Frequently asked questions
Is the EAN mandatory in Shopify?
Not to create the product: Shopify lets you sell with the field empty. But it is practically mandatory if you want to advertise on Google Shopping or sync with Amazon and Meta, where the lack of a GTIN limits or rejects your listings.
Does any EAN work?
No. It must be a valid EAN-13 (with the correct check digit) and unique per variant. Randomly generated codes or codes reused from another product end up producing "invalid GTIN" or duplicate errors.
Do I need to register with GS1?
It is not essential. Registering with GS1 involves annual fees; buying legitimate GS1 codes from a reseller like EAN CODA is faster and cheaper when you only need the numbers for your Shopify listings.
How many EANs do I need?
One for each variant you are going to sell, not per product. If an item has several sizes or colours, count each combination as a separate code.
Do EANs expire or have an annual fee?
The codes we sell are a one-off payment: they don't expire and have no annual fees. Once assigned to your products, they are yours forever.
Ready to get started? Get your official EAN codes and have them in your inbox in minutes, with no paperwork or waiting.