Address Format by Country: US, UK, Canada, and Australia

Postal address formats vary more than most developers expect. Drop a US-style address into a UK form, or swap a Canadian province code for an Australian state abbreviation, and things break fast. This guide covers the structure, field order, and postal code conventions for four of the most common English-speaking countries: the United States, United Kingdom, Canada, and Australia.

All sample addresses below are fully synthetic and do not correspond to real individuals or locations.

Why Address Format Differences Matter

Shipping carriers, payment processors, and identity-verification systems all parse addresses by country-specific rules. A ZIP code field that expects exactly five digits will reject a Canadian postal code like K1A 0A9. A UK form that omits a state or province field entirely will confuse a US address parser expecting two-letter state abbreviations.

For developers and QA teams, using correctly structured test data for each locale prevents false validation errors and makes coverage more realistic. See how to generate realistic test addresses for forms for tools that handle this automatically.

United States Address Format

The US address system uses five lines at most, though three to four are common:

  1. Recipient name
  2. Street number and street name (plus unit or apartment number, if any)
  3. City, state abbreviation, ZIP code

The postal code is called a ZIP code. Standard ZIP codes are five digits (12345). The extended ZIP+4 format appends a hyphen and four more digits (12345-6789), which narrows delivery to a specific block or building. State abbreviations are always two uppercase letters: CA, TX, NY, and so on.

Synthetic US example:

Jessica Tanner
4820 Ridgewood Court, Apt 3B
Columbus, OH 43215-1104

US addresses do not include a country line for domestic mail, though international senders should add UNITED STATES on the bottom line.

United Kingdom Address Format

UK addresses are structured differently. There is no state or province field. Instead, addresses use a town or city name alongside a postcode, and many addresses include a county line, though Royal Mail considers counties optional for delivery.

Typical UK line order:

  1. Recipient name
  2. House number and street name (or building name, then street)
  3. Town or city
  4. County (optional but common)
  5. Postcode

UK postcodes follow an alphanumeric pattern: one or two letters, one or two digits, a space, then one digit and two letters. Examples: SW1A 1AA, EH1 1YZ, M1 1AE. The format encodes the postcode area, district, sector, and unit. No state abbreviation exists anywhere in a standard UK address.

Synthetic UK example:

Oliver Pemberton
14 Hartley Lane
Leeds
West Yorkshire
LS6 2DT

For international mail, UNITED KINGDOM goes on the final line.

Canada Address Format

Canadian addresses look similar to US addresses at a glance but differ in two key ways: the postal code format and the province abbreviation set.

Standard Canadian line order:

  1. Recipient name
  2. Street address (plus unit or suite)
  3. City, province abbreviation, postal code

Canadian postal codes alternate between letters and numbers: A1A 1A1. The first character identifies the postal district (a broad geographic region). A space always appears after the third character. Province abbreviations are two letters, but the list differs from US states: ON for Ontario, BC for British Columbia, QC for Quebec, and so on.

Synthetic Canadian example:

Marie-Claire Dupont
882 Elgin Street, Suite 200
Ottawa, ON K2P 1L1

One common mistake: Canadian postal codes are sometimes entered without the middle space, which can fail validation on stricter forms. The international postal code formats guide covers these patterns in more detail.

Australia Address Format

Australian addresses share structural similarities with the US and Canada but use four-digit postcodes and a distinct set of state and territory abbreviations.

Standard Australian line order:

  1. Recipient name
  2. Street number and street name (plus unit number, typically written before the street number)
  3. Suburb (not city, in most cases)
  4. State abbreviation and postcode on the same line

Australian postcodes are four digits, always numeric: 2000, 3000, 4001. State abbreviations include NSW (New South Wales), VIC (Victoria), QLD (Queensland), WA (Western Australia), SA (South Australia), TAS (Tasmania), ACT (Australian Capital Territory), and NT (Northern Territory).

Synthetic Australian example:

Samuel Whitfield
Unit 4, 37 Harbour View Road
Manly NSW 2095

Australia Post style omits punctuation in addresses and writes suburb, state, and postcode on a single line with no comma between state and postcode.

Comparison Table: Address Format by Country

FieldUnited StatesUnited KingdomCanadaAustralia
Recipient nameLine 1Line 1Line 1Line 1
Street addressLine 2Line 2Line 2Line 2
Suburb / localityPart of line 3Not standardPart of line 3Line 3
City / townLine 3Line 3Line 3Line 3
State / provinceLine 3 (abbrev.)Not usedLine 3 (abbrev.)Line 3 (abbrev.)
County / regionNot standardOptional lineNot standardNot standard
Postal code5-digit ZIP (ZIP+4 optional)Alphanumeric, e.g. SW1A 2AAAlternating, e.g. K2P 1L14-digit numeric
Country lineOptional (domestic)Optional (domestic)Optional (domestic)Optional (domestic)

Fields like "suburb" or "county" show how each country handles geographic hierarchy differently. The UK skips province entirely. Australia distinguishes suburbs from cities. Canada and the US both use two-letter state or province codes but draw from different lists.

Tips for Testing with International Addresses

When building forms that accept addresses from multiple countries, a few structural issues come up repeatedly.

Postal code regex patterns are the most common source of bugs. A pattern written for US ZIPs (^\d{5}(-\d{4})?$) will reject every non-US address on the planet. Country-conditional validation is the right approach: validate the postal code format only after the country field is populated.

State or province dropdowns also cause problems. A dropdown pre-loaded with US state codes will show OH and CA as valid options but won't have ON, BC, or NSW. Either use a country-aware province list or switch to a free-text field for international addresses.

Field length limits matter too. Some UK postcodes are as short as five characters, while some Canadian postal codes with a space are seven. Setting a minimum of six characters will silently drop valid short postcodes.

For form testing, using what makes an address valid as a checklist helps catch these edge cases before they reach production.

Frequently Asked Questions

Does the UK use state codes in addresses?

No. UK addresses do not include a state, province, or region code in the way that US, Canadian, or Australian addresses do. The county line is optional and not required for mail delivery. The postcode alone provides sufficient geographic detail for Royal Mail sorting.

How is a Canadian postal code different from a US ZIP code?

US ZIP codes are five digits (or nine with ZIP+4). Canadian postal codes alternate letters and numbers in a six-character pattern: A1A 1A1. The letter-number alternation reflects a different hierarchical encoding system. They are not interchangeable, and a form that accepts one will typically need separate validation logic for the other.

Why do Australian addresses say "suburb" instead of "city"?

In Australian postal addressing, the delivery point is identified by suburb, not city. Sydney, for example, contains dozens of suburbs (Surry Hills, Newtown, Bondi), each with its own postcode. Australia Post uses the suburb name rather than the broader city name for routing.

Can I use these sample addresses for testing?

Yes. All address examples in this article are synthetic and invented for illustration. They are not tied to real individuals. For volume testing, a tool that generates correctly formatted synthetic addresses for each country is more practical than building a manual list. See how to generate realistic test addresses for forms for options.