Test IBAN Generator (Mod-97 Valid)
Generate IBANs (International Bank Account Numbers) that pass Mod-97 checksum validation but are test only — they won't correspond to real bank accounts. Useful for development against payment systems that validate IBAN format, for QA test fixtures, and for demonstrating IBAN handling without using real account numbers.
How to use the Test IBAN Generator (Mod-97 Valid)
Pick a country, set count, click Generate. Each IBAN matches that country's length and format, with a valid Mod-97 checksum. Display can be grouped in 4-character blocks for readability (the standard IBAN display format) or unbroken. Pair with our IBAN Validator to confirm checksums.
Generating test IBANs that pass validation
An IBAN packs a country code, two check digits, and a country-specific account number (the BBAN) into one string of up to 34 characters. The two check digits come from a Mod-97 calculation over the rest: move the four leading characters to the end, turn letters into numbers, and the whole thing modulo 97 must equal 1. This tool builds strings of the correct length for each country, then fills in check digits that satisfy that rule.
The result validates structurally but is not a real account — it maps to no bank and no person. That is exactly what you want for filling test fixtures, exercising a payment form's validation, or demonstrating IBAN handling in a demo, all without exposing genuine banking details. For checking IBANs the other way, the IBAN validator runs the same Mod-97 test.
Common use cases
- Form validation testing — feed structurally valid IBANs to a checkout or signup form without real data.
- Test fixtures — seed a database or test suite with plausible IBANs across several countries.
- Demos and screenshots — show IBAN handling without revealing a real account number.
- Cross-country format checks — confirm your code handles the different lengths Germany, France, and the UK use.
- Sandbox payment flows — populate test transfers against a provider's sandbox that only checks format.