Skip to main content

France Clé RIB & Bank Account Validator

Validate structural integrity, bank branch codes, and the 2-digit Clé RIB check digit for French bank accounts.

About French RIB Validation

RIB validation inspects the 23-character sequence constituting French bank account details, transliterating letters according to CFONB rules and verifying the 2-digit Clé RIB using the official Modulo 97 formula.

An invalid Clé RIB triggers immediate rejection of SEPA credit transfers and direct debits across the European banking network.

Anatomy & Structure of French RIB (23 Characters)

Official structure standardized by standard NF Z 43-010 and the CFONB:

PositionFieldLengthMeaning & RuleExample
01 to 05Code Banque5 digitsFinancial institution identifier registered with the Banque de France30004 (BNP Paribas)
06 to 10Code Guichet5 digitsBranch or agency code (code agence)02837
11 to 21Numéro de Compte11 charactersAlphanumeric account number (letters A-Z and digits 0-9)0000247194B
22 to 23Clé RIB2 digits2-digit check digit calculated via Modulo 9703

Clé RIB Calculation Algorithm (CFONB Modulo 97)

Official mathematical weighting applied to the first three blocks:

Clé = 97 - ((89 * Bank + 15 * Branch + 3 * Account) % 97)
  1. 1. Convert any letters in the account number to digits 1 to 9 according to CFONB rules.
  2. 2. Multiply the bank code by 89.
  3. 3. Multiply the branch code by 15.
  4. 4. Multiply the transliterated 11-digit account number by 3.
  5. 5. Sum the three products and find the remainder modulo 97.
  6. 6. Subtract remainder from 97. If the result is 0, Clé RIB is 97.

Frequently Asked Questions & Technical Specifications