SWIFT codes are different to routing numbers, but they do a similar job. Routing numbers help to identify banks by state in the US, making it easier to process domestic payments. SWIFT codes identify bank branches for international payments.