Recalculate an incorrect check field.
Initialising algorithm engine for Check Digit Replacement Tool...
How Check Digit Replacement Tool Works?
The Check Digit Replacement Tool replaces a wrong check character with the value calculated from the payload. It removes the old character first. It assumes the payload is right and only the check field is wrong.
- 1Paste the identifier with the suspect check character.
- 2Select the scheme.
- 3Strip the check character from its position.
- 4Recalculate the check character from the payload.
- 5Output the corrected identifier and flag whether it changed.
Check Digit Replacement Tool Formula
The replacement formula is Corrected = payload + f_scheme(payload).
payload = identifier without check field Corrected = payload ‖ f_scheme(payload)
f_schemeis the check algorithm.
Payload = 590123412345 Correct check = 7 Corrected = 5901234123457 (changed)
Check Digit Replacement Tool Conversion Table
The replacement table shows wrong check characters next to the corrected identifiers.
| Scheme | Input | Old check | New check | Corrected identifier |
|---|---|---|---|---|
| EAN-13 | 5901234123458 | 8 | 7 | 5901234123457 |
| UPC-A | 036000291450 | 0 | 2 | 036000291452 |
| ISBN-10 | 0306406150 | 0 | 2 | 0306406152 |
| Luhn | 79927398710 | 0 | 3 | 79927398713 |
| Verhoeff | 2360 | 0 | 3 | 2363 |
Replace a check digit only when the payload is confirmed correct. A wrong payload with a fresh check digit hides the original error.
What is Check Digit Replacement Tool?
A Check Digit Replacement Tool is a tool that overwrites an incorrect check field with the value the payload requires. The tool fixes identifiers created by systems that computed the check digit wrongly.
Bulk replacement suits legacy data where a known bug produced bad check digits across thousands of records.
What are the uses of Check Digit Replacement Tool?
There are 3 main uses of the Check Digit Replacement Tool, including legacy data repair, label reprints, and migration cleanup.
- Legacy data repair: Teams fix codes created by faulty software.
- Label reprints: Warehouses correct codes before reprinting labels.
- Migration cleanup: Data teams correct check fields before loading a new system.