BIC/SWIFT code validator
Check that a BIC/SWIFT code is well-formed and break it into bank, country, location and branch.
BIC/SWIFT code validator
Paste one or more BIC/SWIFT codes, one per line, and this tool checks that each is well-formed and breaks it into its parts: a 4-letter bank code, a 2-letter country code, a 2-character location code and, when present, a 3-character branch code. It's built for developers wiring up payment forms, finance teams checking counterparty details, and anyone handed a list of codes who needs to know which are usable before a wire transfer.
A code passes when it is exactly 8 or 11 characters, uses the right character class in every field, and its country code exists in ISO 3166-1 — "DEUTDEFF" for Deutsche Bank's Frankfurt head office is valid, "DEUTXXFF" is not, since XX isn't a country. "Append XXX for head office" prints an 8-character code with its implicit XXX branch, so every valid line ends up 11 characters. "Flag test codes" notes when the eighth character is 0 — SWIFT's own marker for a test code, not a live counterparty. "Show country name" prints "DE (Germany)" instead of the bare code.
Choose how the result is presented: a table lists every line with its parsed columns and a status of OK or the failure reason, while "Only invalid lines" keeps just the codes worth fixing. Blank lines are skipped, and Windows (CRLF) and Unix (LF) line endings are handled the same way. The tally under the output reports how many lines came in and how many were valid.
Everything runs in your browser. The codes you paste are never uploaded — this only checks that a code is structurally correct, it cannot confirm the institution exists or is active. Copy the result, download it as a .txt file, or send it to another tool's input to keep working.