Randomly

IBAN Generator

Test IBANs with correct check digits and country lengths, for forms and fixtures. They aren't real accounts and can't be used for payments.

Output · 0 IBANs · GB

Loading…

Loading country patterns…

0 · GB · ? chars
Countries
16
Algorithm
mod-97

Related tools

Guides

This IBAN generator makes fake International Bank Account Numbers for software testing. Pick one of 16 countries (Andorra, Austria, Belgium, Switzerland, Germany, Spain, France, the UK, Greece, Ireland, Italy, Luxembourg, the Netherlands, Norway, Portugal or Sweden). The tool fills that country's account template with random digits and letters, then calculates the two ISO 13616 mod-97 check digits.

So the result passes a checksum validator, which is what you need when testing an input field. It is not a bank account. The bank code and account number are random and don't come from any list of real accounts. Use these for test data only, never to send or receive money or on a real form.

How to use the IBAN generator

  1. Pick a country from the Country menu. It starts on GB.
  2. Set Count from 1 to 20.
  3. Click Generate, or Regenerate, for a new batch.
  4. Click one IBAN to copy it, or Copy all for the whole batch. Output is grouped in fours, the way IBANs are usually printed.

What test IBANs are good for

  • Checking that a payment form accepts a well-formed IBAN and rejects a mistyped one.
  • Seeding a test database or CSV fixture with account fields.
  • Testing country length rules, from Norway's 15 characters to 27 for France, Italy and Greece.
  • Showing how the country code, check digits and account part fit together.

Example IBAN outputs

Four from the generator. The check digits are correct; everything after them is random.

  • GB40 SZOZ 2645 2850 2092 13
  • DE83 0470 0175 0619 1621 62
  • FR73 7394 0752 171X 03X5 91IV N03
  • NL87 UAHI 8700 2260 87

Frequently asked questions

What does IBAN stand for?

International Bank Account Number. ISO 13616 defines it as a two-letter country code, two check digits, then the national account number, called the BBAN.

Are generated IBANs real bank accounts?

No. They're test data: valid check digits around a random bank code and account number. Don't use them to pay or receive money, or on any real application.

Which countries are supported?

16: AD, AT, BE, CH, DE, ES, FR, GB, GR, IE, IT, LU, NL, NO, PT and SE. Other IBAN countries, such as Poland, aren't included.

How are the check digits calculated?

The tool puts the account part first, then the country code and 00, turns letters into numbers (A = 10 through Z = 35), takes the result mod 97 and subtracts that from 98.

Can I generate multiple IBANs?

Yes, up to 20 per batch.

Built and maintained by Bipul Kumar. Found a wrong number or a broken result? Tell me and I'll fix it.