IBAN Generator for Testing
Generate test IBANs with correct mod-97 check digits and the right length for 20 countries (DE, GB, FR, ES, IT, NL…), plus an IBAN validator. Not real accounts.
The IBAN check digits (ISO 7064 mod 97-10) are calculated; the rest of the account number is random digits in the correct format.
What is IBAN Generator?
Generate syntactically valid IBANs for testing payment forms, SEPA exports and banking software. Each IBAN has the correct length and structure for its country and correct ISO 7064 mod 97-10 check digits; for Belgium, Spain, Finland, France, Italy, the Netherlands, Norway, Poland and Portugal the national check digit inside the account number is calculated too. A validator checks any IBAN you paste.
How to use IBAN Generator
- Choose the Country (its IBAN length is shown) and How many IBANs.
- Toggle Print format to group the characters in fours.
- Click Regenerate for new IBANs and copy them.
- Paste an IBAN into Check an IBAN to validate it.
Example
Countries Germany, United Kingdom, France
DE40 2487 8474 7933 2062 75 GB55 DCMD 8281 6672 6103 08 FR76 8264 2692 0392 1237 5811 406
Random values with correct check digits; yours will differ.
When to use IBAN Generator
Use it for testing input validation, SEPA XML generation, database seeding and demos. The bank codes are random, so a bank-lookup or real transfer will fail — which is exactly what you want for test data. Do not use generated IBANs in real payment instructions.
How IBAN Generator works
The BBAN (domestic account number) is built from the country's structure in the SWIFT IBAN registry, e.g. Germany 8-digit bank code + 10-digit account. Where the country has its own check digits they are computed (French RIB key, Spanish DC, Italian CIN, Belgian mod 97, Dutch eleven-test, Finnish Luhn, Norwegian and Polish mod 10/11, Portuguese NIB). Then the IBAN check digits are calculated: move the country code and 00 to the end, replace letters with numbers (A = 10 … Z = 35), compute the remainder mod 97 and use 98 − remainder. Validation recomputes the remainder, which must equal 1.
Common Use Cases
- Testing IBAN fields and checksum validation in forms
- Creating SEPA credit transfer or direct debit test files
- Seeding accounting or payroll software with dummy accounts
- Validating an IBAN someone sent you before saving it
Security Note
For testing only. Never use generated IBANs on invoices or payment instructions.
FAQs
Are these real bank accounts?
No. Only the format and check digits are correct; bank codes and account numbers are random.
How are IBAN check digits calculated?
Move the country code plus 00 to the end, convert letters to numbers (A=10…Z=35), take the number modulo 97 and subtract the result from 98.
Does a valid checksum mean the account exists?
No. It only proves the IBAN has no typing errors; whether the account exists can only be confirmed by the bank.