IBAN example · ES

Spanish IBAN example

This page gives you a sample Spanish IBAN that passes all ISO 13616 checks — correct character set, exactly 24 characters, and MOD 97 check digits that yield a remainder of 1. This Spanish IBAN is a synthetic test value for forms and integrations, not a real account. Use it for payment-integration tests, form demos, or to learn how a ES IBAN is structured. It does not map to a real bank account, so never send money to it. Below you will find the full IBAN, a field-by-field breakdown, notes on testing, and the SWIFT/BIC code you would pair with it for a complete cross-border payload.

Sample IBAN
ES91 2100 0418 4502 0005 1332
ES9121000418450200051332

Field-by-field breakdown

The breakdown below splits the sample Spanish IBAN (ES9121000418450200051332) into its country code, check digits, and BBAN fields, applying the 4!n4!n1!n1!n10!n pattern so each field is labeled with its length and allowed characters. This is the same field-by-field view the IBAN validator produces for any ES IBAN you paste, so you can compare a real Spanish IBAN against this reference structure.

Country code
ISO 3166 — Spain
ES
Check digits
MOD 97-10 checksum
91
BBAN field 1
4 digits · digits (0–9)
2100
BBAN field 2
4 digits · digits (0–9)
0418
BBAN field 3
1 digit · digits (0–9)
4
BBAN field 4
1 digit · digits (0–9)
5
BBAN field 5
10 digits · digits (0–9)
0200051332

How to use this Spanish IBAN example

A common use case is testing a payment form that accepts Spanish IBANs: paste the sample into your form to confirm it accepts 24-character ES input and rejects malformed values. You can also load this example straight into the IBAN validator to see the green check, or open the Spanish IBAN format page for the full structure spec. For end-to-end testing of a cross-border flow, pair this IBAN with the receiving bank's SWIFT/BIC code.

Reading the Spanish IBAN structure

Reading the sample Spanish IBAN left to right: the first two characters (ES) are the ISO 3166 country code for Spain; the next two are the MOD 97 check digits, chosen so the whole number passes the checksum; and the remaining 20 characters are the BBAN, which encodes the bank and account under Spain's national format. Because the BBAN layout is fixed for Spain, you can predict which characters are the bank code and which are the account number just from the 4!n4!n1!n1!n10!n pattern — and that is exactly what the field-by-field breakdown below shows.

Testing with this Spanish IBAN

For QA and integration work, this Spanish IBAN example is most useful in three places. In a payment form, paste it to confirm the field accepts 24-character ES input and rejects values that are too short, too long, or have a bad country prefix. In a MOD 97 unit test, assert that the example returns a remainder of 1 and that flipping any single digit makes it fail. In an end-to-end test, pair the IBAN with a Spain SWIFT/BIC code so the full wire payload looks realistic. Because the example is synthetic, it will never collide with a real Spain account, which makes it safe to commit to test fixtures.

Spanish IBAN example and SWIFT codes

If you are testing a full international payment into Spain, you will usually need a SWIFT/BIC code alongside this IBAN. The Spain SWIFT codes page lists the major Spain banks and their head-office BICs, so you can build a realistic ES wire payload around this Spanish IBAN.

Spanish IBAN example FAQ

Is this Spanish IBAN example real?
No. It is a synthetic value generated to pass MOD 97 and the 24-character ES length check. It does not correspond to any real Spain bank account, so it is safe for test fixtures and demos but must never be used for an actual transfer.
Why use a synthetic Spanish IBAN instead of a real one?
Real Spanish IBANs are private account identifiers; publishing one would expose a customer's account. A MOD 97-valid synthetic example gives you the same format and checksum behavior for testing without touching any real account.
Can I load this ES example into the validator?
Yes. The "Validate this example" link below loads this sample straight into the IBAN validator so you can see the green check and the full breakdown, exactly as a real Spanish IBAN would render.
What do I pair with a Spanish IBAN for a wire?
For most cross-border payments into Spain you need the IBAN plus the receiving bank's SWIFT/BIC code. This Spanish IBAN example covers the account side; look up the bank's BIC separately to complete the wire instructions.
⚠️ This is a synthetic test IBAN. It passes format and MOD 97 checks but does not map to a real bank account. Never send money to it.
Spanish IBAN overview →ES IBAN format specValidate this example