Australian Postal Codes

You can support this initiative by "buying me a coffee" using the link below.

Buy me a coffeeBuy me a coffee

Download Free Database of Australian Postcodes

Last Updated: 16th May 2020

An up-to-date downloadable database of Australian Postcodes and Localities, including accurate longitude and latitude values, sourced by and supported by the community.

History

Some years ago, Australia Post used to publish a full list of Australian Postal Codes including state and location data, in a raw data format, completely free.

They have since stopped doing this, instead preferring to charge for data that is arguably public domain, or at least available publicly in many different forms from many different providers.

I've needed this data for a number of projects over the years, and have collated as much publicly-available postal data as I could find. There are a bunch of files out on the internet with this data, but they are all missing data or detail, so I've tried to collate them as best I can.

You can learn more about Australian Postcodes on Wikipedia.

Current Statistics

The database currently contains 18,272 entries, spread over the following states:

General Statistics Added Usage
State Full Name Range Total Entries With Long/Lat 25-Jan-2019 LVR1 Delivery Areas PO Boxes SA3 SA4 Details
ACT Australian Capital Territory 0200 to 2914 159 155 0 0 145 2 153 153 View All
NSW New South Wales 1001 to 4385 5538 5513 0 206 4890 67 5443 5443 View All
NT Northern Territory 0800 to 852 390 387 0 0 212 0 378 378 View All
QLD Queensland 4000 to 9726 3840 3838 0 12 3363 6 3808 3808 View All
SA South Australia 0872 to 872 2081 2081 0 6 1989 3 2024 2024 View All
TAS Tasmania 7000 to 7470 808 808 0 0 779 3 803 803 View All
VIC Victoria 3000 to 8785 3531 3523 0 12 3280 26 3512 3512 View All
WA Western Australia 0872 to 6997 1925 1918 0 8 1723 66 1902 1902 View All

1 Many large businesses, government departments and other institutions receiving high volumes of mail had their own postcode as a Large Volume Receiver (LVR), e.g. the Royal Brisbane and Women's Hospital has the postcode 4029, the Australian National University had the postcode 0200. More postcode ranges were made available for LVRs in the 1990s. Australia Post has been progressively discontinuing the LVR programme since 2006.

Data Fields

The files have eight fields in each:

Field Description Example Updated
id Primary Key from source database 1 Regularly
postcode The postcode in numerical format - 0000 to 9999 3000 Regularly
locality The locality of the postcode - typically the city/suburb or postal distribution centre Melbourne Regularly
state The Australian state in which the locality is situated VIC Regularly
long The longitude of the locality - defaults to 0 when not available 144.956776 Regularly
lat The latitude of the locality - defaults to 0 when not available -37.817403 Regularly
dc1 The Australia Post distribution Centre servicing this postcode - defaults to blank when not available MELBOURNE Infrequently
type1 The type of locality, such as a delivery area, post office or a "Large Volume Recipient" such as a GPO, defaults to blank when not available LVR Regularly
SA3 The SA3 Statistical Area code 215 Adhoc
SA3 Name The name of the SA3 Statistical Area North West Adhoc
SA4 The SA4 Statistical Area code 21501 Adhoc
SA4 Name The name of the SA4 Statistical Area Grampians Adhoc
Region Designated Regional Area R1
status A note indicating whether the data is new, removed or updated - new column Nov 2018 Updated Regularly

1 These fields are no longer being updated, as the data isn't overly relevant outside of AusPost.

Download

Download the database using the links below. The ZIP file contains all formats. If there are any other formats you'd like to see, please let me know.

Download:
CSV JSON XLS XLSX XML ZIP
2.9Mb 6.3Mb 4.5Mb 1.2Mb 10.8Mb 3.1Mb

If you'd like any other format, just let me know and I can add it to this page.

Addition of ABS Statistical Area 3 (SA3) and Statistical Area 4 (SA4) datasets

I've recently added SA3 and SA4 data sets to the postcode database. Nearly all postcodes have these values, however not all, so it can't be considered 100% accurate.

Also, the SA3/SA4 data set is from the 2016 census, so there might be some changes since. If anyone has a more recent database, please let me know!

You can learn more about SA3 and SA4 on the ABS site in the 1270.0.55.001 - Australian Statistical Geography Standard (ASGS) section.

Designated Regional Area Postcodes

I've added R1, R2 and R3 region codes based on GOV.AU data and Immigration categorization. It's not 100% accurate, as they exclude many postcodes, but is a good representation nonetheless.

More details at https://immi.homeaffairs.gov.au/visas/working-in-australia/skill-occupation-list/regional-postcodes

Use Cases

There are many, many potential uses for this database. Some of the projects and uses people have downloaded the database for include:

  • Having a complete list of current suburbs in Australia
  • Calculating distances between two Australian postcodes or two Australian suburbs
  • Grouping population and other statistical data by suburb or postcode
  • Mapping rainfall data to regions

Last Updates

May 16th 2020 Content updates - Adding region codes. Content updates from Michael & Matt.
April 30th 2020 Content updates - Minor fixes and town spelling updates.
March 25th 2020 Content updates - Adding missing Long/Lat values, some missing SA4/SA4 data, from AusPost database and API.
  • 54 New post code entries from AusPost
  • 48 Updated long/lat values
  • 23 Updated from AusPost
  • 462 Updates SA3 & SA4 classifications
February 7th 2020 Content updates - Adding SA3 and SA4 values, removing 233 duplicate postcodes, adding leading 0's to 3-digit postcodes for consistency. Thanks Israel, Michael and anon.
January 25th 2020 Content updates - minor data fixes from Tony, Ross and Michoel. Major update from Stuart. Thanks heaps!
January 19th 2020 Content updates - major data fixes from Alex and Cameron. Thanks!
August 26th 2019 Content updates - major data update from anonymous source. Includes 1723 new entries! Removed duplicate entries.
June 13th 2019 Content updates, data clean-up and a few minor corrections from the community.
May 27th 2019 Updates from the community and some data sent from Australia Post. Thanks guys!
January 28th 2019 Updates from the community, including specifically Chris. Thanks again!!
December 6th 2018 Updates from the community, including from Vincent, Pat & Chris. Thanks!!
November 23rd 2018 Updates from GIS source, client data and updates from the community. Thanks everyone!
  • Added 154 new entries!
  • Flagged 502 entries as no longer valid
August 7th 2018 Updates from the community, including from Steve, Pete & Others. Thanks guys!!
September 14th 2016 Initial public release in its current form.

Contribute on Github

Help Support This Database

I make this information freely available, and use it for my own client projects and experiments. However, if you feel you'd like to help me out, a donation to the charity my wife and I run would be greatly appreciated! We work hard to Cancer education and treatment in Uganda, Africa, and any support is appreciated!

You can also support us by "buying us a coffee" using the link below.

Buy me a coffeeBuy me a coffee

Important Notice: I make no absolutely no guarantees as to its accuracy, but please feel free to let me know of any fixes or updates you see.