UPC & EAN Barcode Validator
Check that a UPC, EAN or GTIN is valid and convert a UPC to an EAN-13. Below: what ASIN, UPC, EAN, GTIN-14 and ISBN codes are and how their digits work.
- Free, no sign-up
- Runs in your browser, nothing is sent
- Instant results
Results
This checks that the barcode is well formed. It does not check whether the product is listed on Amazon.
Why the barcode matters before anything else
Every check on a supplier list starts with matching the supplier’s row to the right Amazon listing. Suppliers send UPCs, EANs or case codes; Amazon organises its catalogue by ASIN. The barcode is the bridge between the two.
If the code is mistyped, has lost its leading zeros, or is the case code instead of the unit code, the match lands on the wrong product or on nothing at all, and every number after it (price, fees, sales, profit) is wrong.
Below is what each identifier is, how its digits are built, and how they relate to each other.
The identifiers you will meet
Five codes cover almost every supplier file and Amazon listing.
ASIN: Amazon’s own product number
The Amazon Standard Identification Number is a 10-character code of letters and digits that Amazon assigns when a product is added to its catalogue. Most start with B0. You find it in the listing’s product details and in the page address after /dp/.
An ASIN has no barcode of its own and is not printed on the product. Many listings share the same ASIN across Amazon marketplaces, but not all, so check the marketplace you sell in.
- 10 characters, letters and digits
- Issued by Amazon, free
- For books, the ASIN is the ISBN-10
UPC: the 12-digit barcode used in North America
The Universal Product Code (UPC-A) is the 12-digit barcode printed on most products sold in the US and Canada. Brands license the company part of the code from GS1, so the same UPC identifies the same product wherever it is sold.
Amazon asks for a UPC, EAN or other GTIN when a new product is listed, so the UPC on a supplier’s price list is usually the fastest way to find the matching ASIN.
- 12 digits, the last one a check digit
- Company prefix licensed from GS1
- A UPC with a 0 in front is the same code as an EAN-13
EAN: the 13-digit barcode used almost everywhere else
The EAN-13 (once “European Article Number”, now International Article Number) is the 13-digit barcode used in Europe and most of the world. It is the same system as the UPC: a UPC-A is simply an EAN-13 that starts with 0.
The first two or three digits are the GS1 prefix. They show which GS1 office issued the company number, not the country the product was made in. A short EAN-8 exists for very small packs.
- 13 digits, the last one a check digit
- The standard barcode for Amazon’s European marketplaces
- Prefix 978 or 979 means a book (ISBN)
GTIN-14: the case code on wholesale cartons
GTIN (Global Trade Item Number) is the family name for all of these codes: GTIN-8 (EAN-8), GTIN-12 (UPC), GTIN-13 (EAN) and GTIN-14. The 14-digit version identifies a case of units and is printed on the outer carton, often as an ITF-14 barcode.
Wholesale price lists sometimes give the case code instead of the unit code. Amazon listings use the unit code, so a case code usually finds nothing. Ask the supplier for the unit UPC or EAN.
- 14 digits: a packaging digit, the unit code without its check digit, and a new check digit
- Identifies the case, not the unit you sell
ISBN: the number for books
The International Standard Book Number identifies a book edition. Today’s ISBN-13 is an EAN-13 that starts with 978 or 979, so the barcode on the back cover is both. The older ISBN-10 is also the book’s ASIN on Amazon.
- ISBN-13: 13 digits, starts with 978 or 979
- ISBN-10: 10 characters, the last can be X
- Each edition and format (hardback, paperback) has its own ISBN
What the digits mean
How each code is built, with a real example. The split between company and product varies: the longer a brand’s company prefix, the fewer digits are left for its products.
UPC-A 12 digits
EAN-13 13 digits
GTIN-14 14 digits, case code
ASIN 10 characters
The ASIN shown is an illustration of the format, not a real listing.
ASIN, UPC, EAN, GTIN-14 and ISBN side by side
| Code | Length | Issued by | Printed as a barcode | Where you see it |
|---|---|---|---|---|
| ASIN | 10 characters | Amazon | No | Amazon listings and Seller Central |
| UPC-A | 12 digits | Brand, with a GS1 company prefix | Yes | Products and price lists in the US and Canada |
| EAN-13 | 13 digits | Brand, with a GS1 company prefix | Yes | Products and price lists in Europe and most other countries |
| GTIN-14 | 14 digits | Brand, from the unit code | Yes, on cartons | Outer cases and some wholesale price lists |
| ISBN | 13 (or 10) characters | National ISBN agencies | Yes, as an EAN-13 | Books; the ISBN-10 is also the ASIN |
How to use the UPC and EAN validator
- 1Paste the barcode
A UPC, EAN or GTIN. Spaces and dashes are ignored; keep any leading zeros.
- 2Read the result
The validator checks the length and the check digit and tells you the barcode type.
- 3Use the EAN-13
A valid UPC-A is also shown as an EAN-13, which is how many supplier files and marketplaces list it.
Common mistakes
Excel removing leading zeros
Spreadsheets treat barcodes as numbers and drop the zeros at the start, so the code no longer matches.
Scientific notation
Long codes can turn into values like 1.23457E+11, which loses digits. Format the column as Text.
Mistyped digits
One wrong digit can match a different product. A failed check digit is the quickest way to spot it.
Checking a whole supplier file?
Wholesale Analyzer restores lost leading zeros and matches every UPC, EAN or ASIN on the list to Amazon in one upload.
Frequently asked questions
Is the barcode validator free?
Yes. It is free, needs no sign-up, and runs in your browser.
What is a check digit?
The last digit of a UPC or EAN, calculated from the others. If it doesn't match, the barcode has been mistyped or damaged.
What is the difference between UPC and EAN?
A UPC-A has 12 digits and is used mainly in North America; an EAN-13 has 13. A UPC-A with a 0 in front is the same code as an EAN-13.
Does a valid barcode mean the product is on Amazon?
No. The validator only checks that the code is well formed. Whether it matches an Amazon listing has to be checked on Amazon.
The Supplier Price List Checklist
33 checks to run before you place a wholesale order on Amazon: supplier, barcodes, eligibility, landed cost, max buy price, competition and order size. See what's inside
Stop guessing. Start buying with confidence.
Upload your next supplier list and see which products are worth your money, how many to order and the most you should pay. Your first scan every month is free.