DevTools Logo

BSB Number Generator

BSB Number Generator

Generate 6-digit Australian BSB codes (XXX-XXX) by bank and state prefix — synthetic mock data only

Runs in your browser

For Development & Testing Purposes Only - Synthetic Mock Data

Settings

1 value

Generates 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).

Legal Disclaimer: Generated data is for software testing and validation purposes only (e.g. verifying input masks, form validation, or database seeding). It is randomly generated and not taken from any real record, but a random value can coincidentally match a real, issued number, so never use it in real applications, payments, KYC or official forms. Using it to impersonate real people or for any fraudulent activity is illegal.

    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

    1. Choose bank and state digit

      Pick an Australian bank prefix and optional state digit (2–7).

    2. Toggle account number

      Include or exclude an 8-digit mock account number alongside the BSB.

    3. Validate or bulk export

      Validate existing XXX-XXX BSB numbers or export up to 500 test records.

    Australian BSB structure

    DigitsMeaning
    Digits 1–2Financial institution code (e.g. 06 CBA, 03 Westpac)
    Digit 3State/territory (2 NSW, 3 VIC, 4 QLD, 5 SA/NT, 6 WA, 7 TAS)
    Digits 4–6Branch 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.