GTIN Validator & Check Digit Calculator

Validate GTIN-8, UPC, EAN and GTIN-14 codes or generate the correct GS1 check digit.

This tool runs entirely in your browser. Your files are never uploaded to a server.

Valid

Validation result

GTIN-13 / EAN-13

Detected type

1

Expected check digit

1

Entered check digit

4006381333931

Complete code

What the tool checks

The tool validates the length, numeric structure and final check digit of GTIN-8, GTIN-12 UPC-A, GTIN-13 EAN-13 and GTIN-14 identifiers.

How to use it

Paste a complete code to validate it, or enter a seven, eleven, twelve or thirteen-digit body to generate the missing final digit.

Method and output

It applies the GS1 modulo-10 algorithm with alternating weights from the right and compares the calculated digit with the last entered digit.

Practical example

Paste a complete code to validate it, or enter a seven, eleven, twelve or thirteen-digit body to generate the missing final digit. It applies the GS1 modulo-10 algorithm with alternating weights from the right and compares the calculated digit with the last entered digit.

Reading the result

The tool validates the length, numeric structure and final check digit of GTIN-8, GTIN-12 UPC-A, GTIN-13 EAN-13 and GTIN-14 identifiers. It applies the GS1 modulo-10 algorithm with alternating weights from the right and compares the calculated digit with the last entered digit.

Important limitations

A mathematically valid check digit does not prove that GS1 assigned the identifier, that the company prefix is licensed or that the product data is correct.

Privacy and verification

A mathematically valid check digit does not prove that GS1 assigned the identifier, that the company prefix is licensed or that the product data is correct. Processing stays in the browser and entered identifiers or listing copy are not uploaded.

Frequently Asked Questions

What the tool checks
The tool validates the length, numeric structure and final check digit of GTIN-8, GTIN-12 UPC-A, GTIN-13 EAN-13 and GTIN-14 identifiers.
Method and output
It applies the GS1 modulo-10 algorithm with alternating weights from the right and compares the calculated digit with the last entered digit.
Important limitations
A mathematically valid check digit does not prove that GS1 assigned the identifier, that the company prefix is licensed or that the product data is correct.