Bank Branch Codes: Reading Twelve Digits and Validating Them in Bulk

Open Tool CNAPS Bank Code Parser

What twelve digits carry

A branch code is a twelve-digit identifier the central bank assigns to each banking outlet, and transfers, payroll batches and corporate invoicing all use it to reach the right branch. It is not a serial number but a layered structure: the first three digits mark the bank, the middle digits mark the city or district, and the last four order the outlets. Every outlet of one bank in one city shares the prefix and differs only at the tail. The tool reads the prefix, splits the code, and offers prefix completion when you hold only nine or eleven digits. Understanding this structure outlasts memorising any single bank prefix, since tables shift as institutions merge.

Steps

  1. Enter a full twelve-digit code in the field and parse it for bank, region and outlet.
  2. If the code is short, pick the bank in the prefix selector so the missing leader is filled before validation.
  3. To find a specific branch, type a prefix or part of the branch name into the search box and run it.
  4. For bulk checks, paste a list into the outlet box, one code per line, optionally with a name, then parse in bulk.
  5. The result list shows deduplicated counts, the bank distribution and any invalid rows with their original text.
  6. Use the sample for format reference, copy the result back into your sheet, or export CSV for finance review.

Bulk parsing and invalid rows

The value of a bulk check lies less in the output than in what it rejects. Three faults dominate real lists: wrong length, stray spaces or full-width characters, and two rows pasted as one. All three land in the invalid-row report with the original line, which is what makes fixing possible. Deduplication exposes double-payment risk: one supplier appearing twice may be two branches or one branch typed in twice, and the two cases need different handling. The bank distribution shows concentration, and a single bank carrying over ninety percent of payments usually means no backup channel exists.

Common mistakes

Using a branch code as an account number confuses institution with account, and the rules differ. Completing the prefix with the wrong bank yields a well-formed code pointing at the wrong institution, and the transfer bounces. Copying from a web page drags hidden characters in, so a code that looks like twelve digits fails validation until it is retyped. Keeping codes issued before a branch was renamed leaves a retired number in circulation. Mixing personal card numbers into a corporate list fails on length and rule. And approving a row because it parsed, without checking that the branch matches the contract, still sends money to the wrong place.

When not to rely on it

Final confirmation before payment belongs to a bank receipt or counter check; this only validates format and table membership, not whether an outlet is still open. Newly opened, merged or closed branches lag in any table. Cross-border transfers use SWIFT codes, a separate system that does not convert. Documents requiring an account-opening permit must come from the bank itself. And when a list holds customer account data, keep the check on your own machine rather than uploading it anywhere.

⏫︎