# EAN

Key: `identity.commerce.ean`

European Article Number (also called Universal Product Code / UPC). Standard versions: EAN-8 (8 digits) and EAN-13 (13 digits). Last digit is check digit.

Page: <https://meridian.online/docs/projects/finetype/types/identity/commerce/ean>

Samples: `5901234123457`, `96385074`, `4006381333931`

## Background

### Origin

In 1974 the U.S.-based Uniform Code Council (UCC) was appointed as administrator of the new Universal Product Code (U.P.C) barcode.[[1]](https://support.gs1.org/support/solutions/articles/43000734073-gs1-historical-timeline-till-1999) In 1977 the European Article Numbering Association (EAN) was established as an international, not-for-profit standards organisation in Brussels, Belgium.[[1]](https://support.gs1.org/support/solutions/articles/43000734073-gs1-historical-timeline-till-1999) The UCC and EAN merged in 2005, creating a single international organisation with 101 local GS1 Member Organisations.[[1]](https://support.gs1.org/support/solutions/articles/43000734073-gs1-historical-timeline-till-1999)

The EAN system has been integrated into the broader Global Trade Item Number (GTIN) standard.[[2]](https://en.wikipedia.org/wiki/International_Article_Number)

### Use

The first three digits usually identify the GS1 Member Organisation the manufacturer joined, but do not necessarily declare where the product is made.[[2]](https://en.wikipedia.org/wiki/International_Article_Number) So a prefix is a poor guide to a product's country of origin, and it is best not to derive one from it. (Meridian's view)

EAN-13 codes beginning with 0 are 12-digit UPC codes with a 0 prepended.[[2]](https://en.wikipedia.org/wiki/International_Article_Number) Keep these codes as text: a spreadsheet or numeric column that drops that leading zero turns a valid EAN-13 into a 12-digit string. (Meridian's view) When a file mixes 12- and 13-digit codes, padding the shorter ones with a leading zero is usually the fair way to compare them. (Meridian's view)

The EAN prefix 978, and later 979, has been allocated since the 1980s for books, so that ISBNs can be carried as EANs.[[2]](https://en.wikipedia.org/wiki/International_Article_Number) The prefix 977 indicates an International Standard Serial Number (ISSN).[[2]](https://en.wikipedia.org/wiki/International_Article_Number) A 13-digit code starting 978 or 979 is likely a book's ISBN, so check that prefix before you classify a column as general product codes. (Meridian's view)

### Where you'll meet it

Open Food Facts describes the code field in its CSV export as the product barcode, which can be EAN-13 or an internal code for some food stores.[[3]](https://static.openfoodfacts.org/data/data-fields.txt) For products without a barcode, Open Food Facts assigns a number starting with the reserved prefix 200.[[3]](https://static.openfoodfacts.org/data/data-fields.txt)

## Sources

1. [The History of GS1 Barcodes: First Scan to QR Code Future](https://support.gs1.org/support/solutions/articles/43000734073-gs1-historical-timeline-till-1999) — organisation
2. [International Article Number](https://en.wikipedia.org/wiki/International_Article_Number) — secondary source
3. [data-fields.txt](https://static.openfoodfacts.org/data/data-fields.txt) — dataset
