A single wrong digit in an IBAN is a returned payment, a supplier chasing you and a day of someone’s time. The IBAN validator checks the structure and the checksum in a second, locally, so a real account number never leaves your device.
- country codes in the length table
- 66
- the modulus of the ISO 7064 check
- 97
- the remainder a valid IBAN leaves
- 1
Three checks, in order
- 1Normalise
Spaces are stripped and letters uppercased, so you can paste it however it was written.
- 2Length
The country code sets a fixed length from the ISO 13616 registry: 22 for Germany and the UK, 23 for the UAE, 24 for Saudi Arabia.
- 3Mod-97
The first four characters move to the end, letters become numbers (A is 10, Z is 35), and the whole number divided by 97 must leave 1.
The result names the reason when a number fails: bad characters, too short, an unknown country, the wrong length or a failed checksum. A valid IBAN comes back grouped in fours, with the country code, check digits and BBAN split out.
- Europe and the Middle East. The table covers the common EU codes and the Gulf: UAE, Saudi Arabia, Bahrain, Kuwait, Qatar and Jordan among them.
- No guessing. A country code outside the table is reported as unknown rather than silently passed.
- Arithmetic that cannot overflow. The checksum runs digit by digit, so even the longest IBANs compute exactly in the browser.
Judgement cannot be outsourced. A human must remain in the loop, applying critical review and sense checking before any machine generated outputs are relied upon.
Jemma EwinCEO & Co‑Founder · Global CFOJemma Ewin, CEO & Co‑Founder · Global CFOA valid result means the IBAN is well formed, not that the account exists, is open or belongs to the party you think. Verify payment details with the recipient and the bank before you send money.
Further reading
Questions
Is my IBAN sent anywhere?
No. Validation runs entirely in your browser and the number is never sent to a server.
Does a valid result mean the account exists?
No. It means the IBAN is correctly formed and passes the checksum, which catches most typos. It does not prove the account is open or who owns it.
Which countries are supported?
66 country codes, covering the common European and Middle East codes and others. A code outside the table is reported as unknown.
Why did a number I know is correct fail?
Look for a missing or extra character, a transposed pair of digits, or a letter typed as a similar-looking number. The mod-97 check is sensitive to any single change.
