95+ free tools
Back

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

  1. Click Generate to get a synthetic UK sort code and account number.
  2. Click the row or use Copy to bring the values into your test.
  3. Use the details in payment forms, sandbox setups, or banking test fixtures.
Synthetic documents
Click Generate to create test values.

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

๐Ÿ’ณ
Payment testing
Exercise payout and bank account forms safely in test flows
๐Ÿฆ
Sandbox setups
Use structured banking values in demos and fixtures
โœ…
Format coverage
Verify front-end and back-end sort code validation logic
๐Ÿ—„๏ธ
Sample records
Populate internal tools and tables with realistic banking data

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

🧪
Testing and QA
Validate inputs, outputs, and UI rules in controlled scenarios.
💻
Development
Use fast browser output while debugging, prototyping, and integrating systems.
📋
Documentation
Create reproducible examples for tickets, specs, and technical reviews.
Local workflows
Most operations run in the browser with no sign-up and no installation.

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.

Related tools