Skip to content

UK sort code checker

Check 6-digit UK sort codes, format them as NN-NN-NN and identify major UK clearing bank prefixes offline.

Checks official format and character rules locally in your browser. Does not query live government or banking registries, so active registration and account ownership are not confirmed. Enter one number or paste up to 1,000 numbers (one per line).

How to use UK sort code checker

  1. Paste one or more UK sort codes. Enter a single 6-digit code or paste up to 1,000 lines (with hyphens, spaces, dots, or plain digits) into UK sort code or list, or click Load example.
  2. Run the offline format check. Click Check numbers to normalize each valid entry into NN-NN-NN format and match recognized UK clearing bank prefixes.
  3. Filter and copy normalized codes. For a single code, click Copy formatted (NN-NN-NN) or Copy compact (6 digits); for batches, filter by All, Passed, or Failed.
  4. Download your audit spreadsheet. Click Download results (CSV) or Download Excel (.xlsx) to save the validation log locally.

Everything you type stays in this browser on your device. Nothing is uploaded, and your saved details are never sent anywhere.

Validating 6-digit UK sort codes and NN-NN-NN formatting

A UK sort code is a 6-digit numeric identifier formatted in three pairs (NN-NN-NN) that routes domestic sterling payments between British banks and building societies. Under the Pay.UK Bacs Payment System Overview, Bacs Direct Credits and Direct Debits rely on these 6-digit routing codes to direct funds to the correct clearing institution.

Finance teams frequently receive sort codes typed with spaces (20 00 00), dots (20.00.00), or no separators (200000). Normalizing every entry into standard NN-NN-NN notation prevents import rejections in payroll software and supplier ledgers.

Stripping spaces, hyphens, and rejecting 00-00-00 placeholders

When you enter an input, the validator strips whitespace, dots, and hyphens and checks for exactly 6 numeric digits. Any entry with fewer or more than 6 digits, stray letters, or the reserved all-zero placeholder 000000 (00-00-00) fails immediately with a clear correction hint.

For cross-border sterling or euro settlements, domestic sort codes are embedded inside positions 9 through 14 of the 22-character UK IBAN under ISO 13616. You can validate 22-character GB IBANs using MOD 97-10 whenever a supplier provides an international account string.

Checking up to 1,000 sort codes in a private batch

Uploading vendor payroll spreadsheets to public lookup websites exposes sensitive employee and supplier banking records. This checker processes up to 1,000 lines and up to 50,000 characters locally in browser memory with 0 bytes and 0 KB sent over the network.

Recognizing major UK clearing banks and fintech sort code ranges

The first two digits of a UK sort code historically identify the clearing institution, while modern digital banks and e-money institutions hold specific 6-digit allocations. Under the Pay.UK Faster Payment System Overview, participating sort codes settle near-real-time GBP transfers around the clock.

If you are checking international wire routing alongside domestic UK clearing, pair your sort code check with a swift bic checker to confirm the 8- or 11-character ISO 9362 bank code. Note that some 2-digit prefixes are shared or reallocated over time, so bank labels represent common clearing associations rather than guaranteed branch ownership.

Sort code prefix or range Normalized example Recognized UK clearing bank or institution Matching rule used
04-00-03, 04-00-04 04-00-04 Monzo Bank Exact 6-digit range
04-00-75 04-00-75 Revolut Exact 6-digit range
60-83-71 60-83-71 Starling Bank Exact 6-digit range
23-14-70 23-14-70 Wise Payments Exact 6-digit range
20-xx-xx 20-00-00 Barclays Bank UK 2-digit prefix (20)
30-xx-xx 30-00-00 Lloyds Bank 2-digit prefix (30)
40-xx-xx 40-00-00 HSBC UK 2-digit prefix (40)
50–57, 60-xx-xx 60-00-00 NatWest 2-digit prefixes (50–60)

Do UK sort codes have a check digit or prove account reachability?

