IBAN Validator

Validate an IBAN and see exactly why it passes or fails: a character-by-character map of the account format, the mod-97 calculation step by step, and a check digit calculator. Works offline in your browser.

100% Client-Side Processing

Validation and check digit calculation run entirely in your browser. No account details are uploaded or stored.

✗ Invalid IBAN

Some characters don’t fit the Germany format. They’re marked in red below.

Character map

Each box is one character of the IBAN, laid over the official format for Germany. Red boxes are characters that are wrong, missing, or extra.

DE8937040O440532013000
Country code Check digits Account number (BBAN) Problem

Expected account format: 8 digits, 10 digits (22)

Check digit calculator

Choose a country and enter the domestic account number (BBAN) to calculate its check digits and build the full IBAN.

Full IBAN

DE89 3704 0044 0532 0130 00

Only use this with an account number you know is correct. Check digits are calculated from the digits you enter, so they can’t catch a typo in the BBAN itself.

What is an IBAN Validator?

An IBAN validator tests whether an International Bank Account Number follows the rules of the ISO 13616 standard: a known country code, the exact length for that country, an account number (BBAN) in that country’s fixed layout, and check digits that pass the ISO 7064 mod-97 test.

Most validators only say "valid" or "invalid". This one shows its working. The character map lays the IBAN over the official format, so you can see which position holds a letter where a digit should be, or where a character is missing. The mod-97 steps show exactly how the check digits are verified. It’s useful when you need to understand a failure, not just detect it.

How it Works

  • Enter an IBAN: paste it with or without spaces. Lowercase letters, dashes, and an "IBAN" prefix are cleaned up automatically.
  • Read the character map: every character is placed in a box under its expected type (digit, letter, or either) for that country, and anything wrong, missing, or extra is highlighted in red.
  • Follow the mod-97 steps: see the rearranged IBAN, its numeric form, and the remainder after dividing by 97. A valid IBAN always leaves a remainder of 1.
  • Calculate check digits: use the calculator to build a complete IBAN from a country and a domestic account number. Handy for test data and for systems that store the BBAN separately.

Features

  • Validates IBANs from 89 countries against the official length and BBAN layout
  • Character-by-character map that pinpoints the exact position of a format error
  • Shows the expected account format in plain words (for example "8 digits, 10 digits")
  • Step-by-step mod-97 calculation with the rearranged and numeric forms
  • Check digit calculator that builds a full IBAN from a country and BBAN
  • Accepts spaces, dashes, lowercase, and an "IBAN" prefix
  • Live results as you type
  • 100% client-side, so it works offline and nothing is uploaded

Best Practices

  • Validate on input, not just on payment: checking an IBAN as soon as it’s entered into a form or system catches typos while the person who typed it can still fix them.
  • Don’t "fix" an invalid IBAN by recalculating its check digits: if the mod-97 check fails, the mistake is just as likely to be in the account number. New check digits would make a wrong account number look valid. Ask for the IBAN again instead.
  • Validate both structure and checksum: a checksum-only test misses IBANs with the right digits in the wrong format, and a length-only test misses typos. A full validator checks both.
  • Remember validation isn’t verification: a valid IBAN can still belong to the wrong person. For payments, combine validation with your bank’s payee name check.
  • Use generated IBANs only for testing: check digit calculation is great for building test fixtures, but never invent account numbers for real payments.

Troubleshooting

One box is red even though the IBAN looks right

Look closely at that position. A letter O where the format expects a digit 0, or a digit 1 where it expects a letter I, is a common cause, especially in IBANs copied from scanned documents.

The whole end of the map is red

This usually means a character was missed or added earlier in the IBAN, shifting everything after it. Find the first red box and check the characters just before it.

The format is right but the remainder isn’t 1

Every character is the right type, but at least one is the wrong value, or two have been swapped. Compare the IBAN against the original source.

The calculator says my BBAN doesn’t match the format

Each country’s BBAN has a fixed layout, often including bank and branch codes. Make sure you entered the full domestic account number, including any leading zeros, and not just the account number on its own.

Common Use Cases

  • Debugging rejected payments: find out exactly why a bank or payment provider rejected an IBAN.
  • Building and testing forms: check your own validation code against a reference, and generate valid test IBANs for any country.
  • Data cleaning: understand why IBANs imported from another system fail, such as truncated values or letters swapped for digits.
  • Converting domestic account numbers: calculate the check digits when you have a country’s BBAN but need the full IBAN.
  • Learning how IBANs work: see the mod-97 algorithm applied to a real example, step by step.

Frequently Asked Questions

What’s the difference between this and the IBAN Checker?

Both use the same validation rules. The IBAN Checker is built for quickly checking one IBAN or a whole list. The IBAN Validator focuses on explaining the result, with a character map, mod-97 steps, and a check digit calculator.

How are IBAN check digits calculated?

Take the country code followed by 00, put it after the BBAN, and convert letters to numbers (A = 10 … Z = 35). Divide that number by 97 and subtract the remainder from 98. The result, padded to two digits, is the pair of check digits.

Can a valid IBAN still be wrong?

Yes. Validation confirms the IBAN is correctly formed, not that the account exists or belongs to the intended recipient. Mod-97 also misses a very small share of multi-character errors.

Why does the validator check the format and not just the checksum?

Because some errors pass the checksum by coincidence, and because a format check can point to the exact position of a mistake. Checking both gives a stronger and more useful result.

Can I use the check digit calculator to correct an IBAN?

No. If an IBAN fails the checksum, the error could be anywhere, including the account number. Recalculating the check digits would hide the error rather than fix it.

Does it work offline?

Yes. Once the page has loaded, all validation and calculation runs in your browser with no network requests.

Share this tool

Share a direct link or embed this tool on your site. Keep the Tooladex attribution link to support the project.