BSB Number Generator
Generate 6-digit Australian BSB codes (XXX-XXX) by bank and state prefix — synthetic mock data only
For Development & Testing Purposes Only - Synthetic Mock Data
Settings
1 valueGenerates one value with a valid checksum. Use Bulk for up to 500 records, or press ⌘/Ctrl+Enter for a fresh one.
Generated value
No value yet
Set options, then press Generate.
Generated values are valid in shape but randomized (Test Data).
About this tool
The BSB Number Generator creates synthetic 6-digit Australian Bank State Branch (BSB) codes in XXX-XXX format, optionally paired with an 8-digit BECS account number. You can filter by major Australian bank prefixes (CBA 06, Westpac 03, ANZ 01, NAB 08, Macquarie 18) and state digits (2 NSW/ACT, 3 VIC, 4 QLD, 5 SA/NT, 6 WA, 7 TAS).
Designed for Australian payroll, Stripe AU, and NPP/BECS form validation testing, all generation and validation runs entirely client-side.
How to use this tool
Choose bank and state digit
Pick an Australian bank prefix and optional state digit (2–7).
Toggle account number
Include or exclude an 8-digit mock account number alongside the BSB.
Validate or bulk export
Validate existing XXX-XXX BSB numbers or export up to 500 test records.
Australian BSB structure
| Digits | Meaning |
|---|---|
| Digits 1–2 | Financial institution code (e.g. 06 CBA, 03 Westpac) |
| Digit 3 | State/territory (2 NSW, 3 VIC, 4 QLD, 5 SA/NT, 6 WA, 7 TAS) |
| Digits 4–6 | Branch identifier |
Synthetic test data only; does not query the AusPayNet BSB directory.
Frequently asked questions
What do the digits in an Australian BSB mean?
The first two digits identify the bank (e.g. 06 for CBA, 03 for Westpac), the third digit represents the state (2–7), and the last three digits identify the branch.
Can I generate a BSB with an account number?
Yes. Keep 'Include 8-digit account' enabled to output paired BSB + account strings for BECS testing.
Is any data uploaded to a server?
No. Everything runs locally in your browser.
Related tools
IBAN Generator
Generate checksum-valid mock IBANs for 75+ countries.
UK Sort Code & Account Generator
Generate UK sort codes (XX-XX-XX) and 8-digit BACS account numbers.
IFSC Code Generator
Generate 11-character Indian IFSC codes for NEFT, RTGS, and IMPS QA.
ABA Routing Number Generator
Generate 9-digit US ABA routing numbers with weighted Mod-10 checks.
Tax Number Generator
Generate valid tax identification numbers for testing (TR, US, SG, etc.)