Skip to Content

Australian State and Territory Codes: Complete ISO 3166-2:AU List

Australia is divided into 6 states and 2 territories, each with an ISO 3166-2:AU code used in shipping, tax forms, government systems, and address validation. This reference covers every subdivision with its official ISO code and practical code examples.

Complete List

CodeNameType
AU-ACTAustralian Capital TerritoryTerritory
AU-NSWNew South WalesState
AU-NTNorthern TerritoryTerritory
AU-QLDQueenslandState
AU-SASouth AustraliaState
AU-TASTasmaniaState
AU-VICVictoriaState
AU-WAWestern AustraliaState

Australia has 6 states (NSW, QLD, SA, TAS, VIC, WA) and 2 internal territories (ACT, NT). The Australian Capital Territory contains the capital city Canberra, similar to how Washington D.C. works in the United States.

Region Codes (Short Form)

When working with forms or APIs, you often need just the region code (the part after the hyphen):

Region CodeFull ISO CodeState/Territory
ACTAU-ACTAustralian Capital Territory
NSWAU-NSWNew South Wales
NTAU-NTNorthern Territory
QLDAU-QLDQueensland
SAAU-SASouth Australia
TASAU-TASTasmania
VICAU-VICVictoria
WAAU-WAWestern Australia

Using Australian State Codes in Code

Get All Australian States

import { subdivision } from '@koshmoney/countries'; const states = subdivision.forCountry('AU'); // [ // { code: 'AU-ACT', name: 'Australian Capital Territory', type: 'Territory' }, // { code: 'AU-NSW', name: 'New South Wales', type: 'State' }, // { code: 'AU-NT', name: 'Northern Territory', type: 'Territory' }, // { code: 'AU-QLD', name: 'Queensland', type: 'State' }, // { code: 'AU-SA', name: 'South Australia', type: 'State' }, // { code: 'AU-TAS', name: 'Tasmania', type: 'State' }, // { code: 'AU-VIC', name: 'Victoria', type: 'State' }, // { code: 'AU-WA', name: 'Western Australia', type: 'State' }, // ]

Look Up a Specific State

import { subdivision } from '@koshmoney/countries'; subdivision.whereCode('AU-NSW'); // { code: 'AU-NSW', name: 'New South Wales', type: 'State', countryCode: 'AU', regionCode: 'NSW' } subdivision.where('AU', 'VIC'); // { code: 'AU-VIC', name: 'Victoria', type: 'State', countryCode: 'AU', regionCode: 'VIC' }

Validate a State Code

import { subdivision } from '@koshmoney/countries'; subdivision.isValidCode('AU-NSW'); // true subdivision.isValidCode('AU-XX'); // false subdivision.isValidRegion('AU', 'VIC'); // true subdivision.isValidRegion('AU', 'CA'); // false (CA is Canadian)

Build a State Dropdown

import { subdivision } from '@koshmoney/countries'; const options = subdivision.forCountry('AU').map(s => ({ value: s.code.split('-')[1], // 'NSW', 'VIC', etc. label: s.name, })); // [{ value: 'ACT', label: 'Australian Capital Territory' }, ...]

Tree-Shaking: Load Only Australian Data

// Only load AU subdivisions (~200 bytes) import '@koshmoney/countries/subdivision/AU'; import { forCountry } from '@koshmoney/countries/subdivision'; const states = forCountry('AU'); // Works const usStates = forCountry('US'); // Returns [] (not loaded)

Postal Code Validation

Australian postcodes are 4-digit numbers:

import { postalCode } from '@koshmoney/countries'; postalCode.isValid('AU', '2000'); // true (Sydney) postalCode.isValid('AU', '3000'); // true (Melbourne) postalCode.isValid('AU', '90210'); // false (US ZIP code) postalCode.getFormat('AU'); // 'NNNN' postalCode.getName('AU'); // 'Postcode'

Postcode Ranges by State

Each state uses a specific range of postcodes:

State/TerritoryPostcode Range
ACT0200-0299, 2600-2618, 2900-2920
NSW1000-2599, 2619-2899, 2921-2999
NT0800-0899
QLD4000-4999, 9000-9999
SA5000-5799
TAS7000-7999
VIC3000-3999, 8000-8999
WA6000-6797

Country Data

import { country } from '@koshmoney/countries'; country.whereAlpha2('AU'); // { name: 'Australia', alpha2: 'AU', alpha3: 'AUS', numeric: '036' }