GTIN / Barcode Validator

Paste an 8-, 12-, 13-, or 14-digit barcode to check whether its check digit is correct.
Computed locally in your browser with the GS1 mod-10 check-digit scheme. Your barcode stays only on this page.

Validate a barcode check digit

Paste an 8-, 12-, 13-, or 14-digit barcode to confirm its check digit, see which GTIN scheme it matched — GTIN-8 (EAN-8), GTIN-12 (UPC-A), GTIN-13 (EAN-13), or GTIN-14 — and read off the corrected value when the digit is wrong. Every length uses the standard GS1 mod-10 weighting. Spaces and hyphens are ignored, so grouped input works as-is. Need to create valid fixtures instead? Try the EAN-8, UPC-A, EAN-13, or GTIN-14 generators.