Random IBAN Generator
Generate test IBANs with a valid country structure and check digits, tied to no real account.
Random IBAN Generator
Valid GB IBAN
How many IBANs
Country
How to use the IBAN generator
- Choose a country to load its exact length and format.
- Generate one or many. Each carries valid mod 97 check digits.
- Copy or export the IBANs, spaced in fours for readability.
About Random Nr's IBAN Generator
The random IBAN generator creates test IBANs with a valid country structure and correct check digits, tied to no real account. Pick a country, generate the number, and Random Nr builds it to the right length and layout with a passing checksum, so it works in a form that validates the format while remaining safe demo data.
IBAN length and format by country
An IBAN starts with a two letter country code and two check digits, then a national account part whose length is fixed per country. The generator uses the correct structure for each.
| Country | Total length | National part |
|---|---|---|
| Norway | 15 | the shortest IBAN in use |
| United Kingdom | 22 | 4 letter bank code, 6 digit sort, 8 digit account |
| Germany | 22 | 8 digit bank code, 10 digit account |
| Spain | 24 | all digits |
| France | 27 | among the longest, mixes digits and letters |
Lengths run from 15 up to 34 characters worldwide, which is why an IBAN field should never assume a fixed size. Generating several countries at once is a quick way to test that.
How the check digits work
The two digits after the country code are a mod 97 checksum over the rest of the IBAN. To compute them, the tool moves the country code and a placeholder to the end, converts every letter to a two digit number (A is 10 through Z is 35), then finds the check value that makes the whole number leave a remainder of 1 when divided by 97. That single test catches almost every mistyped IBAN, and it is the same calculation a bank runs before accepting one.
Why these IBANs are valid but not real
Each IBAN here passes the checksum and matches its country format, so validation code accepts it, but the account part is random and belongs to no real account. That makes these ideal for testing payment forms and import routines without touching real bank details. For a plain unchecked account number, use the account number generator.
More code and ID generators
Frequently asked questions
Are these IBANs valid
They are structurally valid and pass the mod 97 checksum, so validation code accepts them. They are not linked to any real bank account.
Which countries are supported
Great Britain, Germany, France, Spain and the Netherlands, each with the correct length and format for that country.
Why generate IBANs
To test payment forms, validation rules and data imports without using anyone real bank details.
Can I generate several
Yes, up to 200 at once, spaced in groups of four for readability and ready to export.
Is it free
Yes, free and with no sign up.
Related generators
- Random PIN Code Generator
- Random OTP Code Generator
- Random Serial Number Generator
- Random Invoice Number Generator
- Random Account Number Generator
- Random IBAN Generator
- Random IMEI Number Generator
- Random VIN Number Generator
- Random ISBN Generator
- Random Barcode Number Generator
- Random Zip Code Generator
- Random Phone Number Generator
- Random IP Address Generator
- Random Lock Combination Generator
For a plain bank number without a checksum, use the account number generator.