Developer and Text Tools

Australian Postcodes Explained: Ranges by State and How to Validate One

Learn how Australian postcodes map to states and territories, which ranges are for PO boxes and large receivers, and how to validate a postcode in a form.

Saizul Amin
Saizul Amin23 Oct 2026 · 4 min read
Australian Postcodes Explained: Ranges by State and How to Validate One

Australian Postcodes Explained: Ranges by State and How to Validate One

Every Australian address ends in a four-digit postcode, and the first digits tell you the state. That simple fact is the base of many forms, delivery systems and databases. It also has exceptions that cause bugs and wasted parcels: the Australian Capital Territory sits inside the New South Wales number block, Victorian and Queensland postcodes have extra ranges, and some codes serve only PO boxes. The Australian Postcode to State Validator and Decoder checks a postcode and tells you where it belongs.

The main ranges

Postcodes starting with 0 are for the Northern Territory in 0800 to 0999 and the Australian Capital Territory in 0200 to 0299. Postcodes from 1000 to 1999 belong to New South Wales, mostly for large volume mail receivers. From 2000 to 2599 and 2619 to 2899 they belong to New South Wales, and 2921 to 2999 as well. The ACT has 2600 to 2618 and 2900 to 2920. Victoria uses 3000 to 3999, and also 8000 to 8999 for PO boxes and large receivers. Queensland uses 4000 to 4999 and 9000 to 9999 in the same way. South Australia uses 5000 to 5999, Western Australia 6000 to 6999 and Tasmania 7000 to 7999.

Why the ACT is tricky

Canberra's postcodes begin with 26 and 29, in the middle of the New South Wales block, so a simple rule such as "starts with 2 means New South Wales" is wrong. The same goes for the 0200 range. A good validator checks the specific ranges, not just the first digit. The tool does this and marks the state or territory.

PO boxes and large receivers

Postcodes from 1000 to 1999, 8000 to 8999 and 9000 to 9999 are mostly for delivery to large organisations or to PO boxes, not to houses. If you ship parcels by courier, a PO box address may not be accepted. The tool marks these ranges so that your form can warn the user.

Border places and exceptions

Some postcodes cover areas across state borders, and some places have more than one postcode. A town on the New South Wales and Victorian border might have a postcode that belongs to one side while some households on the other side use it. Also, outlying territories such as Norfolk Island and Christmas Island use codes from the standard range. For exact delivery points, the Australia Post lookup is the authority.

Good practice in forms

Ask for the postcode as text so that leading zeros are kept for 0800 or 0200. Trim spaces and allow only four digits. Check the postcode against the state the user chose, and warn if they differ. Do not reject an address only because a postcode is rare, as new codes appear. Do not store the postcode as a number.

How to use the validator

  1. Paste one postcode, or many, one per line.
  2. Read the state or territory for each.
  3. Check the range type for PO boxes.
  4. Fix any that fail.

A worked example

The postcode 2000 is in New South Wales, 3000 in Victoria, 0800 in the Northern Territory, 2600 in the ACT, 6000 in Western Australia, 7000 in Tasmania and 5000 in South Australia. The postcode 0300 is outside any assigned range, and 12345 has too many digits.

Data cleaning tips

When you clean a customer list, normalise the postcode first, then compare it with the state field, and flag the rows that disagree. Check for postcodes that lost their leading zero in a spreadsheet, such as 800 instead of 0800, and restore them if the state is the Northern Territory. Remember that some customers use a PO box postcode for billing. For shipping, request a street address in a separate field and validate it with a delivery address database.

Common errors in lists

Typical mistakes include a postcode typed with a space inside, a suburb that does not match the code, and an old code kept after a suburb was split or renamed. If many addresses fail, check whether the data was exported from a spreadsheet that treated the postcode as a number. A short script that pads to four digits and validates each against the ranges can clean most lists in minutes.

Limits

This tool checks ranges and not individual delivery areas. Use Australia Post for a full address check.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages