Free ES IBAN validator

Spain IBAN Checker

Check a Spain IBAN for country structure, 24-character length, allowed characters and MOD-97 checksum, the bank's own check digits, and see the bank and BIC behind it.

ES country rules Checksum validation Bank & BIC lookup
Free: up to 10 IBANs · CSV / TXT supported

Spain IBAN format, bank codes and checks

IBANs from Spain have 24 characters: the country code ES, two check digits and a 20-character national account number (BBAN). Paste one or more IBANs above to check length, structure and MOD-97 checksum, the national account check digits and to see the bank and BIC behind each number.

IBAN length24 characters
BBAN format4 digits, 4 digits, 1 digit, 1 digit, 10 digits
SEPAYes, SEPA country
CurrencyEUR
National check digitsChecked here
Banks in our data564 banks · 218 BICs

Anatomy of Spain IBAN numbers

ESCountry code
12IBAN check digits
2048Código de entidad
9428Código de oficina
48Dígitos de control
4058935504Account number

Example in print format: ES12 2048 9428 4840 5893 5504 (a synthetic test number, not a real account). Pattern: ^ES\d{2}\d{4}\d{4}\d{1}\d{1}\d{10}$.

Spain banks, bank codes and BICs

The largest Spain banks in our records with a bank code as it appears inside the IBAN (bank data as of 2026-10-27). Generating test IBANs for one exact bank is part of paid access.

How the Spain IBAN checker works

  • Length and structure: 24 characters and the ES BBAN layout (4!n4!n1!n1!n10!n).
  • IBAN check digits: the ISO 13616 MOD-97 checksum, which catches any single typo.
  • National account check: the check-digit method Spain banks publish for their account numbers.
  • Bank and BIC: the bank code is matched to the bank and its BIC/SWIFT code. Guests get three free single-IBAN lookups a day. Paid access uses your SWIFT reveal allowance.
  • SEPA reachability: which SEPA schemes the bank has joined (credit transfer, Instant, direct debit, Verification of Payee), from the EPC registers.

A valid result means the IBAN is well-formed. Only the bank, or a Verification of Payee check at payment time, confirms that the account exists and who holds it. Where the bank codes come from: IBAN data sources and methodology.

Checking a Spanish IBAN (ES): Entidad, Oficina and Dígitos de Control (DC)

A Spanish IBAN has 24 characters: ES, two MOD-97 check digits and the 20-digit CCC (Código Cuenta Cliente) — 4-digit entidad (bank code: 0049 Banco Santander, 0182 BBVA, 2100 CaixaBank, 0081 Banco Sabadell, 1465 ING), 4-digit oficina (branch), 2 Dígitos de Control (DC) and the 10-digit account number.

The checker validates both ISO 13616 MOD-97 and Spain's two domestic control digits (the first checks entidad + oficina, the second checks the 10-digit account number), catching single-digit typos before a SEPA payment or payroll batch.

Since 9 October 2025 euro-area banks run Verification of Payee before SEPA transfers. A valid result here confirms format, checksum and bank routing — not the account holder name.

Spain IBAN FAQ

How long is a Spain IBAN? 24 characters: the country code ES, two IBAN check digits and a 20-character national account number (BBAN) made of código de entidad (4), código de oficina (4), dígitos de control (2), account number (10).

Where is the bank code in an IBAN from Spain? The código de entidad is characters 5 to 8 of the IBAN (4 characters, right after the check digits). It identifies the bank; this checker uses it to look up the bank and BIC.

Is Spain in the SEPA zone? Yes. Spain IBANs can receive SEPA credit transfers in EUR. The checker also shows which SEPA schemes the bank has joined, from the EPC registers.

Does the checker verify the Spain account check digits? Yes. Besides the IBAN's MOD-97 check digits it runs the national account check method that Spain banks publish, which catches typos the IBAN checksum can miss.

How do I find the BIC for an IBAN from Spain? Paste the IBAN into the checker above: it reads the bank code and shows the bank name and BIC/SWIFT code when the bank is in our records (three free bank lookups a day).

Does a valid Spain IBAN prove the account exists? No. A valid result means the number is well-formed and its check digits are right. Only the bank, or a Verification of Payee check at payment time, confirms the account and its holder.

Does the Spanish IBAN checker validate the Dígitos de Control (DC)? Yes. Alongside the 24-character ES format and MOD-97 check digits, it validates both domestic DC digits and identifies the 4-digit entidad bank code and SWIFT/BIC.

How do I find the bank from a Spanish IBAN? Characters 5 to 8 are the Banco de España entidad code (e.g. 0049 Santander, 0182 BBVA, 2100 CaixaBank, 0081 Sabadell). Paste any ES IBAN above to see the bank name and BIC.

Need test data instead?

The Spain IBAN generator creates checksum-valid synthetic IBANs and the Spain test IBAN list has ready-made valid and invalid cases.

Have a bank code and account number?

The Spain IBAN calculator builds the IBAN with its check digits. For code, use the IBAN validation API, browse every country checker, or convert a bank statement PDF to Excel & CSV.

Disclaimer

IBANgen is not a bank or payment provider. Validation results, SWIFT/BIC previews and bank metadata are intended for testing, QA, staging, education and development workflows only.