IBAN validation and IBAN generation

IBAN-Test helps validate IBANs, generate IBANs from bank details and catch payment data errors early. The check validates format, length, check digits and, where available, additional bank data.

This FAQ explains the difference between IBAN checks, the IBAN generator, bank data validation and BIC validation. For automated validation in forms or processes, use the IBAN-Test API.


What is an IBAN?

IBAN basics: structure, purpose and check digits.

An IBAN is an International Bank Account Number. It standardizes bank account details for domestic and international payments and helps identify bank accounts reliably.

An IBAN consists of a country code, two check digits and a country-specific account identifier. In Germany, this identifier includes bank code and account number.

IBAN-Test checks structure, length and check digits. For selected countries, additional validation against bank directories is available.

To the top

What does the IBAN check validate?

The check validates the country code, length, permitted characters and IBAN checksum. Depending on the country, it also checks available bank directories and national account checksums.

This detects many input errors but does not confirm that an account exists, who owns it or whether a payment can be executed. Check the IBAN again

To the top

How does the IBAN generator work?

Generate and validate an IBAN from country code, bank code and account number.

The IBAN generator creates an IBAN from country-specific bank details. For Germany, this means bank code and account number.

IBAN-Test calculates the check digits, formats the IBAN and, where possible, validates the underlying bank data. This means the result is not only formatted correctly, but also checked for plausibility.

For automated processes, IBAN generation is also available through the API.

To the top

What should I do if an IBAN is invalid?

Compare the complete IBAN with online banking or a recent bank statement. Look for missing characters, transposed digits and confusion between letters and numbers, such as O and 0. Do not guess replacement digits.

Ordinary spaces are removed automatically. If the IBAN remains invalid, ask the account holder or their bank to confirm the bank details. Check the IBAN again

If confirmed details still fail, tell support the country and exact error message, initially without a complete IBAN or API token. Contact support. For technical API problems: API error codes.

To the top

What is the difference between IBAN check and bank data validation?

The format check validates the IBAN structure, length and checksum. Bank data validation additionally checks whether the bank identifier appears in the available directories.

The depth of validation varies by country: bank directories and national checksum rules are not equally available everywhere. A successful format check is therefore not the same as a full bank data check. Checks available by country

To the top

Can I validate a BIC?

Yes, the API checks the BIC format and returns available bank details. A BIC has 8 or 11 characters. Compare it with the bank’s information and check for missing characters or transposed digits.

A valid format does not guarantee a bank directory match. Missing bank details therefore do not automatically make a BIC invalid. If in doubt, ask the bank to confirm it. API documentation

To the top

Why does my IBAN have the wrong length?

Each supported country format has a fixed length, determined by the country code at the start of the IBAN. For example, a German IBAN has 22 characters.

Copy the complete IBAN from the bank’s information and check whether characters were lost or added during copying. Leading zeros are part of the IBAN. Do not add or remove digits by guessing. Check the IBAN again

To the top

What does an invalid IBAN checksum mean?

The two digits after the country code do not mathematically match the rest of the IBAN. A typo, transposed digits or an incomplete entry is often the cause.

Compare the entire IBAN with the bank’s information. Do not change just the check digits to obtain a valid result: that would not confirm the intended bank details. Check the IBAN again

To the top

Why is a bank code not recognised?

The bank identifier was not found in the available bank directory or does not match the country format rules. First check the country code, bank identifier and leading zeros.

Older bank details after a merger or change may also require confirmation from the bank. Confirm the current details before changing anything. A missing match alone does not prove that the account does not exist. Check the IBAN again

To the top

Why is an account number invalid despite the correct format?

The right length alone is not enough. Where national checksum procedures are available, these are checked too. The account number must match the rules and the supplied bank identifier.

Check the bank code and account number together against the bank’s information, including leading zeros. If confirmed details still fail, contact support. This is a plausibility check, not a lookup of the actual account. Contact support

To the top

Why are bank details missing for a valid IBAN?

The format and checksum may be valid even when additional data is unavailable for the country or bank. Individual fields, such as city or BIC, may also be missing from an available record.

Missing bank details alone do not make an IBAN invalid. Consider the actual validation result and ask the bank to confirm any details you need. Checks available by country

To the top

Does a valid IBAN confirm the account or its owner?

No. A positive result only confirms the format, checksum and, where available, bank data checks performed. It does not confirm that the account exists, is active or belongs to a particular person.

Account balance, a direct debit mandate and successful payment execution are not checked either. IBAN-Test does not match the account holder’s name (Verification of Payee). If needed, confirm bank details through a trusted contact channel. Check the IBAN again

To the top

Can I enter an IBAN with spaces or lowercase letters?

Yes. Ordinary spaces, tabs and line breaks are removed; lowercase letters are converted to uppercase. The usual display in groups of four is therefore accepted.

Hyphens, dots and other extra characters are not part of an IBAN and are not treated as normal formatting. Copy only the IBAN itself, without the label “IBAN”. Keep leading zeros. Check the IBAN again

To the top

Bank data validation

Bank directory checks for 40 countries

IBAN-Test goes beyond checksum-only validation. For these countries, we check the bank identifier against available bank directories and return bank details such as institution, city and BIC when available. See how IBAN validation works.

ALAlbania ADAndorra ATAustria BEBelgium BGBulgaria HRCroatia CYCyprus CZCzech Republic DKDenmark EEEstonia FIFinland FRFrance DEGermany GIGibraltar GRGreece HUHungary ISIceland IEIreland ITItaly LVLatvia LILiechtenstein LTLithuania LULuxembourg MTMalta MDMoldova MEMontenegro NLNetherlands MKNorth Macedonia NONorway PLPoland PTPortugal RORomania SMSan Marino RSSerbia SKSlovakia SISlovenia ESSpain SESweden CHSwitzerland VAVatican City

IBAN syntax check

Format checks for 115 IBAN formats

Check IBANs for a valid structure, correct length and checksum. This helps you catch typos and transposed digits before a payment fails. Additional bank validation against real bank directories is available for the countries listed above.

MCP Server for AI Agents – Connect AI clients to IBAN validation tools – https://www.iban-test.eu/mcpAPI documentation