UK Sort Code and Account Generator
Generate UK banking details with format-compliant structure for payment forms, onboarding screens, finance demos, and non-production testing. Useful for browser-based validation checks.
What is this generator?
Generate UK sort codes and account numbers with format-compliant structure for payment forms, onboarding screens, finance demos, and non-production testing. All values are synthetic and computed locally in the browser.
How to use
- Click Generate to get a synthetic UK sort code and account number.
- Click the row or use Copy to bring the values into your test.
- Use the details in payment forms, sandbox setups, or banking test fixtures.
Generated values are for software testing, QA, demos, and mock data only.
Practical example
Use the generated banking details in an automated Playwright test:
// Playwright test
await page.fill('[name="sortCode"]', '20-00-00')
await page.fill('[name="accountNumber"]', '12345678')Replace with the values generated by the tool.
API
For automations, integrations, and CI pipelines, see the API documentation.
What it's for
See also
Privacy and synthetic data
Generated sort codes and account numbers are synthetic and intended only for software testing. The tool runs in the browser and must not be used to represent real bank accounts or initiate financial transactions.
Frequently asked questions
Are the generated sort codes real?
No. The values are synthetic and format-compliant for testing but do not correspond to any real UK bank branch.
Can I use these in production?
No. These values are intended exclusively for software development and testing environments.
What does the generator include?
The generator produces a sort code in XX-XX-XX format and an 8-digit account number โ both formatted for UK Direct Debit and bank transfer flows.
When to use
Limitations / when not to use
Use this tool for development, QA, documentation, and demos. Do not paste production secrets, private credentials, customer data, or information that should stay inside your controlled environment.