IBAN Validator

In short: An IBAN carries its own error check: rearrange it, convert letters to numbers, and the whole string must divide by 97 leaving remainder 1. This validator runs that mod-97 check, verifies the length and structure for the country, and shows each test — using the standard’s own published example IBANs, which are the only kind you should ever paste into a web page.

Anatomy of an IBAN

An International Bank Account Number is up to 34 characters with a strict layout: a two-letter country code (GB, DE, FR…), two check digits, and the BBAN — the domestic account identifier, whose internal structure each country defines. In the British example above, the BBAN unpacks as the six-digit sort code 601613 and the eight-digit account number 31926819, preceded by the bank identifier NWBK. Germany’s DE89 3704 0044 0532 0130 00 carries an eight-digit bank code (37040044) and a ten-digit account number. France’s runs to 27 characters with letters allowed inside the BBAN — which is why the checksum must handle letters, converting A=10 through Z=35. Length is fixed per country: 22 for the UK and Germany, 27 for France and Italy, 24 for Spain, 18 for the Netherlands, 15 for Norway — the full set this validator checks against. An IBAN is always written in groups of four when printed, and without spaces in electronic systems; the validator accepts either.

The mod-97 check, and why 97

The validation is elegant: move the country code and check digits to the end, convert every letter to its number (A=10 … Z=35), and divide the resulting (very long) number by 97. A genuine IBAN leaves remainder 1. The check digits were chosen at issue to make that true, so any mistyped digit, swapped pair or wrong letter breaks it. Why 97? It is the largest two-digit prime — prime moduli catch the widest range of transcription errors, and 97 specifically catches all single-digit errors and nearly all transpositions, while keeping the arithmetic doable in chunks (this page computes it digit by digit, never holding the whole 30-plus-digit number, the same trick banking software uses). The worked public examples are worth trying above: the GB and DE numbers from the standard itself, and FR14 2004 1010 0505 0001 3M02 606 to see a letter-bearing IBAN pass. Change any character and watch it fail — that failure is the entire system working as designed, catching the typo before the payment leaves, not after.

What validation can and cannot promise

A valid IBAN is well-formed: right country, right length, right internal structure, right checksum. It is not proof that the account exists, is open, or belongs to the person you intend to pay — exactly the same limitation as the card checksum on our Credit Card Validator page. Banks re-check existence at payment time, and a well-formed IBAN for a closed account will pass here and fail there. The practical workflow this tool serves: before sending money — especially a first payment to new details received by email — run the IBAN through the checks. A checksum failure on details you were given is a hard stop: re-confirm the details through a separate channel, because invoice fraud works precisely by swapping a real IBAN for a well-formatted fraudulent one, and the fraudster’s number, being genuinely theirs, will usually pass — which is why the name check your bank performs at payment time matters, and why a pass here is a spelling check, never a trust decision.

Frequently asked questions

How do I check if an IBAN is valid?

Three tests: the length must match the country’s fixed length (UK 22, Germany 22, France 27, Spain 24…); the structure must match the country’s pattern (which positions are digits, which may be letters); and the mod-97 checksum must come out at remainder 1 after moving the first four characters to the end and converting letters to numbers (A=10 to Z=35). This page runs all three and shows each result. A pass means well-formed — only the bank can confirm the account itself exists.

What are the two example IBANs I can test with?

The ones published in the standard and banking documentation: GB29 NWBK 6016 1331 9268 19 (United Kingdom) and DE89 3704 0044 0532 0130 00 (Germany). Both validate. A third, FR14 2004 1010 0505 0001 3M02 606 (France), shows an IBAN whose BBAN contains a letter. These are illustrative examples, not live accounts — and they are the only IBANs you should paste into any website, including this one, which in any case checks locally in your browser and transmits nothing.

Why does the checksum use mod 97?

Because 97 is prime, and prime moduli are exceptionally good at exposing transcription mistakes: with 97, every single-digit error and almost every swapped pair of digits changes the remainder, so the check digit pair can certify the whole string. It is also practical — the remainder can be computed a few digits at a time, so even a 34-character IBAN never requires big-number arithmetic. The same mod-97 family protects other identifiers you meet daily, including the check digits discussed on our Modulo Calculator page.

Can an IBAN be valid but the payment still fail?

Yes, in several ways: the account may be closed or frozen, the details may be well-formed but belong to a different person than you intend (the fraud case), the receiving bank may require additional information for that corridor, or a non-IBAN country may need a different identifier entirely (the US uses routing numbers, for example). Validation answers “is this string a properly built IBAN for its country?” — a necessary question, never a sufficient one. Confirm first payments to new beneficiaries out-of-band.

Where do I find my own IBAN?

On your bank statement, in your banking app (usually under account details), or on a cheque book where those still exist. It is not the same as your card number, and it is not usually printed on your debit card (some European cards do print it). In the UK it is built from your sort code and account number with GB and two computed check digits in front; your bank’s own generator is the only source to trust for your own number — never assemble it by hand and never take it from an email asking you to “confirm” it.

Related tools

Behaviour verified in Node on 24 November 2026. Everything runs in your browser — nothing you type is sent anywhere.