GTIN Validator
Check whether a GTIN-8, GTIN-12, GTIN-13, or GTIN-14 has a valid check digit.
Overview
GTIN (Global Trade Item Number) is GS1's umbrella identifier — GTIN-12 is a UPC-A, GTIN-13 is an EAN-13, and GTIN-8/GTIN-14 cover smaller packaging and shipping cases respectively. All four lengths share the same check-digit formula: starting from the digit next to the check digit and moving left, weights alternate 3 and 1, and the check digit brings the weighted sum to the next multiple of 10.
Examples
Valid GTIN-13 (EAN-13)
4006381333931
Valid GTIN-13
Invalid GTIN-13
4006381333930
Invalid GTIN-13 — expected check digit 1
How It Works
- Enter an 8, 12, 13, or 14 digit GTIN.
- The tool detects the length and recomputes the check digit.
- It reports whether the GTIN is valid, and the expected check digit if it isn't.
Use Cases
Verifying product data feeds
Catch a mistyped or corrupted GTIN in a product catalog or marketplace listing before it ships.
Cross-checking shipping cases
Confirm a GTIN-14 case code was assigned correctly before printing labels.
Tips
- The same check-digit formula applies to every GTIN length — only the total digit count changes.
FAQ
No. Every check runs locally in your browser.
GTIN is GS1's umbrella term — a GTIN-12 is exactly a UPC-A and a GTIN-13 is exactly an EAN-13, just under GS1's unified naming.