IBAN Validator: Find the Exact Character That Breaks an IBAN

By Tooladex Team •
IBAN Validator: Find the Exact Character That Breaks an IBAN

“Invalid IBAN” is one of the least helpful error messages in finance. It tells you something is wrong, but not what, and an IBAN can be 30-odd characters long. When a payment is rejected or an import fails, you need to know where the problem is.

The Tooladex IBAN Validator shows its working. It maps every character of the IBAN onto the official format for its country, walks through the mod-97 checksum step by step, and includes a check digit calculator for building IBANs from domestic account numbers.


What IBAN Validation Actually Checks

An IBAN is valid under ISO 13616 when all four of these hold:

  1. The country code is known. The first two letters are an ISO code for a country that uses IBANs.
  2. The length is exact. Every country has a fixed length, from 15 characters (Norway) to 32 (Saint Lucia).
  3. The account number (BBAN) follows the country’s layout. For example, a German BBAN is 8 digits (bank code) followed by 10 digits (account number). A UK BBAN is 4 letters, then 6 digits, then 8 digits.
  4. The check digits pass mod-97. Characters 3 and 4 are calculated from everything else using the ISO 7064 mod-97 algorithm.

Most validators run these checks and return a yes or no. That’s fine when the answer is yes. When it’s no, you’re left guessing.


The Character Map: Seeing Where It Goes Wrong

The validator places each character of the IBAN in its own box, laid over the expected format for that country:

  • Country code and check digits are highlighted separately from the account number.
  • Each section of the BBAN is shaded so you can see where the bank code ends and the account number begins.
  • Any character that doesn’t fit is red. That could be a letter where a digit belongs, a missing character, or an extra one on the end.

Take DE89 3704 0O44 0532 0130 00. It has the right length and looks fine at a glance, but the map shows a red box in the bank code: that’s a letter O where the format requires a digit 0. This is a classic mistake in IBANs copied from scanned PDFs or typed from paper.

When the whole end of the map is red, a character was usually dropped or added earlier on, shifting everything after it. The first red box tells you where to look.


Mod-97, Step by Step

If the format is right, the validator shows the checksum calculation:

  1. Move the first four characters to the end. GB82WEST12345698765432 becomes WEST12345698765432GB82.
  2. Replace letters with numbers (A = 10, B = 11, … Z = 35). That gives 3214282912345698765432161182.
  3. Divide by 97 and take the remainder. For a valid IBAN, the remainder is always 1.

If the remainder isn’t 1, every character is the right type but at least one has the wrong value, or two neighbouring characters have been swapped. Mod-97 catches every single-character error and nearly every swap.


The Check Digit Calculator

Sometimes you have the domestic account number but not the full IBAN, for example when a system stores the BBAN separately or when you need valid test data. The calculator does the reverse:

  1. Choose the country.
  2. Enter the BBAN. It’s checked against that country’s format first.
  3. Get the full IBAN with the correct check digits, ready to copy.

The formula: append the country code and 00 to the BBAN, convert letters to numbers, take the remainder mod 97, and subtract it from 98.

One important warning: never use the calculator to “fix” an IBAN that failed validation. If the checksum fails, the mistake is just as likely to be in the account number. Recalculating the check digits would make a wrong account number look valid. Ask for the IBAN again instead.


IBAN Validator vs IBAN Checker

Tooladex has two IBAN tools built on the same rules:

  • The IBAN Checker is for speed: check one IBAN or paste a whole list, then export the results to CSV.
  • The IBAN Validator is for understanding: the character map, mod-97 steps, and check digit calculator explain why an IBAN passes or fails.

Who It’s For

  • Finance and operations teams debugging a payment a bank rejected.
  • Developers testing their own IBAN validation or generating valid test IBANs for any of 89 countries.
  • Data teams working out why IBANs imported from another system fail, such as truncated values or letters swapped for digits.
  • Anyone curious how IBAN check digits work.

Privacy

Everything runs locally in your browser. Once the page has loaded, the validator works offline, and no account details are sent anywhere.


FAQ

Can a valid IBAN still be wrong? Yes. Validation confirms the IBAN is correctly formed, not that the account exists or belongs to the person you intend to pay. For payments, also use your bank’s payee name check.

Why check the format and not just the checksum? Because a format check can point to the exact position of a mistake, and some multi-character errors pass the checksum by coincidence.

How are IBAN check digits calculated? BBAN + country code + 00, letters converted to numbers, remainder mod 97, subtracted from 98, padded to two digits.

Does it work offline? Yes. All validation and calculation happens in your browser.


Next time you see “invalid IBAN”, don’t guess. Paste it in and find the exact character that’s wrong.

IBAN Validator

Validate an IBAN and see exactly why it passes or fails: a character-by-character format map, the mod-97 calculation step by step, and an IBAN check digit calculator for 89 countries.

Try Tool Now