EAN / UPC Barcode Validator
Validate EAN-13, EAN-8, and UPC-A barcodes using check digit verification. Auto-detects format by digit count.
Enter Barcode
Enter digits only. Auto-detects: 8 digits = EAN-8, 12 = UPC-A, 13 = EAN-13.
Try an example:
EAN / UPC Barcode Validator
Barcodes are the backbone of retail and logistics. This tool validates the most common barcode standards using their respective check digit algorithms.
Supported Formats
- EAN-13 (13 digits): European Article Number. Used worldwide for retail products, books (ISBN), and serials (ISSN). The first 3 digits identify the GS1 country/region prefix.
- EAN-8 (8 digits): Compact version of EAN-13, used on small products where a full barcode won't fit.
- UPC-A (12 digits): Universal Product Code used primarily in the US and Canada. Equivalent to EAN-13 with a leading zero.
Check Digit Algorithm
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.
GS1 Prefixes
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.