Luhn Validator

Paste a number to check whether its last digit is a valid Luhn check digit.
Computed locally in your browser with the Luhn (mod-10) algorithm. Your number stays only on this page.

Validate a Luhn check digit

Paste any Luhn-protected number — a payment card, IMEI, ICCID, NPI, or ISIN — to confirm its trailing check digit, see the expected digit, and read off the corrected number when it is wrong. Spaces and hyphens are ignored, so grouped input works as-is. Need to create valid fixtures instead? Try the Payment Card, IMEI, ICCID, NPI, or ISIN generators.