Luhn & IBAN Validator.
Check IBANs (country length and mod-97) and card numbers or IMEIs (Luhn checksum), one per line.
Runs in your browserAbout Luhn & IBAN Validator
The Luhn & IBAN Validator checks the two checksums you meet most often in payment and telecom data. For an IBAN it removes spaces, checks that the two-letter country code exists in the SWIFT IBAN registry, that the length matches that country (22 characters for Germany and the UK, 29 for Ukraine, 27 for France), and that the ISO 7064 mod-97 checksum equals 1. When the checksum fails, it tells you which check digits the rest of the IBAN would need, which quickly shows whether the check digits or the account part were mistyped. For card numbers, IMEIs and other identifiers it runs the Luhn algorithm and, for failures, prints the last digit that would make the number valid. Card numbers also get a likely brand from their prefix and length, such as Visa, Mastercard, American Express, Discover, JCB, Diners Club, UnionPay or Mir. Paste one value per line to check a whole list at once; spaces and dashes are ignored. Remember what a checksum can and cannot tell you: a valid IBAN or card number is well formed, not necessarily open, funded or yours. Swapping two adjacent digits is caught by mod-97 and usually by Luhn, but not every typo is. A common mistake is to paste an IBAN with the letter O instead of the digit 0, which fails the format check. Test numbers such as 4111 1111 1111 1111 pass Luhn on purpose. Because card numbers are sensitive, the values are never put in the page link, and everything runs in your browser.
How to Use
- Paste IBANs, card numbers or IMEIs, one per line.
- Leave the mode on auto or force IBAN or Luhn checking.
- Read the valid column and the details for each line.
Frequently Asked Questions
Does a valid result mean the account or card exists?
No. It only means the number is well formed and its checksum is correct. Only the bank or card issuer can tell you whether it is active.
Which countries are supported for IBAN?
All countries in the SWIFT IBAN registry, each with its official length. Countries that only use IBAN-like formats unofficially are reported as unknown.
Can I check IMEI numbers?
Yes. An IMEI's last digit is a Luhn check digit, so a 15-digit IMEI can be checked in Luhn mode or auto mode.
Are my card numbers sent anywhere?
No. The checks run in your browser, the page makes no network requests while you use it, and the values are kept out of the page link.
Related Tools
Analyze password strength with entropy and crack time estimates.
Generate MD5, SHA-256, SHA-512, and other hashes.
Convert numbers between bases (2–36).
Test regular expressions with match highlighting.
Generate UUID v4, UUID v7, and ULID identifiers.
Pretty print, minify, and validate JSON.