BYTETOOLS

IBAN Generator

Generate test IBANs for 26 countries with correct ISO 13616 check digits. Right length, right character pattern, MOD-97 validated and exportable as CSV.

For testing only. These IBANs have the right length, the right character pattern and correct ISO 13616 check digits, so they pass validation code — but the bank and account parts are random, so they do not identify a real account and cannot receive a payment.

The check digits are produced exactly as ISO 13616 specifies: the country code and a placeholder “00” move to the end, every letter becomes a two-digit number (A=10 … Z=35), and the check digits are 98 minus the remainder of that value divided by 97. The remainder is accumulated digit by digit so it stays well inside JavaScript’s safe integer range, and every IBAN is re-validated before it appears. Nothing is uploaded.

What is the IBAN Generator?

An IBAN is not just a random string — it has a fixed length per country, a defined pattern of letters and digits, and two check digits that must agree with everything else.

  • 26 countries with registry-accurate BBAN patterns
  • ISO 13616 check digits computed from scratch
  • Every IBAN re-validated with MOD-97 before display
  • Compact or printed grouping in fours
  • CSV export including country, length and check status
  • Fully offline — nothing is uploaded

How to use the IBAN Generator

  1. 1

    Choose a country — the hint shows that country's total IBAN length.

  2. 2

    Set how many IBANs you need, up to 200 at a time.

  3. 3

    Press Generate IBANs and confirm the MOD-97 check reads All pass.

  4. 4

    Switch the printed format toggle if you want groups of four when copying.

  5. 5

    Copy the list, or download it as CSV with the length and check status.

About the IBAN Generator

An IBAN is not just a random string — it has a fixed length per country, a defined pattern of letters and digits, and two check digits that must agree with everything else. This generator assembles a valid structure for the country you choose and then computes the check digits properly, so the result passes the validation code in your application.

The check digits follow ISO 13616 exactly. The country code and a placeholder of 00 move to the end of the string, every letter is replaced by a two-digit number where A is 10 through to Z is 35, and the check digits are 98 minus that huge number modulo 97. The remainder is accumulated digit by digit so it always stays inside JavaScript's safe integer range.

These IBANs are for testing only. The bank and account portions are random, so they do not identify a real account and cannot receive a payment. Everything is generated in your browser, every IBAN is re-validated before it appears, and nothing is uploaded.

Frequently asked questions

How are IBAN check digits calculated?

Move the four leading characters to the end, replacing the check digits with 00. Convert every letter to a number where A is 10 up to Z is 35. Treat the result as one long integer, take it modulo 97, and subtract that from 98. A valid IBAN always leaves a remainder of 1.

Are these IBANs real bank accounts?

No. Only the country code, the length and the check digits are correct. The bank identifier and account number are random, so no bank recognises them and no money can be sent to them.

Why do IBANs have different lengths in different countries?

Each country kept its own domestic account number format when IBAN was introduced, so the national part varies. Norway needs 15 characters in total while Malta needs 31. The tool uses the published length and pattern for each country.

Will these test IBANs pass validation in my software?

They should pass any check based on length, character pattern and the MOD-97 checksum, which covers the vast majority of validation libraries. Software that also verifies the bank code against a real bank directory will reject them, as it should.

Can I use these for a real bank transfer?

No. They are fixtures for testing forms, databases and validation rules. A transfer to one of these numbers would simply fail, and attempting to misuse banking identifiers can be a criminal matter.

Related tools