Check a barcode.
Verify the check digit of an EAN, GTIN or SSCC — or split a complete GS1 element string into its application identifiers and have every field checked for length, data type and date validity. The check runs in your browser; the code never leaves your device.
A GS1 element string with brackets, raw scanner output, or simply an EAN/GTIN/SSCC number.
What gets checked
The same rules the barValid app applies to every scan.
Check digit
GS1 modulo-10 for EAN-8, UPC-A, EAN-13, GTIN-14 and SSCC. If the last digit is wrong, you immediately see which one was expected.
AI structure
Every application identifier is broken out and checked against the GS1 rules: fixed or variable length, minimum length, missing separator.
Data type and date
Numeric fields may only contain digits, date fields must be a valid YYMMDD date — including leap years and the GS1 rule “day 00 = end of month”.
How the check digit works
The check digit is not a running number but the result of a small calculation over all preceding digits. From right to left they are multiplied alternately by 3 and 1 and added up; the check digit is the difference to the next multiple of ten.
The point of it: a single transposed or mistyped digit shows up straight away, because the calculation no longer works out. Which is exactly why it pays to check a number before it enters a system — rather than once the goods cannot be found.
Scan instead of type
This page checks one code you type in. In daily work, though, you are standing in front of a pallet rather than a keyboard. The barValid app does the same with the camera — and goes further: your own target structures, content checks on individual fields and a PDF report per scan.
- Detects GS1-128, GS1 DataMatrix and GS1 QR Code automatically
- Validates against your own code structure
- Works offline — the AI database is embedded
Frequently asked questions
What is a check digit?
Which number lengths can I check?
What is a GS1 element string?
My scanner returns the data without brackets — does that work too?
Is my data sent anywhere?
Can I scan instead of typing?
You can look up every application identifier in the GS1 AI database.