AU Post Code generator

Last modified: April 3, 2025

The AU Post Code generator creates simulated Australian postal codes. These are four-digit numeric codes that represent specific geographic areas or regions within Australia, such as 2000 (Sydney) or 3000 (Melbourne). This generator is used for testing, development, or data simulation in systems requiring Australian postal data, such as e-commerce platforms, shipping logistics, or address verification systems.

Note

If you select Australia from the Country-specific data list on the Options page of the Data Generator Project Properties wizard, the AU Post Code generator will be applied to columns that meet the matching rules, replacing the default (United States)generator.

AU country specific data

Generator properties

The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.

Short name Example of generated data Data type matching Country-specific
AU Post 5730, 9015, 0821, … charactercharacter varyingtext AU

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name contains ‘ZipCode’, ‘PostalCode’, or ‘Zip’, preceded or followed by any or no characters, regardless of the table name.
  • The column name contains ‘Addr’, preceded or followed by any or no characters, and ends with ‘4’, regardless of the table name.

Configure additional options

The tool allows you to set additional options:

  • In the File to load data from box, select to choose a file to load data from. The default path to the file that stores a list of cities is C:\Users\Public\Documents\Devart\dbForge Studio for PostgreSQL\Data Generators\AUCities.txt.
  • Select the Trim left trailing spaces checkbox to remove spaces, tabs, and other non-printing characters on the LEFT of each string.
  • Select the Trim right trailing spaces checkbox to remove spaces, tabs, and other non-printing characters on the RIGHT of each string (does not remove line breaks).

Preview of the column data generated by the AU Post Code generator

AU Post Code generator