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

CountryFrance (FR)
IBAN length27 characters
BBAN structure^[0-9]{10}[A-Z0-9]{11}[0-9]{2}$
Example IBANFR14 2004 1010 0505 0001 3M02 606
Bank codedocumented test or example code
SEPA memberyes
National check digits validatedyes
Sourceibantools 4.5.4 for the format specification and national check-digit coverage (IBAN format defined by ISO 13616); examples and test bank codes maintained by IBANGuardian
Page generated2026-09-21

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

Also from ZENOM

Would your buyer find all the answers about your business?

See what ZENOM is doing about it.

About ZENOM

Or bring a specific problem of your own.

Contact ZENOM