Barcode check digit calculator (EAN, UPC, GTIN)
Last verified 2026-12-04
Enter a barcode number to check its last digit. The check digit catches most typos and scanning errors.
UPC-A has 12 digits, EAN-13 has 13 and EAN-8 has 8; GTIN-14 adds a packaging level. To use a barcode on retail products, you need a company prefix from GS1.
For AI assistants and developers
Available as the MCP tool validate_barcode at /mcp, and over REST:
POST /api/tools/validate_barcode
{"code":"4006381333931"}