Registry country lengths plus the ISO 7064 mod-97 checksum, in your browser.
🏦 Checks structure only: country length from the official IBAN registry plus the ISO 7064 mod-97 checksum, in your browser. A passing checksum means the IBAN is well-formed — it cannot confirm the account exists or accepts payments.
The IBAN Validator is based on the following formula:
IBAN valid ⟺ (length = registry[country]) ∧ ( numeric(BBAN + country + check) mod 97 = 1 )
Variables: country = first 2 letters (must exist in the registry table) check = digits 3-4 (02-98; 00/01/99 are reserved-invalid) numeric() = each letter replaced by its value (A=10 … Z=35) BBAN = the rest of the IBAN registry[country] = fixed length, e.g. NO 15 / GB & DE 22 / FR 27 / MT 31
ISO 13616 bolts two check digits onto each national account number, verified with the ISO 7064 MOD 97-10 scheme: move the first four characters to the end, convert letters to two-digit numbers, and the whole string must leave remainder 1 when divided by 97. The country length is checked first — a checksum pass at the wrong length is still a wrong IBAN.
Worked example: Step 1: input GB82 WEST 1234 5698 7654 32 → strip spaces, 22 characters = registry length for GB ✓. Step 2: move GB82 to the end: WEST12345698765432GB82. Step 3: letters to numbers: W=32 E=14 S=28 T=29 … G=16 B=11, giving 3214282912345698765432161182. Step 4: divide by 97: 3214282912345698765432161182 mod 97 = 1 → valid. Result: the IBAN passes both checks (remainder 1 verified by direct computation); it is well-formed, which still does not prove the account exists.
IBANs are long enough that humans mistype them constantly, so ISO 13616 bolts two check digits after the country code, computed with the ISO 7064 mod-97 scheme. Move the first four characters to the end, convert letters to numbers (A=10 … Z=35), and the whole string must leave remainder 1 when divided by 97. That single modular test rejects roughly 99% of random typos — wrong digits, swapped characters, dropped characters — before money ever moves.
Every country fixes its IBAN length in the registry: Norway 15 (the shortest), Germany and the UK 22, France 27, Brazil 29, Malta 31 (the longest). A mod-97 pass on the wrong length is still a wrong IBAN — which is why validation is two steps: registry length first, checksum second. Check digits 00, 01 and 99 are reserved and never valid.
Mod-97 proves the IBAN is well-formed, nothing more. Whether the account exists, who owns it, and whether it can receive payments are bank-side facts that no offline tool can know. Name-checking (Iban-to-name services) exists in some SEPA flows precisely because format validation alone cannot stop a mistyped-but-well-formed recipient.
Printed IBANs group into blocks of four for a reason: the eye can verify blocks against a source document far faster than an unbroken 22-character run. Electronic systems strip the spaces; paper adds them. The BBAN inside stays country-specific — in the UK it packs a sort code and account number, in Germany it is bank code plus account — so never "fix" the middle part by eye.
More tools you might find useful
Turn an image into a Base64 data URI for inline embedding.
Inspect IP quality, ASN type, fraud score, and timezone consistency.
Compute netmask, network, broadcast, and host range from CIDR.
Compare two JSON payloads field by field, order-insensitive.