Spanish IBAN Validator

Check if a Spanish IBAN is valid by verifying format, IBAN check digits (mod-97), CCC check digits, and bank identification.

Everything about Spanish IBANs

What is an IBAN?

IBAN (International Bank Account Number) is an international alphanumeric code that uniquely identifies a bank account. In Spain, it has 24 characters: the prefix ES, 2 check digits and 20 digits from the old CCC.

What is the structure of a Spanish IBAN?

A Spanish IBAN consists of: ES (country code) + 2 check digits + 4 entity digits + 4 branch digits + 2 CCC check digits + 10 account number digits.

What are CCC check digits?

The CCC (Customer Account Code) includes two check digits. The first verifies the entity and branch, the second verifies the account number. They are calculated using a weight algorithm.

How is the IBAN check digit calculated?

IBAN check digits are calculated using the MOD-97 algorithm (ISO 13616). Characters are rearranged, letters converted to numbers, and modulo 97 is computed.

Do you manage SEPA mandates for members or clients?

Validating IBANs one by one? Custodita validates them automatically when importing mandates.

Try free — up to 10 mandates