Address Format Standards · UPU S42 & Regional Grammars

International Address Format & Mailing Address Format Guide

Understand how postal address components, line ordering, building numbers, and postal codes work worldwide before designing forms or shipping labels.

Interactive Test Fixture Tool

Need format-valid test records following these exact rules? Generate sample addresses and export JSON, CSV, or SQL instantly.

Open Fake & Random Address Generator

1. Core Address Components

Every valid international mailing address format balances two requirements: helping automated optical character recognition (OCR) sorting machines route mail to a regional post office, and helping human couriers locate the exact building and unit entrance. Although postal authorities across 190+ Universal Postal Union (UPU) members share the same underlying entities, they arrange those elements into three distinct structural families: Western smallest-to-largest (US, UK, Canada, Australia), Continental European street-before-number and postal-code-before-city (Germany, Netherlands, Brazil), and East Asian hierarchical largest-to-smallest (Japan, China, South Korea). Designing a single rigid address form around US assumptions inevitably breaks international checkouts, drops leading zeros, or rejects alphanumeric postcodes.

1. Recipient & Organization / Attention Line

Identifies the individual recipient, business entity, or department desk (such as "Attn: Accounts Payable" or "c/o Building Reception") at the top of the envelope or shipping label. Postal carriers treat this line as non-routing metadata until final desk delivery.

2. Delivery Premise & Thoroughfare (Street + Building + Unit)

Combines the street name, building/house number, and secondary unit designator (Apartment, Suite, Flat, Unit, Floor, or Whg.). Placement varies by country: English-speaking countries place house numbers before the street name, whereas Germany, Switzerland, and Italy place the house number after the street name.

3. Dependent Locality / District / Suburb / Ward

Used heavily in dense urban grids or multi-municipality zones such as UK dependent localities, Tokyo special wards (-ku), Indian neighborhoods/sectors, and Australian suburbs where identical street names repeat across neighboring areas.

4. City / Post Town & Administrative Subdivision

Identifies the primary municipality or Royal Mail Post Town paired with a State, Province, or Prefecture where required by national standards (mandatory in US, Canada, Australia, and Japan; commonly omitted in domestic UK, German, and French mail).

5. Postal / ZIP Code & Destination Country Line

Acts as the primary machine-routing key. Formats span fixed numeric strings (5–6 digits), hyphenated compounds (US ZIP+4, Japan NNN-NNNN, Brazil CEP), and structured alphanumeric codes (UK A9 9AA, Canada A1A 1A1). For cross-border shipments, always place the destination country in uppercase English or French on the final line.

2. Field-by-Field Validation & Formatting Rules

Postal / ZIP Code Storage Type

Always store postal codes as trimmed UTF-8 strings—never as numeric integers. Leading zeros are mandatory in US New England ZIPs (02108), German zone 0 PLZ codes (01067), Australian Northern Territory postcodes (0800), and Singapore codes (048619). Strip-casting to integers corrupts checkout validation.

Character Length & Alphanumeric Support

Never restrict postal inputs to digits only. United Kingdom, Canada, Ireland, Netherlands, and Argentina all require uppercase ASCII letters alongside digits and internal spaces or hyphens. International postal fields should allow at least 12 characters.

Line Length & Line Count Caps

UPU S42 and major carriers (USPS, Royal Mail, La Poste AFNOR, DHL) enforce strict label limits—typically 35–40 characters per street line and at most 5–6 address lines above the country line. Overlong fields truncate apartment numbers on printed thermal labels.

PO Box vs. Physical Street Separation

Standard postal operators deliver to PO Boxes and bank lockboxes, whereas express couriers (FedEx, UPS, DHL) require a verifiable physical street address. Never combine a street line and a PO Box in the same address line.

Cross-Border Country Name Standardization

When mailing internationally, write the destination country on the bottom line in uppercase English (e.g., UNITED STATES, UNITED KINGDOM, JAPAN, GERMANY) regardless of the origin country language so outbound export sorting teams can route bags immediately.

3. Three Correctly Formatted Examples

1. United States Commercial Suite (Smallest-to-Largest Western)

Northstar Logistics LLC
Attn: Receiving Dock B
742 Market Street, Suite 410
San Francisco, CA 94105-1804
UNITED STATES

Places house number before street name, pairs two-letter USPS state code with ZIP+4 separated by a single space, and uses uppercase country line.

2. Germany Urban Residence (European Post-Number & Postal-First)

Hannah Müller
c/o Weber, 3. OG
Friedrichstraße 118
10117 Berlin
GERMANY

Places building number 118 after Friedrichstraße, places 5-digit PLZ before city without a comma, and omits the federal state.

3. Japan International Romaji Commercial Address

Haruto Sato
Marunouchi Park Bldg 502
2-6-1 Marunouchi, Chiyoda-ku
Tokyo 100-6905
JAPAN

Renders Chome-Banchi-Go block coordinates (2-6-1), includes Chiyoda-ku special ward, and formats the 7-digit postal code with a hyphen.

4. Two Common Formatting Mistakes to Avoid

1. Enforcing US "City, State, ZIP" order globally

Berlin, BE 10117, Germany
10117 Berlin / GERMANY

Germany, France, Spain, and most European postal systems place the postal code before the municipality and do not include state/region names on domestic or cross-border labels.

2. Requiring a Postal Code in territories that do not use one

Enforcing a mandatory 5-digit postal field for Hong Kong SAR or UAE forms
Making Postal Code optional for Hong Kong SAR (HK) and United Arab Emirates (AE)

Countries and territories such as Hong Kong, Ireland (historically prior to Eircode), UAE, and Qatar do not follow universal 5-digit ZIP codes; making postal code conditionally required per ISO code prevents checkout abandonment.

Frequently Asked Questions

What is the standard international mailing address format?

Place the recipient on line 1, street and apartment details on lines 2–3, municipality and postal code according to the destination country rule on the penultimate line, and the country name in uppercase English on the final line.

Why should developers avoid validating all postal codes as 5 digits?

Postal lengths and characters differ widely: UK and Canada use alphanumeric codes with spaces, Australia uses 4 digits, Germany and France use 5 digits, India and Singapore use 6 digits, and Japan uses NNN-NNNN.

How can I test multiple international address formats quickly?

Use the GlobalAddressGen tool to switch across countries, inspect live mailing labels, and export JSON, CSV, or SQL test payloads.