Valid Spanish IBAN
- Input
- ES7921000813610123456789
- Expected output
- Valid
24 characters, correct mod-97 checksum.
spain iban validator
Spanish IBANs start with ES and have 24 characters, wrapping the CCC (Código Cuenta Cliente) that Spanish banks already used before IBAN.
24 characters, correct mod-97 checksum.
XX does not match any country with a registered IBAN format.
Same valid IBAN with the final digit swapped from 9 to 8: all 24 characters are still correct, but the remainder of the division by 97 is no longer 1.
It means the IBAN has the correct length for its country and its check digits satisfy the ISO 7064 MOD97-10 checksum defined by ISO 13616. It confirms the number is well-formed and free of typos, it does not confirm that the underlying bank account actually exists or is open, only the account-holding bank can verify that.
The 20-digit CCC is embedded inside the Spanish IBAN's BBAN, which adds the ES prefix and 2 of its own check digits, so the IBAN is always 4 characters longer than the bare CCC.
Always 24.
Rarely. Since IBAN was fully adopted for SEPA payments, virtually all operations use the full IBAN, but the CCC is still the underlying number, it's just wrapped inside the IBAN now.
The Banco de España assigns the 4-digit code to every institution authorized to operate in the country; it's the same number the CCC has used since the 1970s, now simply wrapped inside the IBAN.
ES79 2100 0813 6101 2345 6789Validation runs entirely in your browser. Your IBAN is never sent to any server.