Skip to content

IBAN Validator

Validate an IBAN's length, country and mod-97 checksum, and generate test ones.

Quick Tool Overview

The IBAN Validator checks the country code, the length that country uses, the character set and the mod-97 checksum separately, breaking the number into its parts — and it generates structurally valid test IBANs too.

What it does
Validates and explains an IBAN, and generates test ones
You give it
An IBAN, in any spacing
You get back
Per-rule results and the number broken into parts
Best for
Payment forms and banking integrations
Developer Tools Free, unlimited use No sign-up Runs in your browser

About the IBAN Validator

An IBAN encodes a country, two check digits and a national account number, and the check digits are computed with a mod-97 operation over the whole thing rearranged. That catches essentially every typo, which is why the format exists.

This checks all of it: that the country code is one that issues IBANs, that the length matches what that country uses — they vary from 15 characters in Norway to 32 in Saint Lucia — that the characters are legal, and that the checksum holds. Each part is broken out so you can see the country, the check digits and the national account number separately. There is also a generator for structurally valid test IBANs.

Key features of the IBAN Validator

Every rule checked separately

A wrong country, a wrong length and a failed checksum are three different problems and get three different messages.

Real length table

All 70-odd IBAN countries, from Norway’s 15 characters to Saint Lucia’s 32 — a length check alone catches most typos.

The mod-97 checksum

Computed properly in chunks, because the value exceeds any native integer type.

Parts broken out

Country, check digits and the national account number, shown separately and formatted in groups of four.

Test IBAN generator

Structurally valid numbers for any supported country, for filling a form in a test environment.

How to use the IBAN Validator

  1. 1

    Paste the IBAN

    Spaces and hyphens are ignored, and case does not matter.

  2. 2

    Read the checks

    Country, length, characters and checksum are each assessed separately.

  3. 3

    See the parts

    Country code, check digits and the national account number, broken out.

  4. 4

    Generate a test one

    A structurally valid IBAN for whichever country you need.

Frequently asked questions

No. The checksum proves the number is well-formed and has not been mistyped. Whether an account exists behind it can only be established by the banking system.

Reviews of the IBAN Validator

What people who use the IBAN Validator think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the IBAN Validator. It takes half a minute and no account.

Write the first review

More developer tools