Spanish IBAN Generator - Generate fictional Spanish IBAN numbers

Generate valid fictional Spanish IBAN numbers (ES) with modulo 97 validation. Select a Spanish bank and generate in bulk.

Note:All generated data is entirely fictional and not suitable for use as real personal information.

Count:

Spanish IBAN structure

A Spanish IBAN is 24 characters long and follows the format EScc BBBB GGGG KKAA AAAA AAAA: country code ES, 2 IBAN check digits, a 4-digit bank code (código entidad), a 4-digit branch code (código oficina), 2 domestic check digits (dígitos de control) and a 10-digit account number (número de cuenta). The two domestic check digits are calculated independently from the IBAN check digits.

The CCC and domestic check digits

Spain's traditional account number format is the CCC (Código Cuenta Cliente), which consists of the bank code, branch code, two check digits and the account number. These two check digits are calculated separately from the IBAN check digits, providing an additional layer of validation specific to the Spanish banking system. The check digits use a Modulo 11 algorithm applied to the bank code + branch code and the account number separately.

Spanish banking sector

Spain's banking system is dominated by two global banks — Banco Santander (the largest bank in the Eurozone by assets) and BBVA — along with CaixaBank, Banco Sabadell and Ibercaja. The Banco de España is the national central bank. Spain adopted IBAN in 2014 for all domestic and international transfers, replacing the legacy CCC number system.

Testing Spanish payment integrations

Fictional Spanish IBANs are needed for testing SEPA payment flows targeting Spain, holiday booking platforms (a major industry), e-commerce serving the Spanish market, and multi-country payroll systems. All generated numbers pass modulo 97 validation and the CCC check digit algorithm, making them structurally identical to real Spanish IBANs.

Frequently Asked Questions

How is a Spanish IBAN structured?
A Spanish IBAN consists of 24 characters: the country code "ES", 2 check digits, a 4-digit bank code, a 4-digit branch code, 2 check digits and a 10-digit account number.
Are the generated Spanish IBAN numbers real?
No, all IBAN numbers are entirely fictional and not linked to existing Spanish bank accounts.
Which Spanish banks are supported?
The generator supports Banco Santander, CaixaBank, BBVA, Ibercaja and Banco Sabadell.
What are fictional Spanish IBAN numbers used for?
Ideal for testing SEPA payments to Spain, holiday booking systems, and international invoice systems.

Related Tools