Open Toolkit

Check a list of GTIN, UPC and EAN numbers

Check a whole column of product numbers before you make barcodes from it. Wrong check digits, dropped zeros, and broken numbers are marked row by row, and you download a list that is ready to use.

Free, no sign-up, no credit card. Codes never expire, and nothing you type is sent anywhere.

Up to 5,000 rows. Commas, semicolons, and tabs between columns all work.

What to do with each number

Paste your product numbers above, or choose a file. Each one is checked as you go.

How to check a list of product numbers

  1. Paste your numbers, one to a line, or choose a CSV, text or Excel file. If the file has several columns, pick the one that holds the product numbers.
  2. Read the count of right, fixed and wrong numbers, then look at the rows in the table. Each wrong row says what is wrong with it.
  3. Choose what to fix. Put back leading zeros, add a missing check digit, swap a wrong check digit, or write every UPC-A as EAN-13.
  4. Download the fixed list, or send it straight to the bulk barcode generator to make the barcodes.

What to know

What each row is checked for

  • The kind of number. 8 digits is a GTIN-8, 12 is a UPC-A, 13 is an EAN-13 (or an ISBN-13 when it starts 978 or 979), 14 is a GTIN-14, and 10 characters can be an ISBN-10.
  • The check digit, worked out with GS1's method. A wrong one is shown with the digit it should be.
  • Anything else that cannot be a product number, such as letters, spaces inside the number, or a length that no kind has.

Source: GS1, How to calculate a check digit manually

Lost leading zeros

Excel and Google Sheets treat a column of digits as numbers and drop the zeros in front, so a UPC-A that starts with 0 turns into 11 digits. When 11 digits pass the check as a UPC-A with a 0 in front, the page puts the zero back. A zero in front never changes a check digit, which is why a 12-digit UPC-A and the same number written as 13-digit EAN-13 are both right.

Scientific notation

A long number such as 712345000000 can be shown by a spreadsheet as 7.12345E+11, and saving the file keeps only what was shown. The digits after that are gone and no tool can guess them. Those rows are marked, and you need to copy the numbers again from the place they came from, with the column set to Text.

What the fixes do and don't do

  • Adding a check digit assumes every number in the list is missing its last digit. Use it only for a list where that is true.
  • Replacing a wrong check digit assumes the other digits are right. If one of them is a typo, the new number is a different product, so it is off unless you tick it.
  • A fixed number is only a correctly formed one. It does not mean the number belongs to you or to a real product, since GS1 hands out the numbers.

Source: GS1, Check digits

Common problems

My numbers lost their leading zeros in Excel
Paste them here with leading zeros put back ticked. 11-digit numbers that become a valid UPC-A with a 0 in front are fixed. Next time, format the column as Text before you paste the numbers in.
Some numbers show E+11 in my spreadsheet
The spreadsheet has already cut those numbers short, so the page cannot rebuild them. Get the numbers again from your supplier or product system, and set the column to Text before you open the file.
The page says a check digit is wrong but the number is on the product
Check the digits against the product in your hand, since one typo changes the check digit. If the product number is right and the check digit is the odd part, turn on replacing the check digit.
A 12-digit number is rejected as an EAN-13
A 12-digit number with a good check digit is a UPC-A, and it is already right. Choose to write every UPC-A as EAN-13 if your system wants 13 digits.

Questions

How many numbers can I check at once?

Up to 5,000 rows. Each one is checked as you type or paste, and the downloads have every row.

Is my list sent anywhere?

No. Your list is checked in your browser. Nothing you type or choose is sent anywhere.

Will Excel keep the zeros in the downloaded file?

Yes. The numbers that Excel would change are written as ="036000291452", which Excel and Google Sheets show as the text it is.

What is the difference between a UPC-A and an EAN-13?

A UPC-A has 12 digits and an EAN-13 has 13. An EAN-13 that starts with 0 is the same number as the UPC-A without that 0, and scanners read both.

Does this check ISBNs too?

Yes. ISBN-13 numbers are checked like any EAN-13, and ISBN-10 numbers with their own method, including a check digit of X.

Something not working? Report a problem