Luhn Validator
Validate Luhn checksums, calculate check digits, and generate checksum-valid test numbers.
How to use
Choose Validate to check one value per line; spaces and hyphens are ignored. Invalid checksums show the digit that should replace the final digit. Use Check digit with a number body that does not yet include its last digit. Generate creates 2–32 digit test values with an optional fixed prefix and a count from 1–100.
FAQ
How does the Luhn algorithm validate a number?
Starting from the right, it doubles every second digit, subtracts 9 from doubled values above 9, and adds all digits. A total divisible by 10 is valid.
How do I calculate an IMEI check digit?
Enter the first 14 digits in Check digit mode. The calculated digit becomes the 15th digit, and the full result is shown beside it.
Does a valid Luhn checksum prove that a number was issued?
No. Luhn only detects common data-entry errors. It does not identify an issuer, confirm ownership, or prove that any account exists.