IBAN generator
Test data only
Generate International Bank Account Numbers (IBANs) that pass ISO 7064 MOD-97-10 checksum validation. Supports UK, Germany and France with real bank codes. For testing only — these are not real bank accounts.
Generated IBANs
What this IBAN generator does
The generator creates IBANs (International Bank Account Numbers) for the United Kingdom, Germany and France that pass the MOD-97 check. The bank identifiers come from a short built-in list, but the account numbers are random. The numbers are well formed, and they do not belong to any real account.
How to use it
- Choose a country, and how many IBANs you need.
- Click Generate, then copy the list or download the CSV.
How an IBAN is built
- Country code (2 letters): for example GB, DE or FR.
- Check digits (2 digits): calculated from the rest of the number using the MOD-97 method.
- Basic bank account number (BBAN): the national bank code, branch code and account number. Its length and format depend on the country (22 characters for GB and DE, 27 for FR).
To check an IBAN by hand, move the first four characters to the end, replace each letter with two digits (A = 10 through Z = 35), and take the result modulo 97. A valid IBAN gives a remainder of 1. This is the same check that banks and payment forms use to catch typing errors.
What a valid check digit does and does not prove
A valid IBAN is correctly formed. It does not show that the account exists, is open, belongs to a particular person, or can receive money. Only the bank can confirm an account.
Limits and responsible use
- Use generated IBANs only in test environments, for example to check that a payment form accepts well-formed input.
- Never use them for real transfers, direct debits or invoices.
- Do not try to find or use a real person's account details to test a system. Test with generated values instead.
For related test data, see the credit card generator for card numbers and the full profile generator for a complete test customer.
What is an IBAN?
An IBAN (International Bank Account Number) is a standardised international numbering system for bank accounts. It consists of a two-letter country code, two check digits, and a country-specific BBAN (Basic Bank Account Number). IBANs are used across Europe, the Middle East, and parts of Africa and Asia for international bank transfers.
How IBAN validation works (MOD-97)
Every IBAN contains two check digits computed using the ISO 7064 MOD-97-10 algorithm. The algorithm rearranges the IBAN, converts letters to numbers (A=10, B=11...), and verifies the result modulo 97 equals 1. This generator computes the correct check digits for every generated IBAN, ensuring they pass any standard IBAN validator.
Supported country formats
- United Kingdom (GB) — 22 characters: GB + 2 check digits + 4-letter bank code (NWBK, BARC, HSBC, LOYD) + 6-digit sort code + 8-digit account number
- Germany (DE) — 22 characters: DE + 2 check digits + 8-digit bank code (Bankleitzahl) + 10-digit account number
- France (FR) — 27 characters: FR + 2 check digits + 5-digit bank code + 5-digit branch code + 11-digit account + 2 RIB key