France Clé RIB & Bank Account Generator
Generate and format valid 23-character French Relevé d'Identité Bancaire (RIB) coordinates with official CFONB Modulo 97 check digit.
About French Relevé d'Identité Bancaire (RIB) and Clé RIB
The Relevé d'Identité Bancaire (RIB) is the standard banking identifier for bank accounts in France, overseen by the Banque de France and the Comité Français d'Organisation et de Normalisation Bancaires (CFONB).
Comprising 23 characters across four segments (Bank Code, Branch Code, Account Number, and Clé RIB), the RIB forms the underlying core of French IBANs (FR76).
Anatomy & Structure of French RIB (23 Characters)
Official structure standardized by standard NF Z 43-010 and the CFONB:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 01 to 05 | Code Banque | 5 digits | Financial institution identifier registered with the Banque de France | 30004 (BNP Paribas) |
| 06 to 10 | Code Guichet | 5 digits | Branch or agency code (code agence) | 02837 |
| 11 to 21 | Numéro de Compte | 11 characters | Alphanumeric account number (letters A-Z and digits 0-9) | 0000247194B |
| 22 to 23 | Clé RIB | 2 digits | 2-digit check digit calculated via Modulo 97 | 03 |
Clé RIB Calculation Algorithm (CFONB Modulo 97)
Official mathematical weighting applied to the first three blocks:
- 1. Convert any letters in the account number to digits 1 to 9 according to CFONB rules.
- 2. Multiply the bank code by 89.
- 3. Multiply the branch code by 15.
- 4. Multiply the transliterated 11-digit account number by 3.
- 5. Sum the three products and find the remainder modulo 97.
- 6. Subtract remainder from 97. If the result is 0, Clé RIB is 97.
Frequently Asked Questions & Technical Specifications
How is the 2-digit Clé RIB calculated?
The CFONB mandates the weighted Modulo 97 formula: Clé = 97 - ((89 * Bank + 15 * Branch + 3 * Account) % 97). If the result is 0, the check digit becomes 97.
How are alphabetic letters in account numbers converted?
CFONB defines a standardized transliteration table: A, J = 1; B, K, S = 2; C, L, T = 3; D, M, U = 4; E, N, V = 5; F, O, W = 6; G, P, X = 7; H, Q, Y = 8; I, R, Z = 9.