Test IBAN for France — valid FR IBANs for development and QA

France (FR) - IBAN length: 27 characters, SEPA member, domestic check digit validated.

For developers and QA. Uses documented test/example bank codes where available. Never use a generated IBAN for a real payment.

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.

Frequently asked questions

How is a French IBAN structured?

A French IBAN is 27 characters: FR, two check digits, a 5-digit bank code, a 5-digit branch code, an 11-character account number (digits and letters allowed) and a 2-digit national RIB key.

What is the RIB key in a French IBAN?

The clé RIB is a 2-digit national check computed over bank code, branch code and account number using a mod-97 formula. It is a separate layer from the IBAN's own mod-97 check digits, and French systems validate both.

Are generated FR test IBANs safe to put in a public repo?

Yes, that is their purpose. They match no real account, are marked as TEST, and let you commit fixtures without exposing anyone's actual bank details.

Related: France IBAN format ·how mod-97 check digits work ·all test IBAN countries

Data source: ISO 13616 IBAN Registry Release 102 (June 2026). Last verified: 2026-07-05.