EAN, GTIN and ISBN Validator

Paste one or more numbers – one per line, spaces and hyphens are fine. The tool detects the type from the length, verifies the check digit according to GS1 or the ISBN standard and converts ISBNs.

Your inputs are saved in this browser only.

Validate: full number with 8, 10, 12, 13 or 14 digits. Calculate: number without check digit (7, 9, 11, 12 or 13 digits).

Your text stays in your browser – it is not sent, not stored and not added to the address bar.

Result

Result
4 of 5 valid
Details per number
NumberTypeResultDetails
4006381333931EAN-13 (GTIN-13)✓ validPrefix 400
978-3-16-148410-0ISBN-13 / EAN-13✓ validPrefix 978 · Range 978/979: book (ISBN) · as ISBN-10: 3-16-148410-X
0-306-40615-2ISBN-10✓ validas ISBN-13: 978-0-306-40615-7
036000291452UPC-A (GTIN-12)✓ validPrefix 003
4006381333932EAN-13 (GTIN-13)✗ wrong check digit: 2 instead of 1Prefix 400

How it is calculated

Barcode numbers on products (EAN/GTIN/UPC) and book numbers (ISBN) end with a check digit. It is calculated from the other digits and catches typos: every single wrong digit and most swaps of adjacent digits. A correct check digit only means the number is well-formed – not that the product or book exists.

How many digits does each number have?

How the check digit is calculated

GS1 method (EAN, UPC, GTIN, ISBN-13): Starting from the right, multiply the digits alternately by 3 and 1 and add them up. The check digit tops the sum up to the next multiple of 10. Example 400638133393: 4·1 + 0·3 + 0·1 + 6·3 + 3·1 + 8·3 + 1·1 + 3·3 + 3·1 + 3·3 + 9·1 + 3·3 = 89 → check digit 1, giving 4006381333931.

ISBN-10 (modulus 11): The nine digits are weighted 10, 9, 8 … 2. The check digit tops the sum up to a multiple of 11; if it comes out as 10, an X is written. Example 0-306-40615-? → sum 130 → 11 − (130 mod 11) = 2.

ISBN-10 → ISBN-13: add 978 in front, drop the old check digit and recalculate it with the GS1 method (0-306-40615-2 → 978-0-306-40615-7). ISBNs starting with 979 have no 10-digit equivalent.

Does the prefix tell the country of origin?

No. The first digits (GS1 prefix) only show which national GS1 organisation issued the number to a company. A company may obtain its numbers from GS1 in another country, and the product can be made anywhere. That is why the tool only shows “Prefix xyz” and names just the fixed special ranges: 977 (periodicals), 978/979 (books, 979-0 printed music) and 020–029, 040–049 and 200–299 for retailers’ and companies’ internal numbers.

Your numbers are processed only in your browser and are not sent anywhere.

Frequently asked questions

How do I calculate an EAN check digit?

Choose “Calculate the check digit” above and enter the first 12 digits of an EAN-13 (or 7 of an EAN-8, 11 of a UPC-A). By hand: from the right, multiply alternately by 3 and 1, add everything and top up to the next multiple of ten.

Does a valid check digit mean the barcode is registered?

Not necessarily. The check digit only checks the structure. Whether a number is actually assigned to a product is known only to its owner or GS1’s registry (e.g. “Verified by GS1”).

Does prefix 690–699 mean “made in China”?

No. GS1 prefixes show which GS1 member organisation issued the number, not where the product was made. GS1 states explicitly that the prefix does not indicate the country of origin.

What does the X in an ISBN-10 mean?

X stands for the check value 10: the modulus-11 method can produce a two-digit result, but there is only room for one character. ISBN-13 never uses an X.

Can every ISBN-13 be converted to an ISBN-10?

Only ISBN-13s starting with 978. The 979 prefix was introduced with the 13-digit ISBN, so these ISBNs have no 10-digit form.

Sources and legal basis

As of:

Related tools