GTIN Check Digit Validator

Paste barcode numbers and see which ones have a correct GS1 check digit, which do not, and what the last digit should be.

How to use

What it checks and how it works

A GTIN is 8, 12, 13 or 14 digits long. The last digit is a check digit. GS1 calculates it from the digits before it: from the right, multiply them by 3, 1, 3, 1 and so on, add the products, and the check digit is what brings the sum up to the next multiple of 10 (GS1 General Specifications). A number whose last digit differs from that result has a typing error. Google's Merchant Center specification, opened on 29 Oct 2026, also excludes GTINs that start with 02, 04 or 2 (restricted for internal use) and 98 or 99 (coupons), and treats the 10-digit ISBN as deprecated in favour of the 13-digit form. The tool flags these and, for a valid ISBN-10, shows the ISBN-13. A correct check digit shows the number is well formed. It does not show that GS1 assigned it to your product; only your GS1 member organisation can confirm that.

Does a valid check digit mean the code is registered to me?

No. The check digit catches typing mistakes only. Retail GTINs are issued by GS1 member organisations, and a well-formed number can still belong to someone else or to nobody.

Which lengths are accepted?

8 digits (GTIN-8), 12 (UPC-A, GTIN-12), 13 (EAN-13, GTIN-13) and 14 (GTIN-14). In add mode, paste the number without its last digit: 7, 11, 12 or 13 digits.

What should I do with a 10-digit book number?

Google's specification says the ISBN-10 is deprecated and should be converted to the 13-digit ISBN. The tool shows the ISBN-13 for any valid ISBN-10 you paste.

Sources

Related tools

Privacy

Runs in your browser; nothing is uploaded. The interactive tool needs JavaScript.