UPC and GTIN Check Digit Calculator and Barcode Checker
Find the check digit for any UPC, EAN or GTIN, check a list of numbers, or scan your whole Shopify product export for missing and duplicate barcodes.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Calculate a check digit
Enter the number without its last digit: 11 digits for a UPC, 12 for an EAN-13, 13 for a GTIN-14, 7 for an EAN-8 or 17 for an SSCC. Spaces and hyphens are ignored. Paste a full number and the calculator tells you whether its check digit is right.
UPC and EAN checker
Paste one number per line, up to 500: UPC, EAN, GTIN-14 or SSCC. The checker reads the digits, the length and the check digit of each one, and flags repeats.
Check your Shopify product export
Find every variant with no barcode, the same barcode on two variants, or a barcode in the wrong form, across your whole catalog at once.
- In Shopify admin, open Products and click Export.
- Choose All products and a CSV file, then export.
- Drop that file below.
Your own browser reads the file. It is not uploaded, sent or stored anywhere, and closing this tab clears it.
GS1 Assistant
This page finds the gaps. GS1 Assistant fills them: it assigns GTINs to the variants that need one, from the unused numbers in your own GS1 company prefix, inside Shopify.
Assign barcodes in ShopifyWhat is a check digit?
A check digit is the last digit of a UPC, EAN or GTIN, the number under a barcode. It is calculated from the other digits so a scanner can catch a mistyped number.
What this checker tells you, and what it can’t
A number shows Correct form when it has digits only, a standard length (8, 12, 13 or 14 digits for a product, 18 for an SSCC) and a last digit that matches the GS1 check digit calculation. That proves the number is correctly formed. It says nothing about who the number belongs to.
- It can’t tell you whether the number is licensed to your brand. A made-up number has a 1 in 10 chance of ending in the right check digit.
- It can’t tell you whether Google Merchant Center, Amazon or a retailer will accept the number. Those channels can also look at who the number is licensed to, which a check digit can’t show.
- To see who a number is licensed to, look it up with the GS1 office that issued the company prefix.
If Google Merchant Center has flagged a GTIN, our guide to Shopify GTIN errors in Google Merchant Center explains the four causes behind its messages. If Shopify shows a GTIN suggestion on a barcode, see what Shopify’s GS1 barcode check means.
How a GS1 check digit is calculated
Take the UPC 036000291452. Drop the last digit, then multiply each remaining digit by 3 or 1, starting with 3 on the right:
- 0×30
- 3×13
- 6×318
- 0×10
- 0×30
- 0×10
- 2×36
- 9×19
- 1×33
- 4×14
- 5×315
So the full number is 036000291452. The same rule works for every length, from an 8-digit EAN-8 to an 18-digit SSCC, so adding zeros to the front of a number does not change its check digit. The checker therefore treats 036000291452 and 0036000291452 as the same number when it looks for duplicates.
Questions
Where do new barcode numbers come from?
From a GS1 company prefix licensed to your brand. GS1 gives you a block of numbers; each product gets one number from that block, ending in a check digit. GS1 Assistant assigns these numbers to your Shopify variants from your own prefix, and our guide shows how to bulk-assign GTINs in Shopify. New to prefixes? Start with what a GS1 company prefix is and how to get one.
Does a correct check digit mean my barcode is real?
No. It means the number is correctly formed. Only the GS1 office that licensed the company prefix can say who a number belongs to.
Is my product file uploaded?
No. Your browser reads the file and shows the results on this page. Nothing is sent to Left Foot Software or anyone else.
Why does my UPC show 11 digits?
Spreadsheet programs drop leading zeros, so a UPC that starts with 0 loses a digit when the file is opened and saved in one. Export again from Shopify and choose the new file here without opening it in a spreadsheet first.
Why do some barcodes in my export start with “gtin:”?
Some barcodes in a Shopify export carry a label such as gtin: in front of the number. The checker removes the label and checks the number. A cell with several barcodes separated by semicolons is checked one barcode at a time.
Assign your barcodes from your own GS1 prefix
Assign barcode numbers (GTINs) from your own GS1 company prefix and find missing or duplicate barcodes inside Shopify. Free to install; usage charges apply.