SWIFT codes comprise of 8 or 11 characters. All 11 digit codes refer to specific branches, while 8 digit codes (or those ending in 'XXX') refer to the head or primary office. SWIFT codes are formatted as follows: AAAABBCCDDD First 4 characters- bank code (only letters) ...