๐ฆIBAN Validator & Bank-BIC Inspector Documentation & Guide
๐How to Validate an IBAN Number
- Enter or Paste IBAN: Type or paste the IBAN with or without spaces (or test via a country preset).
- Run ISO 7064 Check: Click Validate IBAN to verify exact country length rules and perform the Mod-97 mathematical checksum.
- Copy SEPA Format: Review extracted Country, Bank Code, and Mod-97 remainder, and copy the space-grouped IBAN.
โ๏ธISO 7064 Mod-97 Check Digit Arithmeticโผ
Validation strips whitespace, validates country-specific fixed lengths (such as NL=18, DE=22, BE=16, GB=22), moves the 4-character prefix to the end, expands letters A=10 through Z=35, and checks whether the resulting integer modulo 97 equals 1.
๐Formula & Mathematical Architectureโผ
Valid iff Integer(Rearrange) mod 97 == 1
๐งฎConcrete Worked Examplesโผ
NL91 ABNA 0417 1643 00Valid IBAN (Mod97 = 1) ยท Country: NL ยท Bank: ABNALength matches 18 chars and Mod-97 evaluates to exactly 1.
DE89 3704 0044 0532 0130 01Invalid IBAN (Mod97 != 1)Changing the final digit shifts the Mod-97 remainder away from 1, catching the typo immediately.
โ ๏ธCommon Pitfalls & Edge Casesโผ
- โ ๏ธConfusing a mathematically valid checksum with verification that an account currently exists at the bank.
- โ ๏ธAccepting spaces or hyphens blindly without checking total alphanumeric length.
- โ ๏ธUsing 32-bit or 53-bit JavaScript numbers directly instead of iterative piecewise Mod-97.
๐กPractical Verification Use Casesโผ
- Catching transposed digits in vendor or customer invoice IBANs before initiating bank wires.
- Formatting raw continuous IBAN strings into readable 4-character SEPA groups.