SWIFT/BIC Format by Country

Understand the SWIFT/BIC code structure for any country's banks

Reference the SWIFT/BIC code structure by country: 8 or 11 characters, the 2-letter country code position, branch code, and sample codes. Validate format and learn what each section means. Runs in your browser.

What is the difference between a SWIFT code and a BIC?

They are the same thing. BIC (Business Identifier Code) is the ISO 9362 name for the code; SWIFT is the network that issues and routes them. Banks and forms use the terms interchangeably.

A SWIFT/BIC code is the international address of a bank. This tool shows the exact structure used by every country and validates any code you paste against the ISO 9362 rules, splitting it into its bank, country, location, and branch parts.

How it works

A BIC is 8 or 11 characters, drawn from this fixed layout:

D E U T D E F F 5 0 0
^^^^^ ^^^ ^^   ^^^
bank  ctry loc branch
1-4   5-6  7-8 9-11
  • Characters 1-4 — bank code: four letters identifying the institution.
  • Characters 5-6 — country code: the ISO 3166-1 alpha-2 country (DE, GB, US).
  • Characters 7-8 — location code: letters or digits for the city/region. A second character of 0 historically marked a test/non-production BIC, and 1 a passive participant.
  • Characters 9-11 — branch code (optional): three letters or digits for a specific branch. XXX denotes the primary office.

The validator enforces length 8 or 11, requires the first six characters to be letters, checks positions 5-6 against the country you selected, and confirms the remaining characters are alphanumeric.

Tips and examples

  • An 8-character code such as DEUTDEFF is the head office; the same bank’s branch 500 is DEUTDEFF500.
  • Banks often write the short form padded with XXX (DEUTDEFFXXX) so systems expecting 11 characters accept it.
  • The country code is the most common error on forms — a UK bank code must carry GB, not UK, because ISO 3166 uses GB for the United Kingdom.