Skip to content
100% local

BIC/SWIFT code validator

Check that a BIC/SWIFT code is well-formed and break it into bank, country, location and branch.

Input

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.

FAQ

What does a valid BIC/SWIFT code prove?
Only that the code is well-formed: the right length, the right character classes and a country code that exists. It cannot confirm the bank or branch is real, open, or able to receive a payment.
What is the difference between 8 and 11 characters?
An 8-character code identifies a bank at its primary office; an 11-character code adds a 3-character branch code. Head-office branch codes are conventionally "XXX", which this tool can append automatically.
What does a "0" as the eighth character mean?
It marks a SWIFT test or passive-participant code, used in test environments rather than for live payments. Turn on "Flag test codes" to see it called out in the results.
Can I check many codes at once?
Yes. Paste one code per line and every line is validated and reported separately, with a tally of how many passed.
Is my data uploaded anywhere?
No. Validation runs entirely in your browser using built-in JavaScript — the codes you paste never leave your device.