sortyra.com/knowledge-base/ean-gtin-mpn-product-code

EAN, GTIN, MPN and product codes – differences and use

Markdownllms.txtai-catalog.jsonSKILL.mdauth.md
# EAN, GTIN, MPN and product codes – differences and use

> What EAN, GTIN, MPN, SKU and product codes are, how they differ, how to verify an EAN check digit and why these codes matter in a feed for comparison sites.

Source: <https://sortyra.com/knowledge-base/ean-gtin-mpn-product-code>

---

[Sortyra](https://sortyra.com/) [Knowledge base](https://sortyra.com/knowledge-base) [Feed basics](https://sortyra.com/knowledge-base#basics)

# EAN, GTIN, MPN and product codes

Sortyra team · March 4, 2026 · 8 min read

Search the knowledge base

[Knowledge base](https://sortyra.com/knowledge-base)

**Feed basics**

- [What is a product feed](https://sortyra.com/knowledge-base/what-is-a-product-feed)
- [Feed types: XML, CSV, TSV, JSON, Google Sheets and API](https://sortyra.com/knowledge-base/feed-types-xml-csv-json)
- [What a product feed is used for](https://sortyra.com/knowledge-base/what-product-feeds-are-used-for)
- [What is a feed manager and when do you need one?](https://sortyra.com/knowledge-base/what-is-a-feed-manager)
- [Supplier feeds, wholesale and dropshipping](https://sortyra.com/knowledge-base/supplier-feed-dropshipping)
- [Feeds for price comparison sites (Heureka, Zboží and others)](https://sortyra.com/knowledge-base/price-comparison-site-feed)
- [Google Merchant Center and Google Shopping feed](https://sortyra.com/knowledge-base/google-merchant-center-feed)
- [Catalogue for Facebook and Instagram](https://sortyra.com/knowledge-base/facebook-instagram-catalogue-feed)
- [Feeds for marketplaces](https://sortyra.com/knowledge-base/marketplace-product-feeds)
- [EAN, GTIN, MPN and product codes](https://sortyra.com/knowledge-base/ean-gtin-mpn-product-code)
- [Product categories and category trees](https://sortyra.com/knowledge-base/product-categories-category-tree)
- [Product attributes and variants](https://sortyra.com/knowledge-base/product-attributes-and-variants)
- [Product matching on comparison sites](https://sortyra.com/knowledge-base/product-matching-comparison-sites)
- [Availability, stock and delivery time](https://sortyra.com/knowledge-base/availability-stock-delivery-time)
- [Price, VAT and currency in a feed](https://sortyra.com/knowledge-base/price-vat-currency-in-feed)
- [Images in feeds](https://sortyra.com/knowledge-base/images-in-product-feeds)
- [How often to update a feed](https://sortyra.com/knowledge-base/how-often-to-update-a-feed)
- [The most common feed errors and how to fix them](https://sortyra.com/knowledge-base/common-feed-errors-how-to-fix)

**Getting started**

- [Getting started with Sortyra – an overview](https://sortyra.com/knowledge-base/getting-started-with-sortyra)
- [Adding your first feed](https://sortyra.com/knowledge-base/adding-your-first-feed)
- [Your first output for a channel](https://sortyra.com/knowledge-base/first-output-for-a-channel)
- [Dashboard](https://sortyra.com/knowledge-base/feed-and-alerts-dashboard)
- [Team, roles and access](https://sortyra.com/knowledge-base/team-roles-and-access)
- [Subscription, payments and free trial](https://sortyra.com/knowledge-base/subscription-payments-free-trial)
- [Billing details](https://sortyra.com/knowledge-base/company-billing-details)
- [Booking a 15-minute call and what to prepare](https://sortyra.com/knowledge-base/book-a-15-minute-call)

**Catalogue**

- [Sources](https://sortyra.com/knowledge-base/sources-input-feeds)
- [Source settings: field mapping, item ID, download schedule, login](https://sortyra.com/knowledge-base/feed-source-settings)
- [Products: search and filters](https://sortyra.com/knowledge-base/products-search-and-filters)
- [Manual edits and locked fields](https://sortyra.com/knowledge-base/manual-edits-locked-fields)
- [Fields and values](https://sortyra.com/knowledge-base/feed-fields-and-values)
- [Categories in Sortyra: your own tree, assignment and channel mapping](https://sortyra.com/knowledge-base/product-categories-in-sortyra)
- [Thematic and seasonal categories: Christmas, gifts, Black Friday](https://sortyra.com/knowledge-base/thematic-seasonal-categories)
- [Renaming a category without losing SEO: 301 redirects for each platform](https://sortyra.com/knowledge-base/rename-category-301-redirects)
- [SortyMigration: moving your shop step by step](https://sortyra.com/knowledge-base/migrating-from-another-platform)
- [Duplicates and the same product from several suppliers](https://sortyra.com/knowledge-base/duplicate-products-multiple-suppliers)

**Processing**

- [Rules: how they work](https://sortyra.com/knowledge-base/feed-rules-bulk-editing)
- [Rule recipes – examples](https://sortyra.com/knowledge-base/feed-rule-recipes-examples)
- [AI Copilot: set up and edit your feed in a conversation](https://sortyra.com/knowledge-base/ai-copilot-plain-language-feed-edits)
- [AI Copilot prompt examples](https://sortyra.com/knowledge-base/ai-copilot-prompt-examples)
- [AI content: titles, descriptions, attributes](https://sortyra.com/knowledge-base/ai-content-descriptions-titles-attributes)
- [Prompt examples for AI content](https://sortyra.com/knowledge-base/ai-content-prompt-examples)
- [Translations, glossary and translation memory](https://sortyra.com/knowledge-base/translate-product-feed-glossary-memory)
- [Image studio](https://sortyra.com/knowledge-base/image-studio-feed-product-photos)
- [Feed visuals (image editor)](https://sortyra.com/knowledge-base/feed-visuals-image-editor)
- [Output check and data quality](https://sortyra.com/knowledge-base/check-feed-before-publishing)

**Outputs and channels**

- [Outputs and feed links](https://sortyra.com/knowledge-base/outputs-and-feed-links)
- [Channel formats and custom specifications](https://sortyra.com/knowledge-base/channel-formats-custom-specification)
- [Sharing feeds with partners](https://sortyra.com/knowledge-base/sharing-feeds-with-partners)
- [Connecting your shop via API](https://sortyra.com/knowledge-base/connect-online-shop-via-api)
- [Marketplaces: connection, offers, orders](https://sortyra.com/knowledge-base/marketplaces-connection-offers-orders)
- [Marketplace pricing: exchange rate, commission, VAT and minimum margin](https://sortyra.com/knowledge-base/marketplace-pricing)
- [Heureka Marketplace: connection, shipping and orders](https://sortyra.com/knowledge-base/heureka-marketplace-connection-orders)

**Prices and sales**

- [Prices and competition](https://sortyra.com/knowledge-base/competitor-based-pricing)
- [Price position](https://sortyra.com/knowledge-base/price-position-on-comparison-sites)
- [Connecting Google Merchant Center: market prices and product performance](https://sortyra.com/knowledge-base/connect-google-merchant-center)
- [Bidding on comparison sites](https://sortyra.com/knowledge-base/cpc-bidding-heureka-zbozi)
- [Product matching with comparison sites in Sortyra](https://sortyra.com/knowledge-base/comparison-site-matching-in-sortyra)
- [Stock and delivery](https://sortyra.com/knowledge-base/stock-and-delivery-times)
- [Own warehouse: marking a source, several warehouses and "in stock"-only feeds](https://sortyra.com/knowledge-base/own-warehouse-stock-feed)
- [Exporting stock from a warehouse program to a feed](https://sortyra.com/knowledge-base/stock-export-warehouse-software)
- [POHODA: exporting stock to your shop, Heureka and Google](https://sortyra.com/knowledge-base/pohoda-stock-export-feed)
- [Money S3: exporting stock to a feed for your shop and comparison sites](https://sortyra.com/knowledge-base/money-s3-stock-export-feed)
- [ABRA Flexi: stock and price-list prices straight into your feed](https://sortyra.com/knowledge-base/abra-flexi-stock-feed)
- [KROS Omega: stock card list into your feed](https://sortyra.com/knowledge-base/kros-omega-stock-feed)
- [Price quotes for customers](https://sortyra.com/knowledge-base/price-quotes-for-business-customers)
- [External and web data](https://sortyra.com/knowledge-base/external-data-and-web-data)

**Insights and checks**

- [Insights and alerts](https://sortyra.com/knowledge-base/feed-insights-and-alerts)
- [Freshness guard and feed update history](https://sortyra.com/knowledge-base/feed-freshness-guard)
- [Safeguards: prices and blocked terms](https://sortyra.com/knowledge-base/feed-safeguards-prices-blocked-terms)
- [Change history and undo](https://sortyra.com/knowledge-base/change-history-and-undo)
- [System status](https://sortyra.com/knowledge-base/system-status-feed-runs)

**Integrations and API**

- [AI and integrations: your own key or Managed AI](https://sortyra.com/knowledge-base/ai-integrations-own-api-key)
- [Alerts by email, Slack, Telegram and webhook](https://sortyra.com/knowledge-base/feed-alerts-email-slack-telegram-webhook)
- [REST API](https://sortyra.com/knowledge-base/rest-api-product-feeds)
- [Working through an AI agent – MCP](https://sortyra.com/knowledge-base/mcp-ai-agent-product-feeds)
- [Agencies and client management](https://sortyra.com/knowledge-base/agencies-client-feed-management)
- [Partner programme: sign-up, commissions and invoices](https://sortyra.com/knowledge-base/partner-programme-commissions)
- [Data and privacy: export, deletion and improving the service](https://sortyra.com/knowledge-base/data-privacy-export-deletion)

**Troubleshooting**

- [The feed is not downloading](https://sortyra.com/knowledge-base/feed-not-downloading-source-error)
- [The supplier stopped updating the feed – how to spot it before your customers do](https://sortyra.com/knowledge-base/supplier-stopped-updating-feed)
- [Products missing from the output](https://sortyra.com/knowledge-base/products-missing-from-feed-output)
- [A comparison site or Google rejects your feed](https://sortyra.com/knowledge-base/comparison-site-or-google-rejects-feed)
- [AI not working or limit reached](https://sortyra.com/knowledge-base/ai-not-working-limit-reached)
- [Frequently asked questions](https://sortyra.com/knowledge-base/sortyra-faq)

An EAN (now called a GTIN) is a globally unique number under the barcode, assigned by the manufacturer. An MPN is the manufacturer's product code, and the SKU or product code is your own internal number. Comparison sites, Google and marketplaces use the EAN to recognise that it's the same product and assign your offer to the right product page.

**In this article**

1. Why products need codes
2. Codes at a glance
3. What codes look like in a feed
4. The check digit: how to verify that an EAN is valid
5. Why codes matter so much
6. What to watch out for
7. How Sortyra helps
8. Frequently asked questions

## Why products need codes

Imagine twenty online shops selling the same sleeping bag. One calls it "Horalka Mummy 800 sleeping bag blue", another "HORALKA mummy-800 sleeping sack", a third "Mummy sleeping bag to -5 °C". A person understands that these are the same thing; a computer doesn't. That's why every product has **codes** – numbers that don't change depending on who describes the product and how.

A code is like a **product's passport number**: the name can change, the code stays. In product feeds (files listing products – the basics are in [What is a product feed](https://sortyra.com/knowledge-base/what-is-a-product-feed)) you will mainly come across four kinds of code.

## Codes at a glance

| Code | Who assigns it | Unique | Example |
| --- | --- | --- | --- |
| **EAN / GTIN** | the manufacturer (a number from the GS1 organisation) | worldwide | `8580004987658` |
| **MPN** | the manufacturer | within that manufacturer | `HM-800-BL` |
| **SKU / product code** | you (the retailer) | in your online shop | `SPAC-118` |
| **ID in the feed** | you | in the feed | `SPAC-118` |

### EAN and GTIN

The **EAN** (European Article Number) is the number under the barcode on the packaging. It most often has 13 digits. Today its official name is **GTIN** (Global Trade Item Number), which is the common name for the whole family of these numbers:

- **GTIN-13** (EAN-13) – the usual 13-digit code in Europe,
- **GTIN-8** (EAN-8) – a short code for small packages,
- **GTIN-12** (UPC) – a 12-digit code used mainly in the USA and Canada,
- **GTIN-14** – a code for larger packs and cartons, not for individual units,
- **ISBN-13** – the code for books, which is also a valid EAN (it starts with 978 or 979).

So when Google asks for a `gtin` and Heureka for an `EAN`, in practice they mean the same number.

EANs are assigned by the **manufacturer or brand owner**, who buys a range of numbers for this from **GS1** (in Slovakia, GS1 Slovakia). The first digits indicate the country of the GS1 organisation that issued the number – for example 858 is Slovakia and 859 is Czechia. **They do not indicate the country of manufacture**: goods made in Asia can have a Slovak prefix if a Slovak company registered them.

### MPN

The **MPN** (Manufacturer Part Number) is the code a manufacturer uses for a product in its catalogue, for example `HM-800-BL`. It is unique only within one manufacturer – another brand may use the same code for completely different goods. That's why the MPN is always used together with the **brand**. Google asks for it for products that have no GTIN.

### SKU and product code

The **SKU** (Stock Keeping Unit), often called the "product code" or "catalogue number" in online shops, is your **internal number**. You decide it yourself, and it helps you find your way around your warehouse and shop. Your supplier has its own codes; you can have different ones. Outside your shop, the SKU means nothing. In Heureka, the manufacturer's or seller's code is given in the `PRODUCTNO` field.

### ID in the feed

Every item in a feed must have a **unique identifier** – `ITEM_ID` in Heureka, `id` in Google. Most often this is the SKU. What matters is that it **never changes**: the channel uses it to link the product's history, statistics and ads. If you change the ID, the channel treats it as a new product.

## What codes look like in a feed

The same sleeping bag in a feed for Heureka and for Google:

`<!-- Heureka --> <SHOPITEM> <ITEM_ID>SPAC-118</ITEM_ID> <PRODUCTNO>HM-800-BL</PRODUCTNO> <EAN>8580004987658</EAN> <MANUFACTURER>Horalka</MANUFACTURER> </SHOPITEM> <!-- Google Merchant Center --> <item> <g:id>SPAC-118</g:id> <g:mpn>HM-800-BL</g:mpn> <g:gtin>8580004987658</g:gtin> <g:brand>Horalka</g:brand> </item>`

## The check digit: how to verify that an EAN is valid

The last digit of an EAN is the **check digit**. It is calculated from the other digits, so a typo in any one digit can be detected. The calculation for EAN-13:

1. Take the first 12 digits.
2. Multiply the digits in odd positions (1st, 3rd, 5th …) by 1 and those in even positions (2nd, 4th, 6th …) by 3.
3. Add everything up.
4. The check digit is the number you need to add to reach the next multiple of 10.

Example for the made-up code `858123456789?`:

| Position | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Digit | 8 | 5 | 8 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| Weight | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 | 1 | 3 |
| Result | 8 | 15 | 8 | 3 | 2 | 9 | 4 | 15 | 6 | 21 | 8 | 27 |

The total is 126. The next multiple of 10 is 130, which is 4 away, so the check digit is **4** and the full code is `8581234567894`. If the feed contained `8581234567895`, it would be invalid.

**Warning:** A valid check digit doesn't mean the EAN belongs to this particular product. It only confirms that there's no typo in the number.

## Why codes matter so much

- **Matching on comparison sites.** Heureka and Zboží use the EAN to assign your offer to a product page with competitors' prices. Without it, the product often appears outside the product page. More in [Feeds for price comparison sites](https://sortyra.com/knowledge-base/price-comparison-site-feed).
- **Google Shopping.** Google uses the GTIN to recognise the product and place it in the right results; for branded goods without a GTIN it may limit how often they're shown.
- **Marketplaces.** An offer is almost always attached to an existing product page by EAN.
- **Merging suppliers.** You recognise the same product from two wholesalers by its EAN, even if they use different codes and names (more in [Supplier feeds](https://sortyra.com/knowledge-base/supplier-feed-dropshipping)).

## What to watch out for

- **Don't make up EANs.** A made-up or "borrowed" number may belong to another product. Google and marketplaces check who a number belongs to and reject such offers.
- **Internal codes are not EANs.** Numbers starting with 20 to 29 are reserved for in-store use (for example goods sold by weight) and aren't valid outside the shop.
- **Shared EAN across a series.** Some suppliers give one EAN to every size or colour. But each variant should have its own EAN; otherwise the comparison site merges them into a single product page.
- **Lost zeros.** When opened in Excel, an EAN can lose its leading zero or turn into `8.58E+12`. Open the column with codes as text.
- **Spaces and hyphens.** An EAN in a feed should have no spaces or hyphens – digits only.
- **If there is no EAN**, for example for handmade goods or your own products, don't invent one. Google lets you set `identifier_exists` to `no` for such products. If you want to sell your own products on marketplaces, apply for your own GS1 number range.

**Tip:** If your supplier doesn't send EANs, ask whether they have them in another file or in their price list. They are often available, just not in the feed.

## How Sortyra helps

Sortyra merges products from several suppliers by EAN, or by product code, and recognises a shared EAN across a series so that different products aren't merged by mistake. When the EAN is missing, it matches supplier products with your shop and with each other even without it – uncertain pairs are shown to you for review (see [Own warehouse](https://sortyra.com/knowledge-base/own-warehouse-stock-feed)). You can set a prefix for supplier codes so they don't clash. In the **Product matching** section you get suggestions for products without a valid EAN – always with a valid check digit and with the source stated; you approve every suggestion yourself. Sortyra never makes up EANs. More on the [Product matching](https://sortyra.com/features/product-matching) page.

## Frequently asked questions

### What is the difference between an EAN and a GTIN?

GTIN is the official common name for the family of barcode numbers, and EAN-13 is its most widespread type in Europe. When a channel asks for a GTIN, that's usually where your EAN goes.

### Where do I find a product's EAN?

On the packaging under the barcode, in the manufacturer's documentation, or in the supplier's feed or price list. If you don't have it, ask your supplier.

### Can I make up an EAN?

No. EANs are assigned by the manufacturer from a range obtained from GS1. A made-up number may belong to another product, and channels reject such offers.

### What is an MPN and when should I give one?

The MPN is the manufacturer's product code. It is given together with the brand, mainly when the product has no EAN, for example for spare parts.

### Is a SKU the same as an EAN?

No. A SKU is your internal number that you choose yourself; an EAN is a globally unique number from the manufacturer. You can include both in a feed, each in its own field.

### How do I find out whether an EAN is valid?

Check the check digit – the last digit must match the calculation from the previous twelve. To check who a code belongs to, use the GS1 database.

[← Previous article **Feeds for marketplaces**](https://sortyra.com/knowledge-base/marketplace-product-feeds) [Next article → **Product categories and category trees**](https://sortyra.com/knowledge-base/product-categories-category-tree)

## More articles: Feed basics

- [What is a product feed](https://sortyra.com/knowledge-base/what-is-a-product-feed)
- [Feed types: XML, CSV, TSV, JSON, Google Sheets and API](https://sortyra.com/knowledge-base/feed-types-xml-csv-json)
- [What a product feed is used for](https://sortyra.com/knowledge-base/what-product-feeds-are-used-for)
- [What is a feed manager and when do you need one?](https://sortyra.com/knowledge-base/what-is-a-feed-manager)
- [Supplier feeds, wholesale and dropshipping](https://sortyra.com/knowledge-base/supplier-feed-dropshipping)
- [Feeds for price comparison sites (Heureka, Zboží and others)](https://sortyra.com/knowledge-base/price-comparison-site-feed)
- [Google Merchant Center and Google Shopping feed](https://sortyra.com/knowledge-base/google-merchant-center-feed)
- [Catalogue for Facebook and Instagram](https://sortyra.com/knowledge-base/facebook-instagram-catalogue-feed)
- [Feeds for marketplaces](https://sortyra.com/knowledge-base/marketplace-product-feeds)
- [Product categories and category trees](https://sortyra.com/knowledge-base/product-categories-category-tree)
- [Product attributes and variants](https://sortyra.com/knowledge-base/product-attributes-and-variants)
- [Product matching on comparison sites](https://sortyra.com/knowledge-base/product-matching-comparison-sites)
- [Availability, stock and delivery time](https://sortyra.com/knowledge-base/availability-stock-delivery-time)
- [Price, VAT and currency in a feed](https://sortyra.com/knowledge-base/price-vat-currency-in-feed)
- [Images in feeds](https://sortyra.com/knowledge-base/images-in-product-feeds)
- [How often to update a feed](https://sortyra.com/knowledge-base/how-often-to-update-a-feed)
- [The most common feed errors and how to fix them](https://sortyra.com/knowledge-base/common-feed-errors-how-to-fix)

## Try it on your own feed

[Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)