France is one of the countries where a lazily constructed test IBAN fails twice. The FR IBAN is 27 characters long and contains two independent checks: the standard ISO mod-97 check digits right after FR, and the national clé RIB, a 2-digit key at the end of the BBAN computed over the bank code, branch code and account number. A French bank’s own systems, and many stricter validation libraries, verify the RIB key as well, so a random 27-character string with fixed check digits is not enough for a realistic test IBAN for France.
Anatomy of the French format
The BBAN breaks down as: 5-digit bank code (code banque), 5-digit branch code (code guichet), an 11-character account number that may contain both digits and uppercase letters, and the 2-digit RIB key. That letters-allowed account segment is worth noting in QA: if your regex assumes digits only, French IBANs from real customers will bounce, which is exactly the kind of bug a good fixture set catches early.
Using FR test IBANs in practice
A concrete pattern from payment-sandbox onboarding: many PSP sandboxes ask for a French IBAN to simulate SEPA Direct Debit mandates for the French market. Feed them a generated value from this page and the mandate flow proceeds; feed them garbage and you get an opaque 422. The same applies to database seeders for demo environments and to load-test scripts that create thousands of synthetic customers, each needing a distinct, format-correct IBAN.
The generator runs entirely client-side in your browser. Nothing you generate leaves your machine, and each output carries a visible TEST label so it is never mistaken for production data.
The boundary you should not cross
Structural validity is a syntax property, not proof of existence. No generated FR IBAN maps to a real account at BNP, Crédit Agricole or anywhere else, and EU Verification of Payee checks now compare payee names against IBANs before money moves. Use these values in test suites, sandboxes and documentation. Do not put them on invoices, payment requests or anything a human might act on financially.