TTKTheTextKit

IBAN Validator

Paste an IBAN, with or without spaces, and the validator checks the country code, the length for that country and the mod 97 check digits, then shows the country, the check digits, the national account number (BBAN) and the print and electronic formats. If it fails, it says why: wrong length, unknown country or a check digit mismatch. A second mode builds an IBAN by working out the two check digits from a country code and an account number. Example buttons load public sample IBANs. The IBAN is checked in your browser and never uploaded.

The buttons fill in example IBANs from the registry. They pass the check but are not real accounts.

Valid format: This IBAN passes the length and check digit tests.

Print format
GB82 WEST 1234 5698 7654 32
Electronic format
GB82WEST12345698765432
Country
United Kingdom
Code GB, 22 characters
Check digits
82
Remainder 1 after dividing by 97
Account number (BBAN)
WEST12345698765432
18 characters: the bank and account part

An IBAN has a two letter country code, two check digits and the national account number (BBAN), up to 34 characters in all. The test moves the first four characters to the end, turns letters into numbers (A is 10, Z is 35) and divides by 97: a valid IBAN leaves a remainder of 1. It also checks that the length matches the country. Passing the test means the number is well formed, not that the account exists or belongs to the person you expect, so confirm payment details with the payee. The IBAN you type is checked in your browser and is never uploaded.

Related Tools

[5 suggestions]

About the IBAN Validator

An IBAN (International Bank Account Number) is a country code, two check digits and the national account number (BBAN), up to 34 characters in all, and each country has one fixed length: Norway uses 15, Germany and the United Kingdom 22, France 27 and Russia 33. This tool knows the lengths of 89 countries and territories. The check works in four steps: confirm the length for the country, move the first four characters to the end, replace every letter with two digits (A is 10, B is 11 and Z is 35), and divide the resulting number by 97. A valid IBAN leaves a remainder of 1. For GB82 WEST 1234 5698 7654 32 the rearranged number WEST12345698765432GB82 becomes a long integer that leaves 1, so it passes. To make the check digits, put 00 in their place, take the remainder r and use 98 minus r, padded to two digits. The mod 97 test catches almost every mistyped character and swapped pair of neighbors, though not quite all of them, and it does not prove the account exists or belongs to the person you mean to pay, and it does not check the bank code inside the BBAN, so confirm payment details with the payee. The sample IBANs are public examples and not real accounts.

How do I check if an IBAN is valid?▾

Check that the length matches the country, move the first four characters to the end, turn letters into numbers (A is 10 to Z is 35), and divide by 97. The IBAN is valid if the remainder is 1. This validator does all of that for you.

How long is an IBAN?▾

It depends on the country. Norway has 15 characters, Belgium 16, the Netherlands 18, Germany and the United Kingdom 22, Spain 24, France and Italy 27, and Russia 33. The maximum is 34.

Does a valid IBAN mean the account exists?▾

No. The test only shows that the number is well formed, so typing mistakes are caught. It cannot tell whether the account is open or whose name it is under, so confirm details with the payee before you send money.

How are the IBAN check digits calculated?▾

Put 00 in place of the check digits, move the first four characters to the end, convert letters to numbers and divide by 97. The check digits are 98 minus the remainder, written with two digits.

Is my IBAN uploaded?▾

No. The check runs in your browser and nothing you enter is sent anywhere.