HomeValidatorsFinance & Global IDsSWIFT / BIC Code Validator

SWIFT / BIC Code Validator

Finance & Global IDs

Validate SWIFT/BIC codes for correct 8 or 11 character format instantly. Decodes bank code, country, location, and branch — client-side, nothing stored.

What is a SWIFT/BIC?

The SWIFT / BIC Code Validator checks whether a SWIFT code (Bank Identifier Code) follows the correct structure defined by ISO 9362. SWIFT/BIC codes are used in every international wire transfer to route payments between banks — the sending bank uses the recipient bank's BIC to direct the funds through the SWIFT network to the correct institution.

A valid SWIFT/BIC code is either 8 or 11 uppercase characters following the pattern BBBB CC LL [BBB]:

  • Bank code (4 chars): Identifies the bank (A–Z only)
  • Country code (2 chars): ISO 3166-1 alpha-2 country code (A–Z only)
  • Location code (2 chars): City/area identifier (A–Z and 0–9)
  • Branch code (3 chars, optional): Specific branch; 'XXX' means primary/head office

This validator checks:

  1. Length is exactly 8 or 11 characters
  2. First 4 characters are uppercase letters (A–Z)
  3. Characters 5–6 are uppercase letters (ISO country code format)
  4. Characters 7–8 are uppercase letters or digits
  5. If 11 characters: characters 9–11 are uppercase letters or digits

What it does not check: Whether the specific code is in the active SWIFT registry or belongs to a currently operating bank. For that, consult your bank's BIC lookup or the official SWIFT BIC directory. Use the IBAN Validator alongside this for complete international transfer validation.

All validation runs client-side. No data is transmitted.

How to use this SWIFT/BIC calculator

  1. Enter the SWIFT/BIC code in the input field — 8 or 11 characters.
  2. Check the Valid/Invalid badge — updates instantly.
  3. Read the details panel — bank code, country, location, and branch are decoded individually.
  4. Note any warnings — passive participant or reverse billing flags indicate routing nuances.
  5. Proceed to the IBAN Validator for the account number if you are validating a complete set of European bank details.

Formula & Methodology

Validation rules (ISO 9362):

Position 1–4:  [A-Z]{4}   — Bank code (letters only) Position 5–6:  [A-Z]{2}   — Country code (letters only, ISO 3166-1) Position 7–8:  [A-Z0-9]{2} — Location code (letters or digits) Position 9–11: [A-Z0-9]{3} — Branch code (optional, letters or digits) Total length:  8 or 11

Regex: /^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$/

Valid and invalid examples:

| Code | Valid? | Note |
|---|---|---|
| DEUTDEDB | ✓ | Deutsche Bank Frankfurt (8-char) |
| DEUTDEDBBER | ✓ | Deutsche Bank Berlin branch (11-char) |
| SBININBB | ✓ | State Bank of India Mumbai |
| HDFCINBB | ✓ | HDFC Bank India |
| DEUT1EDB | ✗ | Digit in bank code (position 4) |
| DEUTD3DB | ✗ | Digit in country code (position 6) |
| DEUTDEDBX | ✗ | 9 characters — must be 8 or 11 |

Frequently Asked Questions

A SWIFT code (also called a BIC — Bank Identifier Code) is an 8 or 11 character alphanumeric code that uniquely identifies a bank or financial institution for international wire transfers. It is used by the SWIFT network (Society for Worldwide Interbank Financial Telecommunication) to route payments between banks across 200+ countries. Every cross-border bank transfer requires the recipient bank's SWIFT/BIC code.
A SWIFT/BIC code has the structure BBBBCCLLBBB: 4-letter bank code (B), 2-letter country code (C), 2-character location code (L), and an optional 3-character branch code (B). The code is either 8 characters (no branch code — primary office assumed) or 11 characters (with branch code). All characters must be uppercase letters (A–Z) or digits (0–9) in the location and branch positions.
The bank code (first 4 characters) is an abbreviation of the bank's name chosen by the institution. The country code (characters 5–6) is the ISO 3166-1 alpha-2 country code — IN for India, US for the United States, DE for Germany. The location code (characters 7–8) identifies the city or area; the second character being '0' means a passive participant (does not accept live SWIFT messages). The branch code (characters 9–11), if present, identifies a specific branch — 'XXX' indicates the primary or head office.
SWIFT and BIC refer to the same thing. SWIFT is the network and the organisation; BIC (Bank Identifier Code) is the ISO standard (ISO 9362) for the code format. The terms are used interchangeably. Some financial institutions and documentation use 'BIC', others use 'SWIFT code' or 'SWIFT/BIC'. All three refer to the same 8 or 11 character identifier.
No — the validator checks the structural format: correct length (8 or 11 characters), 4-letter bank code, 2-letter country code, and alphanumeric location/branch codes. It does not query the SWIFT registry to confirm the bank is currently a member or that the code is active. Real-time validation requires querying a SWIFT BIC directory or using the IBAN checker at your bank.
When the second character of the location code is '0' (zero), the BIC belongs to a passive participant — an institution that is registered in the SWIFT directory but does not receive live FIN messages directly. Payments to passive participants are routed through an active correspondent bank. The validator flags this when the location code's second character is '0'.
No — all validation runs entirely in your browser using client-side JavaScript. The SWIFT/BIC code is never sent to any server, stored, or logged. The tool works offline once the page is loaded.
A SWIFT/BIC code identifies the bank; an IBAN (International Bank Account Number) identifies the specific bank account. An international wire transfer typically needs both: the IBAN to specify which account at the bank should receive the funds, and the BIC to route the message to the correct bank on the SWIFT network. Use the [IBAN Validator](/iban-validator/) to check an IBAN, and this tool to check the accompanying SWIFT/BIC code.
Enter the SWIFT/BIC code in the input field. The validator uppercases the input automatically. The Valid/Invalid badge updates instantly. If valid, the details panel shows the decoded bank code, country, location, and branch components. If invalid, the error describes which part of the structure is incorrect.
Indian banks have SWIFT/BIC codes with 'IN' as the country code (characters 5–6). For example, State Bank of India's SWIFT code is SBININBB (8-character form) or SBININBBXXX (11-character primary office form). HDFC Bank is HDFCINBB, ICICI Bank is ICICINBB. The 'BB' location code is typically used for Bombay/Mumbai (the financial centre). For IFSC code validation (used for domestic NEFT/RTGS transfers within India), use the [IFSC Code Validator](/ifsc-validator-india/).
IFSC (Indian Financial System Code) is used exclusively for domestic Indian interbank transfers via NEFT, RTGS, and IMPS. It is an 11-character code specific to the Indian RBI-regulated system. SWIFT/BIC is the international standard used for cross-border wire transfers — sending money from India to a foreign bank, or receiving foreign remittances into Indian accounts. Any international transfer needs a SWIFT/BIC; domestic transfers within India use IFSC.
Also known as
BIC code validatorSWIFT code checkerbank identifier codeinternational wire transfer codecheck SWIFT code