UK Sort Code Validator
Validate UK sort code and account number formats. Free and private: runs in your browser.
Paste sort codes (and optionally account numbers), one per line.
Numbers are checked locally in your browser and never sent anywhere. Use test data, not real customer details.
Use cases
- Validate test data for payment and banking flows.
- Catch typos in account and card details before calling a provider API.
- Explain money-handling rules to your team with real examples.
Frequently asked questions
Can a sort code be fully validated offline?
Only the format. Full checks use Vocalink's modulus tables, which banks apply to the sort code and account number together.
Is the UK Sort Code Validator free?
Yes. It is free with no sign-up, and it runs entirely in your browser, so your input is never uploaded or stored.
Can I use real customer data here?
Avoid it. Everything runs locally, but good practice (and PCI DSS) is to use test data outside production systems.
Related tools
Checking one snippet is a start. Scan your whole repository for free with CodeInspector.