IBAN validator and parser

Validate and parse IBAN numbers. Check if an IBAN is valid and get the country, BBAN, if it is a QR-IBAN and the IBAN friendly format.

Enable JavaScript to use the interactive tool. The guide below explains how it works.

IBAN Validator and Parser: A Technical Deep Dive

What the tool does

The IBAN Validator and Parser is a robust utility designed to verify the structural integrity and mathematical correctness of International Bank Account Numbers (IBAN). Beyond simple validation, it serves as a sophisticated parsing engine that decomposes a complex IBAN string into its constituent parts, such as the country code and the Basic Bank Account Number (BBAN).

The tool utilizes the ISO 13616 standard to perform its checks. It automatically handles common formatting issues like spaces and hyphens, normalizes the input to uppercase, and then applies a series of rigorous tests: length verification (specific to each country), character set validation, and the MOD-97-10 checksum algorithm. If an IBAN is invalid, the tool provides specific, human-readable error messages explaining exactly which part of the validation failed. Additionally, it identifies specialized variants like the Swiss QR-IBAN and provides a "friendly format" version of the input for better readability.

Why someone uses it

In the global financial landscape, the accuracy of bank account details is paramount. A single digit error in a cross-border transfer can lead to failed transactions, significant bank fees, and administrative delays.

1. Financial Data Integrity

Businesses processing payroll, supplier payments, or customer refunds use this tool to ensure that every IBAN entered into their systems is valid before attempting a transaction. This proactive validation saves thousands of dollars in "returned item" fees charged by banks.

2. Software Integration Testing

Developers building fintech applications or e-commerce platforms use the tool to generate or verify test data. By understanding why certain IBANs fail (e.g., "Wrong Checksum"), they can build better error-handling logic into their own software.

3. Cross-Border Remittance

Individuals sending money internationally often receive IBANs in various formats (scrunched together or separated by spaces). This tool allows them to verify the code is correct and see it in the standard "friendly" 4-character block format used by most banking interfaces.

4. Identification of QR-IBANs

With the rise of QR-bills in regions like Switzerland and Liechtenstein, distinguishing a standard IBAN from a QR-IBAN (which has specific routing requirements) is essential for modern payment processing.

Step-by-step instructions

  1. Input the IBAN: Locate the "IBAN validator and parser" tool. In the main input field, enter the IBAN you wish to check.
    • Note: You don't need to worry about spaces or dashes; the tool cleans the input automatically.
  2. Instant Validation: As you type or paste, the tool immediately processes the input. A results card will appear below the input field.
  3. Interpret the Results:
    • Is IBAN valid?: A clear "true" or "false" indicator.
    • IBAN errors: If invalid, this section lists specific reasons (e.g., "Wrong IBAN checksum" or "No IBAN country").
    • Is IBAN a QR-IBAN?: Indicates if this is a specialized Swiss QR-payment code.
    • Country code: Displays the ISO country prefix (e.g., "FR" for France).
    • BBAN: Shows the internal country-specific part of the account number.
    • IBAN friendly format: Shows the IBAN separated into easy-to-read blocks (e.g., FR76 3000 6...).
  4. Copy Data: Click on any of the result values (like the BBAN or the friendly format) to copy them to your clipboard for use in other applications.
  5. Use Examples: If you just want to see how the tool works, the "Valid IBAN examples" section at the bottom provides clickable samples from different countries.

Examples

Example 1: A Valid French IBAN

Example 2: An Invalid Checksum

Example 3: Wrong Length for Country

FAQs

Q: What is an IBAN?

A: An IBAN (International Bank Account Number) is an internationally agreed-upon system of identifying bank accounts across national borders with a reduced risk of propagating transcription errors.

Q: Does this tool store my bank details?

A: No. All validation and parsing happen locally in your browser. No data is sent to a server, making it safe for handling sensitive financial identifiers.

Q: Can this tool tell me who owns the account?

A: No. For security and privacy reasons, an IBAN only contains routing and account identification information. It does not contain the name of the account holder or the account balance.

Q: What is a QR-IBAN?

A: A QR-IBAN is a special version of an IBAN used specifically for Swiss QR-bills. It has a specific range of IID (Instituts-Identifikation) numbers and is mandatory for certain types of structured payments in Switzerland.

Q: Why does it say "Wrong Checksum" when the number looks right?

A: The last two digits of the IBAN are a "check" calculated from the rest of the number. If you change even one digit anywhere else in the IBAN, the check digits will no longer match the calculated result.

Common mistakes

1. Forgetting the Country Code

An IBAN must always start with a two-letter ISO country code. Providing just the local account number (like a RIB in France or a Sort Code in the UK) will result in a "No IBAN country" error.

2. Confusing zeros (0) and letters (O)

In some fonts, these look identical. The IBAN standard is strict about character types. If you get a "Wrong BBAN format" error, check for character substitution.

3. Thinking all IBANs are the same length

IBAN lengths vary by country. For example, Norway uses 15 characters, while Malta uses 31. Don't assume an IBAN is "too long" or "too short" without checking the specific country's standard.

4. Manually calculating checksums

Never try to "guess" the check digits. Use a tool like this one to verify them. The MOD-97 algorithm is complex and involves treating the entire IBAN string as a single massive integer.

Use cases

Related tools

All tools

Guides and articles