All checks run 100% locally in your browser. Nothing is stored or transmitted. See also Test Credit Card Numbers.
Payment cards, IMEI device numbers, and international bank account numbers (IBANs) include built-in mathematical check digits so checkout forms and banking APIs can catch typos (like swapping two digits or mistyping a single number) immediately before submitting a network request. This validator runs both checksum algorithms 100% locally in your browser.
Invented by IBM scientist Hans Peter Luhn in 1954 (ISO/IEC 7812), the Luhn check validates credit/debit card numbers, IMEIs, and national IDs:
7 × 2 = 14), subtract 9 (or sum its digits: 1 + 4 = 5).0, the number passes the Luhn checksum.An IBAN starts with a two-letter ISO country code (e.g. DE, GB, FR), two check digits, and up to 30 alphanumeric BBAN characters. Validation moves the first 4 characters to the end of the string, converts each letter A–Z to numbers 10–35, and computes bigInt % 97. A valid IBAN always yields a remainder of 1.