Everyday tool

IBAN Validator and Format Checker

Enter an IBAN to check its structure and MOD-97 checksum.

Runs in your browser. No upload.

Values are processed locally in this browser.

Result

—

About this tool

IBAN Validator and Format Checker made simple.

A valid checksum does not prove that the account exists, is open, belongs to a person or can receive a payment. The value stays in this browser.

Guide

Using IBAN Validator and Format Checker

The IBAN checker looks at the shape of an International Bank Account Number and tells you if it passes two tests. First, it compares the length with the length listed for the two-letter country code. Second, it runs the MOD-97 check on the check digits. Spaces, hyphens and small letters are ignored. It is useful before you type a number into a payment form or a spreadsheet. It does not say that the account exists, is open or belongs to a named person, and it does not contact any bank.

How to use it

  1. Paste or type the IBAN into the IBAN box. Spaces and hyphens are fine, and lowercase letters are changed to capitals for you.
  2. Press Calculate. The Result area replaces the dash with the outcome of the length test and the MOD-97 test.
  3. Read the first line. If the length is wrong, you will see how many characters you gave and how many that country expects, and the checksum is not shown.
  4. Read the checksum line. Valid means the check digits fit the rest of the number. Invalid usually points to a typo or a swapped digit.
  5. Press Copy result to save the text, or Clear to empty the box and test another number.

Worked examples

A correct United Kingdom IBAN

You enter
Iban
GB82 WEST 1234 5698 7654 32
You get
Result
IBAN length: valid (22 characters) MOD-97 checksum: valid This does not confirm that an account exists or belongs to anyone.

The code GB expects 22 characters, and this number has 22. Moving the first four characters to the end and reading the letters as numbers leaves a remainder of 1 when divided by 97.

Run through the tool’s own code.

One digit changed at the end

You enter
Iban
GB82 WEST 1234 5698 7654 33
You get
Result
IBAN length: valid (22 characters) MOD-97 checksum: invalid This does not confirm that an account exists or belongs to anyone.

The length still fits, so only the checksum fails. This is the kind of typo the check digits are there to catch.

Run through the tool’s own code.

A German IBAN with the last two digits missing

You enter
Iban
DE89 3704 0044 0532 0130
You get
Result
Invalid IBAN length: 20 characters; DE IBANs should have 22.

The tool stops at the length test when the length is wrong, so no checksum line is printed.

Run through the tool’s own code.

Lowercase letters and hyphens

You enter
Iban
es91-2100-0418-4502-0005-1332
You get
Result
IBAN length: valid (24 characters) MOD-97 checksum: valid This does not confirm that an account exists or belongs to anyone.

Hyphens and spaces are removed and letters are made uppercase before the tests, so the same number gives the same answer in any layout.

Run through the tool’s own code.

When it helps

  • Catching a typo in a supplier or landlord IBAN before you set up a transfer.
  • Cleaning a column of account numbers copied from emails or invoices.
  • Teaching how check digits work in a class on codes or banking.
  • Spotting an IBAN of the wrong length when a form rejects it without saying why.
  • Testing sample IBANs while building or checking a payment form.

Limits to keep in mind

  • A pass means only that the length matches the table and the MOD-97 check works out. It does not show that the account exists, is open, belongs to a person, or can take a payment.
  • The tool holds a length table for 87 country codes. If a code is missing, it says so and still shows a checksum result, so confirm the country with an official source.
  • It checks length and check digits only. It does not test the letters and digits inside each country's own layout, or any bank code or national check digit.
  • When the length is wrong the checksum is not calculated, so one answer cannot hide behind the other.
  • The input must start with two letters and two digits, followed by letters or digits. Anything else shows a short message asking for that shape.

Tips

  • Copy the IBAN from the source instead of retyping it, then check it here to confirm nothing was lost.
  • If the checksum fails, compare the number with the original one group of four at a time.
  • Ask the person you are paying to confirm the account name through a channel you already trust.
  • Use this as a first check only. Your bank's own payee check is the stronger test.

Sources

Common questions

About IBAN Validator and Format Checker.

What does this IBAN checker actually test?

Two things. It compares the number of characters with the length stored for the first two letters, and it runs the MOD-97 test on the whole number after moving the first four characters to the end. Nothing else is tested.

Does a valid result mean the account exists?

No. A valid result only shows the number is well formed for the checks above. The account may not exist, may be closed, or may belong to someone else. Only the bank holding the account can confirm those things.

What is the MOD-97 check?

The first four characters are moved to the end, each letter is swapped for a number from 10 to 35, and the long number is divided by 97. If the remainder is 1, the check digits fit. The standard is ISO 13616, with SWIFT as its registrar.

Why does it say my length is invalid without a checksum?

Each country has a fixed IBAN length. If your number has a different number of characters, the tool reports that first and stops, because a wrong length already means a typo or a missing part.

Why do spaces and hyphens not matter?

Spaces are only for reading, in groups of four. The tool removes spaces and hyphens and changes letters to capitals before it counts characters or runs the checksum.

My country is not recognised. What now?

The tool says its local length table does not include that code and shows only a basic format note and a checksum result. Look up the country's IBAN length in the official registry, or ask your bank.

Can it check a BIC or SWIFT code?

No. A BIC is a different code that names a bank. This tool reads only the IBAN, and it has no bank list to look anything up in.

Is the IBAN sent to a server?

No. The page says the value stays in this browser, and the check is done by code running on the page. It does not contact a bank or a lookup service.

Should I trust a pass when sending a large payment?

Treat it as a typo filter, not a safety test. A fraudster can give you a perfectly valid IBAN. For large or first-time payments, confirm the details with the payee by another route.

How do I use IBAN validator?

Enter an IBAN to check its structure and MOD-97 checksum.

Is my data uploaded to a server?

No. This tool runs locally in your browser. Your input is not uploaded.