Free calculator · no sign-up
Calculate and check GTIN check digits.
Paste one number per line, with or without its check digit: GTIN-8, UPC-A (12), EAN-13, GTIN-14 or SSCC (18). Each is completed or verified at once; or read the numbers straight from barcode photos.
GTIN check digit calculator
About these barcodes
How the check digit works
The last digit of every GTIN and SSCC is computed from the others: from the right, digits are multiplied by 3 and 1 in turn, added up, and the check digit is what brings the sum to the next multiple of 10. It catches every single wrong digit and most swapped pairs.
With or without the check digit
A 7, 11 or 17-digit number is treated as the body of a GTIN-8, UPC-A or SSCC and completed. A full-length number is verified; if it fails and could also be a body without its digit, both readings are shown so you can pick.
In short
- Numbers
- GTIN-8, UPC-A/GTIN-12, EAN-13/GTIN-13, GTIN-14, SSCC-18, GLN
- Input
- Typed or pasted lists, or barcode photos and PDFs
- Method
- GS1 mod-10, checked by program
- Output
- Excel, CSV, JSON
How to do it
- Paste your numbers
One per line in the box. Spaces and dashes are ignored.
- Read the result
Each line shows the full number with its check digit, or flags a wrong one with the correct digit.
- Download
Take the completed list to Excel, CSV or JSON.
Good to know
A correct check digit means the number is well-formed, not that it is registered: assigning numbers is done by your GS1 member organisation.
What this tool doesn't do
- Doesn't create or register GTINs
- Doesn't look up who owns a number
- Doesn't make barcode images
- Doesn't upload or keep your data
What happens to your files
Runs in your browser; your photos and PDFs stay on your device. Nothing is uploaded.
Runs in your browser; your photos and PDFs stay on your device. Nothing is uploaded.
- Read on your device
The codes are found and decoded by a program inside this page. Your photos and PDFs never leave your phone or computer.
- Nothing kept
Close the tab and it's gone. We never get a copy, so there's nothing to delete.
- Checked, not guessed
Check digits, dates and GS1 rules are checked by program against the official GS1 table, and every result says what was checked.
Questions
How do I calculate a GTIN check digit?
Type the number without its last digit (12 digits for an EAN-13, 11 for a UPC-A, 7 for a GTIN-8, 13 for a GTIN-14): the check digit and full number appear at once. Example: 400638133393 → 1 → 4006381333931.
How do I check a whole list?
Paste the list, one number per line, and press Check codes. Wrong ones turn red with the digit they should end in; download the result as Excel.
How do I check it in Excel?
Download the result as Excel: the numbers are stored as text, so leading zeros stay, with a status column per row.
For AI agents: Barcode reader from image · index.md · /llms.txt