Barcode Validator & Lookup

Enter a barcode number to validate its format and check digit. Supports EAN-13, EAN-8, UPC-A, UPC-E, ISBN, and GTIN.

Enter digits only (no spaces or dashes)

Supported Barcode Formats

EAN-13

13-digit European Article Number. The most widely used barcode standard for retail products worldwide.

Example: 5901234123457

EAN-8

8-digit compact version of EAN-13. Used for small products where space is limited.

Example: 96385074

UPC-A

12-digit Universal Product Code. Standard barcode in the United States and Canada.

Example: 042100005264

ISBN-13 / ISBN-10

International Standard Book Number. Used to uniquely identify books and publications.

Example: 9780306406157 or 0306406152

GTIN-14

14-digit Global Trade Item Number. Used for trade items and case codes in logistics.

Example: 10012345678902

UPC-E

6 or 8-digit compressed version of UPC-A. Used on very small packages.

Example: 04252614

How Barcode Check Digits Work

Most barcode formats include a check digit — the last digit in the barcode — that helps verify the barcode was scanned or entered correctly. It's calculated from the other digits using a specific algorithm.

EAN/UPC Check Digit Algorithm

  1. Starting from the right (excluding the check digit), alternate between multiplying by 3 and 1
  2. Sum all the products
  3. The check digit is the number needed to round the sum up to the nearest multiple of 10

For example, for EAN-13 code 5901234123457:

  • Multiply alternating digits: 5×1 + 9×3 + 0×1 + 1×3 + 2×1 + 3×3 + 4×1 + 1×3 + 2×1 + 3×3 + 4×1 + 5×3 = 5+27+0+3+2+9+4+3+2+9+4+15 = 83
  • Check digit: 10 - (83 mod 10) = 10 - 3 = 7

Scan Any Barcode with Your Camera

The Scan & Generate app instantly reads all barcode formats, performs product lookups, and keeps a searchable history of everything you've scanned.

Download on Google Play