BankCheck
HomeIBANRouting NumberSort CodeGuides
Home
IBAN
Routing Number
Sort Code
Guides

BankCheck

Validate any bank number instantly. Free and 100% client-side.

Your data never leaves the browser

Formats

IBAN40+ countriesRouting NumberUnited StatesSort CodeUK & Ireland

Info

GuidesCompareAlternativesAboutPrivacy PolicyTerms of UseAPI Docs

BankCheck checks whether a number could be valid based on format, length, and checksum rules. It does not verify that an account exists or confirm who it belongs to. Always confirm account details with your bank before making a payment.

© 2026 BankCheck

Sort Code Validator

Check UK and Ireland sort codes with detailed bank lookup

IBANRouting NumberSort Code

Try an example

How it works

A UK sort code is a 6-digit number (usually written as three pairs: XX-XX-XX) that identifies the bank and branch. Sort codes are validated using format rules and bank data lookups.

Frequently Asked Questions

What is a sort code?
A sort code is a 6-digit number used in the United Kingdom and Ireland to identify a bank and its branch. Written as three pairs of digits separated by hyphens (e.g., 20-00-00), sort codes are used for domestic bank transfers via Faster Payments, BACS, and CHAPS, as well as direct debits and standing orders. There are approximately 70,000 sort codes in the UK, managed by Pay.UK through the Industry Sort Code Directory (ISCD).
How are sort codes structured?
The first two digits typically identify the bank: 20 for Barclays, 30 for Lloyds, 40 for HSBC, 60 for NatWest, 77 for TSB, and 80–83 for Bank of Scotland. The remaining four digits identify the specific branch. Some banks have been reassigned codes after mergers or acquisitions — for example, many former RBS sort codes (15–16) now route to NatWest. Sort codes can also be shared between banks when branches are co-located.
Where can I find my sort code?
Your sort code appears on your bank card (usually on the front), bank statements, cheque book (bottom-left alongside the account number), and in your online or mobile banking app. It is always displayed alongside your 8-digit account number. Together, the sort code and account number uniquely identify a UK bank account. You can also find it by searching for your bank branch online or calling your bank’s customer service line.
Is a sort code the same as a routing number?
No. Sort codes are used in the UK and Ireland (6 digits, format XX-XX-XX), while routing numbers (ABA RTNs) are used in the United States (9 digits). They serve a similar purpose — identifying a bank for domestic transfers — but use different formats and validation methods. Sort codes are validated by format and bank data lookup, while routing numbers use a 3-7-1 weighted checksum algorithm. For international transfers from the UK, you would use a 22-character IBAN (format: GB + 2 check digits + 4-letter bank code + sort code + account number). You can validate all three formats on BankCheck.

Browse by Bank

Bank of Scotland11 codesHalifax9 codesRoyal Bank of Scotland5 codesCumberland Building Society4 codesClydesdale Bank4 codesDanske Bank4 codesCitibank UK5 codesCredit Suisse UK3 codesBarclays17 codesStarling Bank4 codesWise4 codesHampden & Co1 codeMetro Bank1 codeLloyds Bank17 codesTSB Bank5 codesHSBC17 codesDeutsche Bank UK4 codesBank of China UK4 codesICBC London3 codesFirst Direct1 codeBNP Paribas UK4 codesCoventry Building Society5 codesNatWest18 codesNottingham Building Society4 codesAldermore Bank4 codesSociete Generale UK4 codesWest Bromwich Building Society5 codesState Bank of India UK4 codesStandard Chartered UK4 codesJP Morgan4 codesSkipton Building Society5 codesLeeds Building Society5 codesNewcastle Building Society4 codesVirgin Money1 codeAIB UK2 codesProgressive Building Society3 codesUlster Bank2 codesSantander11 codesNationwide Building Society5 codesMonzo Bank4 codesRevolut4 codesCo-operative Bank4 codesTesco Bank2 codesChase UK1 codeAtom Bank1 codeClearBank1 codeModulr1 codeCashplus1 codeYorkshire Building Society8 codesPrincipality Building Society5 codesOakNorth Bank5 codesTandem Bank4 codesZopa Bank4 codesMarcus by Goldman Sachs4 codesShawbrook Bank3 codes

Learn More

IBAN vs SWIFT Code: What’s the Difference?

8 min read

How to Send Money Internationally

8 min read

Sort Code vs Routing Number vs IBAN

8 min read

What Is a Sort Code?

7 min read

How to Find Your Sort Code

7 min read

How Long Do International Transfers Take?

8 min read

How to Verify Bank Details Before Sending Money

8 min read

Need to validate a different format? Try the IBAN validator or the US routing number validator.