No, a 6-digit UK sort code has no standalone mathematical check digit, and a valid 6-digit format does not prove that a bank branch is active or reachable. According to Pay.UK Overlay Services and Directory Standards, live account verification relies on industry directories and combined sort-code-plus-account-number modulus tables.

Format validation vs Pay.UK account-pair modulus checking

Unlike a 10-digit tax ID or 16-digit card number, you cannot detect a single swapped digit in a standalone sort code using Luhn or Modulo-11 math. Real UK payment validation pairs the 6-digit sort code with the 8-digit account number and runs Mod 10, Mod 11, or Double Alternate weight checks.

When to verify live Faster Payments and Bacs EISCD status

Closed building society sort codes, specialized internal suspense codes, and non-clearing ranges can still match ^\d{6}$. Before initiating a high-value B2B payment, confirm live Faster Payments or Bacs reachability and Confirmation of Payee (CoP) name matching inside your online banking portal.

When reconciling cleared UK bank transactions into accounting software, you can prepare bank statement to qbo records locally without uploading client data in the same browser session.

Exporting vendor payment audits to CSV and Excel safely

Accounts payable teams often clean up messy ERP vendor master lists before a quarterly audit or Bacs file run. Every batch check summarizes total Passed and Failed counts so you can isolate malformed entries in one click.

Filtering Passed and Failed rows and exporting spreadsheets

Click Failed to inspect missing digits or 00-00-00 placeholders, or click Passed to review normalized NN-NN-NN codes. Use Download results (CSV) for a UTF-8 BOM file with formula-injection protection, or Download Excel (.xlsx) to generate a formatted workbook in a background Web Worker. Each row includes the raw input, normalized sort code, pass/fail status, and bank prefix note.

If you are migrating cleaned payment ledgers into Intuit accounting tools, the CSV to QBO converter helps format transaction columns locally before you import bank feeds.

Tip: Use Copy formatted for invoice payment instructions (20-00-00) and Copy compact (200000) when pasting into banking APIs or legacy Bacs upload templates that reject hyphens.

Operational scope for UK payroll and supplier onboarding

This validator verifies 6-digit structure, rejects all-zero test codes, and identifies major UK clearing prefixes offline for operational convenience. It does not perform Pay.UK modulus weight checks, Confirmation of Payee name matching, or live EISCD directory queries, and does not constitute financial or banking compliance advice. Always confirm live account details with your bank or a qualified accountant before releasing high-value transfers.

Questions

Do UK sort codes have a standalone mathematical check digit?

No. A 6-digit UK sort code has no internal check digit like an IBAN or Luhn card number. Pay.UK modulus checking validates a 6-digit sort code together with an 8-digit bank account number using bank-specific weight tables.

Why does the checker reject 00-00-00 as a UK sort code?

All-zero sort codes (00-00-00) are reserved test placeholders and cannot route live Faster Payments, Bacs, or CHAPS transfers. The validator flags 000000 as failed so dummy data never slips into a payment run.

How do you identify Monzo, Starling, or Barclays from a sort code?

Traditional UK clearing banks own broad 2-digit prefixes such as 20 for Barclays, 30 for Lloyds, and 40 for HSBC. App-based banks and payment institutions use dedicated 6-digit ranges such as 04-00-04 for Monzo, 60-83-71 for Starling, and 04-00-75 for Revolut.

Does a valid sort code format confirm Faster Payments or Bacs reachability?

No. Offline validation confirms 6-digit structure and common bank prefix ownership only. Confirming whether a branch accepts Faster Payments, Bacs Direct Credit, or Direct Debits requires checking the live Pay.UK EISCD directory or your bank portal.

How many UK sort codes can I validate in one batch?

You can paste up to 1,000 sort codes per batch (up to 50,000 characters in the input box). Results appear immediately in the browser and can be filtered or exported to CSV and Excel.

How should I verify an international UK bank transfer?

Domestic UK transfers use a 6-digit sort code and 8-digit account number, whereas international SWIFT or SEPA transfers require a 22-character GB IBAN and an 8- or 11-character BIC. Verify both identifiers before wiring cross-border funds.

Updated