← All free tools

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
Spaces and dashes are ignored. Keep leading zeros.

Results

Result-
Type-
Correct check digit-
As EAN-13-

This checks that the barcode is well formed. It does not check whether the product is listed on Amazon.

Product identifiers

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

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

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

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

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

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

0Number system
36000Rest of the company prefix
29145Item reference
2Check digit

EAN-13 13 digits

400GS1 prefix (issuing office)
6381Company number
33393Item reference
1Check digit

GTIN-14 14 digits, case code

1Packaging level
003600029145Unit code without its check digit
9New check digit

ASIN 10 characters

B0Usual start for non-book products
7XK3M9QDAssigned by Amazon, no meaning in the characters

The ASIN shown is an illustration of the format, not a real listing.

ASIN, UPC, EAN, GTIN-14 and ISBN side by side

CodeLengthIssued byPrinted as a barcodeWhere you see it
ASIN10 charactersAmazonNoAmazon listings and Seller Central
UPC-A12 digitsBrand, with a GS1 company prefixYesProducts and price lists in the US and Canada
EAN-1313 digitsBrand, with a GS1 company prefixYesProducts and price lists in Europe and most other countries
GTIN-1414 digitsBrand, from the unit codeYes, on cartonsOuter cases and some wholesale price lists
ISBN13 (or 10) charactersNational ISBN agenciesYes, as an EAN-13Books; the ISBN-10 is also the ASIN

How to use the UPC and EAN validator

  1. 1
    Paste the barcode

    A UPC, EAN or GTIN. Spaces and dashes are ignored; keep any leading zeros.

  2. 2
    Read the result

    The validator checks the length and the check digit and tells you the barcode type.

  3. 3
    Use 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.

Free PDF

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

We e-mail you the download link. Unsubscribe any time. Privacy

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.

Wholesale Analyzer

Create your account to start your subscription

Selected planYearly
$327 / year
Change

Next you approve the payment securely on PayPal. Cancel any time.

Already have an account? Sign in