Skip to main content

IBAN validator

Locally validate the general structure and MOD 97 checksum of an IBAN, or calculate check digits from a country code and BBAN.

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

You can enter the IBAN with or without spaces.

The check verifies the general structure and MOD 97 checksum. It does not confirm that the account exists, identify its owner, or validate every country-specific rule.

Was this tool useful?

On this page

How does this tool work?

An IBAN contains a country code, two check digits and a BBAN. This tool validates the checksum or calculates it locally without sending bank details to a server.

To validate an IBAN, the tool normalizes the input, moves the first four characters to the end, converts letters into numbers, and applies the MOD 97 checksum. To calculate check digits, it combines the BBAN with the country code and 00, computes the modulo 97 remainder, and derives the two check digits. This mathematical validation checks checksum consistency only; it does not confirm that the account exists or identify its owner.

How to use this tool

  1. Choose an action

    Validate an existing IBAN or calculate its two check digits.

  2. Enter the data

    Paste the IBAN, or provide the country code and BBAN.

  3. Read the result

    The tool shows the formatted IBAN and the MOD 97 result.

Good to know

What the check does not verify

The MOD 97 check catches almost every typo, but it says nothing about whether the account exists, who holds it, or the exact length each country requires (27 characters in France, 22 in Germany). Before a first large transfer, confirm the account holder with the payee.

Paper and electronic formats

On bank details or an invoice, an IBAN is written in groups of four characters separated by spaces for readability. In a payment file or online form it is written without spaces: the tool accepts both and shows the grouped version.

IBAN check formula (ISO 13616)

Move the first four characters to the end, replace each letter with a number (A = 10, B = 11… Z = 35), then take the remainder of the division by 97.

Validate an IBAN

IBAN is valid if (BBAN + Country code + check digits, letters converted to numbers) mod 97 = 1

The ‖ symbol means the parts are written one after the other.

Calculate check digits

Check digits = 98 − ((BBAN + Country code + 00, letters converted to numbers) mod 97)

A single-digit result is padded with a leading zero.

BBAN
Basic bank account number (BBAN)
CC
Two-letter country code
kk
Check digits

This check catches most typing errors but does not prove that the account exists.

Use cases

Check an IBAN before a transfer

Quickly verify MOD 97 checksum consistency before copying an IBAN into a payment instruction.

Check manual data entry

Spot common typing errors when entering or copying an IBAN from a document or message.

Calculate check digits

Generate the two check digits from a country code and BBAN for testing or constructing an IBAN.

Examples

Checking a sample German IBAN

Moving DE89 to the end and converting D = 13 and E = 14, the resulting number divided by 97 leaves a remainder of 1: the key is correct.

Input

IBAN: DE89 3704 0044 0532 0130 00

Result

Valid IBAN checksum; Country: DE; Check digits: 89

Spotting a typo in the check digits

A difference of one (88 instead of 89) is enough: the remainder is no longer 1, so the IBAN is rejected.

Input

IBAN: DE88 3704 0044 0532 0130 00

Result

The IBAN checksum is invalid.

Tips and best practices

  • Spaces and hyphens are ignored during validation.
  • A valid checksum does not prove that the bank account exists.
  • All data stays in your browser.

Sources and references

Frequently asked questions

Does a valid IBAN checksum prove the account exists?

No. The mathematical check validates the checksum only, not the existence or ownership of the account.

Are my bank details sent anywhere?

No. The calculation runs locally in your browser.

How does the MOD 97 check work?

The IBAN is rearranged, letters are converted to numbers, and the resulting sequence is reduced modulo 97. A valid IBAN is expected to leave a remainder of 1.

Why might a bank reject a valid IBAN?

Passing the format and checksum checks does not prove that the account exists or is active.

Does the tool check that the account exists?

No. It checks the general structure (country code, two check digits, 15 to 34 characters) and the modulo-97 check digits, but not the exact length required by each country. A valid IBAN can therefore belong to a closed or non-existent account; only the bank or a test transfer can confirm it.

How long is an IBAN?

It depends on the country, up to 34 characters: 27 in France and Italy, 22 in Germany and the United Kingdom, 24 in Spain, 25 in Portugal, 16 in Belgium. The spaces shown in groups of four do not count.

Related tools

Tools similar or complementary to this one.

Similar tools

GuideConcepts and technologiesBeginner

Burn rate and runway: how long can cash last?

Learn how burn rate and runway are calculated, the difference between gross and net burn, and why runway is not a full cash forecast.

25 September 20262 min