Free · No sign-up · Nothing is sent
BIC / SWIFT code checker, and the BIC of a Spanish IBAN
8 or 11 characters, with or without spaces. Any country.
ISO 9362 has no check digit: a valid format does not guarantee that the BIC exists or belongs to the account holder's bank.
Type a BIC to check its format and see what each part means, or paste a Spanish IBAN to get its bank's BIC from the official Bank of Spain list. For euro transfers within the EU, banks cannot require it.
Calculated in your browser. The BIC and IBAN you type are never sent or stored.
What it checks
What this tool checks (and what it does not)
- Yes: the ISO 9362 format (8 or 11 characters, country in positions 5 and 6), what each part means, the 8- and 11-character forms, and whether it is a test BIC.
- Yes, for Spain: which institution it belongs to if it is in the Bank of Spain BIC list, and the BIC of a Spanish IBAN from its bank code.
- No: whether the BIC exists and is active. The standard has no check digit, so a made-up BIC can have a perfect format.
What it is
What a BIC or SWIFT code is
The BIC (Business Identifier Code) identifies a bank or other institution in international payments. It is defined by ISO 9362 (current edition 2022) and issued by SWIFT, the registration authority, which is why it is also called a SWIFT code. BIC identifies the bank; the IBAN identifies an account and has check digits.
How it works
How to read a BIC: the ISO 9362 structure
- 101
Institution (prefix)
DEUT
4 characters. Since the 2014 edition it can contain digits.
- 202
Country
DE
2 letters, ISO 3166-1.
- 303
Location (suffix)
FF
2 letters or digits. A 0 in the second one (position 8) is a SWIFT Test & Training address.
- 404
Branch (optional)
XXX
3 letters or digits. Missing or “XXX” means head office: DEUTDEFF = DEUTDEFFXXX.
Source: SWIFT, ISO 9362 – BIC implementation: changes and impact. Until November 2018 a 1 in position 8 meant “not connected to SWIFT FIN”; SWIFT now asks users not to infer that from the code.
From an IBAN
Getting the BIC of a Spanish IBAN
Digits 5 to 8 of a Spanish IBAN are the bank code. We look it up in the Bank of Spain list of TARGET participants, which gives the 11-character BIC of each. It only covers about 50 institutions; if a bank is not there, we say so instead of guessing.
| Code | Institution (as written by the Bank of Spain) | BIC |
|---|---|---|
| 1000 | INSTITUTO DE CRÉDITO OFICIAL | ICROESMMXXX |
| 1474 | CITIBANK EUROPE PLC, S.E. | Not published |
| 1479 | NATIXIS, S.A., S.E. | NATXESMMXXX |
| 1491 | TRIODOS BANK, N.V., S.E. | Not published |
| 1497 | HAITONG BANK, S.A., S.E. | ESSIESMMXXX |
| 1525 | BANQUE CHAABI DU MAROC, S.E. | BCDMESMMXXX |
| 1544 | MYINVESTOR BANCO, S.A. | BACAESMMXXX |
| 2000 | CECABANK, S.A. | CECAESMMXXX |
| 2045 | CAJA DE AHORROS Y M.P. ONTINYENT | CECAESMM045 |
| 2056 | COLONYA-CAIXA D'ESTALVIS DE POLLENSA | CECAESMM056 |
| 2080 | ABANCA CORPORACIÓN BANCARIA, S.A. | CAGLESMMVIG |
| 2085 | IBERCAJA BANCO, S.A. | CAZRES2ZXXX |
| 2095 | KUTXABANK, S.A. | BASKES2BXXX |
| 2100 | CAIXABANK, S.A. | CAIXESBBXXX |
| 2103 | UNICAJA BANCO, S.A. | UCJAES2MXXX |
| 3001 | CAJA RURAL DE ALMENDRALEJO, S.C.C. | Not published |
| 3025 | CAIXA C. DELS ENGINYERS, S.C.C. | CDENESBBXXX |
| 3035 | CAJA LABORAL POPULAR C.C. | CLPEES2MXXX |
| 3058 | CAJAMAR CAJA RURAL, S.C.C. | CCRIES2AXXX |
| 3081 | EUROCAJA RURAL, S.C.C. | ERSVES22XXX |
| 3183 | ARQUIA BANK, S.A. | CASDESBBXXX |
| 3669 | INTERMONEY VALORES, S.V., S.A. | IVALESMMXXX |
| 3682 | GVC GAESCO BEKA, S.V., S.A. | GVCBESBBETB |
| 3760 | IBROKER GLOBAL MARKETS, S.V., S.A. | IBGMESMMXXX |
| 7415 | EUROPEAN DIGITAL SECURITIES EXCHANGE, S.V. S.A. | EDSXESM2XXX |
| 9020 | SOCIEDAD ESPAÑOLA DE SISTEMAS DE PAGO, S.A. (IBERPAY) | IPAYESMMAS1 |
| 9094 | BME CLEARING, S.A.U. | MEFFESBBCCP |
| 9096 | SOC. GES. SIS. REG., COMP. Y LIQ. VALORES, S.A.U (IBERCLEAR) | IBRCESMMXXX |
| 0011 | ALLFUNDS BANK, S.A. | ALLFESMMXXX |
| 0049 | BANCO SANTANDER, S.A. | BSCHESMMXXX |
| 0061 | BANCA MARCH, S.A. | BMARES2MXXX |
| 0078 | BANCA PUEYO, S.A. | BAPUES22XXX |
| 0081 | BANCO DE SABADELL, S.A. | BSABESBBXXX |
| 0083 | RENTA 4 BANCO, S.A. | RENBESMMXXX |
| 0128 | BANKINTER, S.A. | BKBKESMMXXX |
| 0136 | ARESBANK, S.A. | AREBESMMXXX |
| 0169 | BANCO DE LA NACIÓN ARGENTINA, S.E. | NACNESMMXXX |
| 0182 | BANCO BILBAO VIZCAYA ARGENTARIA, S.A. | BBVAESMMXXX |
| 0186 | BANCO MEDIOLANUM, S.A. | BFIVESBBXXX |
| 0188 | BANCO ALCALÁ, S.A. | ALCLESMMXXX |
| 0198 | BANCO COOPERATIVO ESPAÑOL, S.A. | BCOEESMMXXX |
| 0200 | ANDBANK ESPAÑA BANCA PRIVADA, S.A | DEGRESBBXXX |
| 0211 | EBN BANCO DE NEGOCIOS, S.A. | PROAESMMXXX |
| 0219 | BANK OF AFRICA EUROPE, S.A. | BMCEESMMXXX |
| 0229 | WIZINK BANK, S.A. | POPLESMMXXX |
| 0232 | BANCO INVERSIS, S.A. | INVLESMMXXX |
| 0234 | CBNK BANCO DE COLECTIVOS, S.A. | CCOCESMMXXX |
| 0235 | BANCO PICHINCHA ESPAÑA, S.A. | PICHESMMXXX |
| 0240 | BANCO DE CRÉDITO SOCIAL COOPERATIVO, S.A. | BCCAESMMXXX |
| 0241 | A&G BANCO, S.A. | AYGBESMMXXX |
SEPA
Do you need the BIC for a SEPA transfer?
Not for euro transfers within the EU. Article 5(7) of Regulation (EU) No 260/2012 says payment service providers shall not require users to indicate the BIC: from 1 February 2014 for national payments (Member States could delay this to 1 February 2016) and from 1 February 2016 for cross-border ones. The Bank of Spain puts it simply: since February 2016 it is no longer needed within SEPA. Outside that scope, your bank may ask for it.
Code
Validate a BIC in JavaScript and Python
Format only, like this tool: no code can tell whether a BIC exists, because there is no check digit.
// BIC (SWIFT code) format under ISO 9362:
// 4 alphanumeric (institution) + 2 letters (country) + 2 alphanumeric (location)
// + 3 optional alphanumeric (branch).
const BIC = /^[A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$/;
function parseBic(text) {
const bic = text.replace(/[\s.\-]/g, "").toUpperCase();
if (!BIC.test(bic)) return { validFormat: false, bic };
return {
validFormat: true,
bic,
bic11: bic.length === 8 ? bic + "XXX" : bic, // BIC8 = BIC11 ending in XXX
country: bic.slice(4, 6),
test: bic[7] === "0", // 0 in position 8: Test & Training
};
}
// BICs have no check digit: this does not tell you whether it exists.
parseBic("deut de ff"); // { validFormat: true, bic11: "DEUTDEFFXXX", country: "DE", ... }import re
BIC = re.compile(r"^[A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$")
def parse_bic(text: str) -> dict:
"""ISO 9362 format. Does not check that the BIC exists."""
bic = re.sub(r"[\s.\-]", "", text.upper())
if not BIC.match(bic):
return {"valid_format": False, "bic": bic}
return {
"valid_format": True,
"bic": bic,
"bic11": bic + "XXX" if len(bic) == 8 else bic,
"country": bic[4:6],
"test": bic[7] == "0", # 0 in position 8: Test & Training
}FAQ
BIC and SWIFT code frequently asked questions
Are BIC and SWIFT code the same?
Yes. BIC is the ISO 9362 name; it is called a SWIFT code because SWIFT issues it.
How many characters does a BIC have?
8 or 11. The last 3 (branch) are optional; “XXX” means head office.
How do I get the BIC from a Spanish IBAN?
Digits 5 to 8 are the bank code. This tool looks it up in the Bank of Spain list; if the bank is not listed, ask your bank.
Do I need a BIC for a SEPA transfer?
Not for euro transfers within the EU: Regulation (EU) No 260/2012, Article 5(7), forbids banks from requiring it (cross-border since 1 February 2016).
Does a valid format mean the BIC exists?
No. ISO 9362 has no check digit, so only the format can be checked.
Do you store what I type?
No. Everything runs in your browser and never leaves your device.
About
About this validator
Built by Black Wings, a software studio in Valencia (Spain) working with small and medium businesses. Our validators are free, single-purpose tools that show how we work.
- BIC structure: SWIFT and ISO 9362:2022.
- Spanish BICs: Bank of Spain, TARGET participants by bank code, file dated 7 April 2026, reproduced unchanged.
- SEPA: Regulation (EU) No 260/2012.
- Reviewed: 22 November 2026.
Privacy
What happens to what you type
It never leaves your browser. The check and the Bank of Spain lookup run in JavaScript on your device; the list ships with the page, so no server is queried and nothing is stored.
More in our privacy policy.
Other validators
More free validators
Need this inside your own software?
Validating IBANs and tax IDs when a customer signs up, checking whole lists or connecting invoicing to the bank: that is the kind of work we do at Black Wings.
Tell us about it