Validate EAN-13, EAN-8, and UPC-A barcodes using check digit verification. Auto-detects format by digit count.
Enter digits only. Auto-detects: 8 digits = EAN-8, 12 = UPC-A, 13 = EAN-13.
Try an example:
Barcodes are the backbone of retail and logistics. This tool validates the most common barcode standards using their respective check digit algorithms.
EAN-13, EAN-8, and UPC-A all use a weighted modulo-10 algorithm. Each digit is multiplied alternately by 1 and 3 (for EAN-13/UPC-A; reversed for EAN-8), the products are summed, and the check digit makes the total a multiple of 10.
The first 3 digits of an EAN-13 barcode represent the GS1 member organization (usually tied to a country). Special prefixes include 978/979 for ISBN books, 977 for ISSN periodicals, and ranges 200–299 for in-store use.