Skip to content

IBAN Validator and Parser

Validate IBAN format, verify check digits, and extract country code, bank code, and account number.

IBAN Validator and Parser tool

Loading...

Example

Input: GB82WEST12345698765432

Result: Valid IBAN - Country GB, Check Digits 82, Bank Code WEST, Branch Code 123456, Account Number 98765432, Formatted GB82 WEST 1234 5698 7654 32

The first four characters are moved to the end, letters become numbers (A = 10 ... Z = 35) and the result modulo 97 must equal 1, which it does here.

IBAN Length by Country

CountryCodeLengthSEPA
NorwayNO15Yes
BelgiumBE16Yes
NetherlandsNL18Yes
AustriaAT20Yes
SwitzerlandCH21Yes
GermanyDE22Yes
United KingdomGB22Yes
IrelandIE22Yes
SpainES24Yes
SwedenSE24Yes
FranceFR27Yes
ItalyIT27Yes
PolandPL28Yes
BrazilBR29No
MaltaMT31Yes

Lengths and SEPA flags from the ibantools country rules the validator uses.

  1. Enter or paste the IBAN, with or without spaces between the groups.
  2. The tool reads the country from the first two letters and checks the expected length.
  3. See whether the IBAN passes the mod-97 check digit test.
  4. For a valid IBAN, read the breakdown: country code, check digits, bank code, branch code (where used), account number, BBAN, and the formatted and compact forms.
  5. If the check fails, read the error to see whether the problem is the country code, length, format or check digits.

How IBAN Check Digits Catch Typos

An IBAN (International Bank Account Number) is a two-letter country code, two check digits and the national account number, called the BBAN. This validator checks the length and layout for the country, then runs the mod-97 check. That check catches most typing mistakes before you send money.

Here is how the check works. Move the first four characters to the end, turn letters into numbers (A = 10, B = 11, up to Z = 35), and divide the result by 97. A valid IBAN always leaves a remainder of 1. One wrong character or two swapped neighbors almost always break that. For some countries, the tool also checks the national bank or account checksum.

Spaces do not matter and lowercase is fine. Paste GB82 WEST 1234 5698 7654 32 and the tool shows the country, the check digits, the bank code (WEST), the branch or sort code (123456) and the account number (98765432). It also gives the printed form in groups of four. If something is wrong, it says what: an unknown country code, the wrong length, a bad format or failed check digits.

Each country has a fixed length. A German IBAN always has 22 characters and a French one has 27, and the table below lists more. The tool knows the rules for over 120 country codes through the ibantools library, and every check runs in your browser.

A valid result means the number is well formed. It does not prove the account exists, is open, or belongs to the person you expect. Confirm payment details with the payee through a channel you trust, especially if they changed by email. To convert the amount you are sending, see the Currency Converter.

Frequently Asked Questions

No. The check digits only prove that the number is consistent with itself. A made-up IBAN with correct check digits will pass, and so will a real account that has been closed. Only the bank can confirm the account and its owner. Some countries offer a name check when you set up a payment, such as Confirmation of Payee in the UK.
It depends on the country, from 15 characters in Norway to 33 in Russia in the rules this tool uses. Common lengths are 22 for Germany and the UK, 24 for Spain, and 27 for France and Italy. The length is fixed for each country, so a single missing digit is enough for the tool to report the wrong length.
The IBAN identifies one account. The BIC, often called a SWIFT code, identifies the bank itself and has 8 or 11 characters, such as DEUTDEFF. Many international transfers ask for both. Within the SEPA area in Europe, the IBAN alone is usually enough for a euro transfer.
The usual causes are a mistyped or swapped digit, a letter O typed instead of a zero, or a missing character. The tool names the problem: wrong length, wrong format for the country, or a checksum mismatch. Copy the IBAN straight from your banking app instead of retyping it, and compare it in groups of four.
No. Banks in those countries use their own account numbers with a routing number (US), a transit and institution number (Canada) or a BSB code (Australia). For an international payment into them you usually need that local account number plus the BIC of the bank. The validator will report an unknown or unsupported country code for them.

Related Tools

Phone Number Parser and Formatter

Parse and format phone numbers with international codes, detect country, and convert to E.164 format.

Network Tools

Email Normalizer

Normalize email addresses by lowercasing, removing dots and plus aliases for Gmail, and trimming whitespace.

Network Tools

UUID Generator

Generate random UUIDs in v4 and v7 formats with bulk generation and one-click copy support.

Developer Tools

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files right in your browser.

Developer Tools