Saved

Press the star next to a tool's name to save it.

All my tools

IBAN Validator

This IBAN validator checks an International Bank Account Number's country code, length and mod-97 check digits, explains any error and shows the printed form.

Checked 100% in your browser. Nothing you type is sent, saved or logged.

Spaces and dashes are ignored, and lowercase letters are fine. Nothing you type leaves your browser.

Checked in your browser. The IBAN is never uploaded or stored.

Result

–

Enter an IBAN and press Validate IBAN.

An IBAN validator checks whether an International Bank Account Number is correctly formed before you use it for a payment. Enter the IBAN, with or without spaces, and this IBAN validator checks the country code, the length for that country and the check digits, using the same mod-97 test banks use. It tells you whether the number is valid, explains what's wrong if it isn't, and shows it in the standard printed form, in groups of four.

How to use the IBAN validator

  1. Type or paste the IBAN. Spaces, dashes and lowercase letters are fine.
  2. Press Validate IBAN.
  3. Read the result. A valid IBAN shows its country, length, check digits and Basic Bank Account Number. An invalid one shows the reason.
  4. Copy the printed form if you need to paste it somewhere else.

What an IBAN is

The International Bank Account Number is an internationally agreed system of identifying bank accounts across national borders, so that cross-border payments can be processed with a reduced risk of transcription errors. It was first adopted by the European Committee for Banking Standards and, since 1997, has been the international standard ISO 13616. An IBAN has three parts:

  • A country code of two letters, from ISO 3166-1, such as GB or DE.
  • Two check digits, a checksum that lets banking systems catch simple errors.
  • The Basic Bank Account Number (BBAN), up to 30 letters and digits in a format set by each country.

To make it easier to read, an IBAN is usually printed in groups of four characters separated by spaces, with the last group as long as it needs to be. When it's sent electronically, the spaces are left out.

How the check works

An IBAN is validated by turning it into a large number and doing a mod-97 operation, as described in ISO 7064. If the IBAN is valid, the remainder is 1. The steps are:

  1. Check that the total length is right for the country.
  2. Move the first four characters to the end.
  3. Replace each letter with two digits: A = 10, B = 11 and so on up to Z = 35.
  4. Divide the resulting number by 97. If the remainder is 1, the check digits pass.

The number can be thirty digits or more, far larger than ordinary calculators handle, so this tool works through it a digit at a time, which gives the same remainder.

Worked example

Take the fictitious United Kingdom IBAN GB82 WEST 1234 5698 7654 32. It's 22 characters, the correct length for the United Kingdom. Moving GB82 to the end gives WEST12345698765432GB82, and replacing the letters gives 3214282912345698765432161182. That number divided by 97 leaves 1, so the IBAN is valid. Change the last digit to 3 and the check fails; the tool shows that, with that account number, the check digits would have to be 55 instead of 82.

IBAN lengths by country

Each country fixes the length of its IBANs, so a wrong length is a quick sign of a missing or extra character. A few examples:

CountryLength
Norway15
Belgium16
Netherlands18
Germany22
United Kingdom22
United Arab Emirates23
Spain24
France27
Brazil29

The validator knows the lengths for the 89 countries in the IBAN registry list on Wikipedia.

What a valid result means

A pass means the IBAN is well formed: the country uses IBANs, the length is right and the check digits match. It doesn't mean the account exists, that it's open, or that it belongs to the person you expect. Banks check those details when a payment is made. Always confirm a new IBAN with the payee through a trusted channel, especially if the request to change bank details came by email, because changing bank details is a common trick in payment fraud.

Why typos are caught

The check digits are designed so that the most common mistakes, such as one wrong character or two neighboring characters swapped, change the remainder and fail the test. That's why the mod-97 check is so useful when IBANs are typed by hand from an invoice or a phone call.

Your privacy

The check runs entirely in your browser. The IBAN isn't sent anywhere or stored, so it's safe to check your own or a client's details.

Where to find your IBAN

Most banks print the IBAN on account statements, often in the header beside the account number, and show it in online and mobile banking under the account details. If you need to receive money from abroad, give the payer your IBAN together with your bank's BIC or SWIFT code, which identifies the bank itself. Not every country uses IBANs: the United States, for example, isn't in the list of IBAN countries, so the validator reports a code like US as a country that doesn't use them. In those countries, ask the payee which bank details to use instead.

Checking before you pay

Running an IBAN through the validator before you send money catches mistakes early, when they're easy to fix. A failed check is a clear sign to go back to the original document or ask the payee to confirm the number. A passed check is a good start, but treat any unexpected change of bank details with care, and confirm it by phone using a number you already trust.

Common mistakes

  • Confusing O and 0, or I and 1. Check letters in the BBAN carefully.
  • Dropping a leading zero from the account number.
  • Using a domestic account number where an IBAN is needed.
  • Trusting a valid result as proof of ownership. It only checks the format.

What next

Use this often? Add IBAN Validat to your Home screen.

Frequently asked questions

How does the IBAN validator check an IBAN?

It checks the country code and the length for that country, then moves the first four characters to the end, turns letters into numbers and checks that the remainder after dividing by 97 is 1.

Does a valid IBAN mean the account exists?

No. It means the IBAN is well formed with correct check digits. Only the bank can confirm the account and its owner.

How long is an IBAN?

It depends on the country: from 15 characters in Norway to 33 in Russia. The United Kingdom and Germany use 22.

Can the IBAN validator find my typo?

It shows whether the length or check digits are wrong. If only the check digits fail, it shows what they would need to be for the rest of the number.

Is my IBAN uploaded?

No. The check runs in your browser and nothing is stored.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Developer Tools