Datatypes

European Article Number (EAN-13, EAN-8)

ID ean

DatatypeNot PIIidentifier

GS1 barcode number of a trade item, the form of the GTIN printed under EAN-13 and EAN-8 barcodes on retail goods, books, music releases and video discs. EAN-13 has 13 digits: a GS1 prefix, a company number, an item reference and a check digit. EAN-8 has 8 digits and is used on small packages. The last digit is a GS1 mod 10 check digit. Books carry their ISBN-13 as an EAN-13 with the prefix 978 or 979. A GS1 element string (gtin) carries the same number as 14 digits, with leading zeros, after the Application Identifier 01.

Categories
GS1 standards, Objects identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
EAN13_correct, ean
FTA
CHECKDIGIT.EAN13
Schema.org
gtin13
python-stdnum
stdnum.ean
Check digit
gtin
Quality
100/100
Metacrafter rules
5 rules (2 by field name, 3 by value)
Supported by tools
Auto-Type, DataPrep, FTA (Fast Text Analysis), Great Expectations Semantic Types Expectations, metacrafter, python-stdnum

Regular expression

^(?:\d{8}|\d{13})$

Python re syntax.

Examples

ValueDescription
9506000134352GS1's example GTIN 09506000134352 as an EAN-13
9520000000011Synthetic number with the GS1 demonstration prefix 952
9780521293662ISBN-13 978-0-521-29366-2 as an EAN-13
95060001343520 invalidFourteen digits, a GTIN-14

Translations

LanguageNameDescription
RussianЕвропейский код товара (EAN-13, EAN-8)Штрихкод товара по стандарту GS1 из 13 или 8 цифр; последняя цифра контрольная.

Sources

Use this record