Key takeaways

  • Check the destination country before deciding the order of lines
  • Keep the recipient, delivery details, locality, postal code, and country as separate pieces of data
  • Write the country name on international mail, but normally omit it on domestic mail
  • Treat a well-shaped address as formatted, not automatically verified or deliverable
Written by
Random Address Generator Editorial Team
Reviewed by
International Address Format Review Team
Latest substantive update
Published a destination-first guide to writing postal addresses for mail, forms, and test fixtures.

Start with the destination, not the street

The first useful question is not “Where does the street number go?” It is “Which postal system will handle the final delivery?” Countries arrange the same basic facts differently. A US address ends with city, state, and ZIP Code. A UK address gives special weight to the Post Town and postcode. In Japan, the written order commonly moves from the largest area toward the building and room.

That is why a single four-line template fails so often. Collect the country first, then show the fields and labels that belong to that destination. If you are writing by hand, check the destination post's current format rather than copying an address from an unrelated country.

The parts most addresses have in common

Line order changes, but the underlying pieces are familiar: a recipient or organization, delivery details, a locality, an optional administrative area, a postal code, and a country for international mail. Store those pieces separately even if the final label combines them.

Do not invent missing fields. A flat number, county, province, or postcode can be optional in one country and essential in another. A blank optional field is cleaner than N/A printed on a mailpiece.

Address elementWhat it answersCommon mistake
RecipientWho should receive it?Mixing the person's name into the street field
Delivery detailsWhich building, street, box, or unit?Dropping a unit number when lines are merged
LocalityWhich city, town, or postal locality?Guessing it from a familiar place name
Administrative areaWhich state, province, or region?Making it required in countries that do not use it
Postal codeWhich postal routing area?Saving it as a number and losing leading zeros
CountryWhich national postal system?Adding it to domestic mail or omitting it internationally

Build the address block one decision at a time

Begin with the recipient. Add the smallest delivery detail that distinguishes the destination, such as an apartment, floor, building, or PO Box. Follow the destination country's line order for the street and locality. Put the postal code where that country expects it, then add the destination country on the last line for international mail.

Read the finished block from top to bottom. Each line should narrow the destination without repeating another line. If removing a line changes which unit, building, or locality receives the item, that line is probably doing real work.

Format example
MORGAN REEDAPT 4B225 N HUMPHREYS BLVDMEMPHIS TN 38188-1001UNITED STATES

An online form is not a printed label

A form needs editable fields; a label needs readable output. Keep the raw entry so a correction does not erase what the user typed. Then create a normalized version for searching or printing. The HTML autocomplete tokens address-line1, address-line2, address-level1, address-level2, postal-code, and country help browsers understand the purpose of each field.

Avoid hiding meaning behind Address 1, Address 2, and Region without examples. Labels should change with the selected country. A UK customer recognizes Post Town; a US customer recognizes State and ZIP Code.

  • Ask for country before rendering country-dependent fields
  • Keep Address Line 2 optional
  • Store postal codes as text
  • Use country codes in data and human-readable country names on labels
  • Preserve Unicode rather than forcing every address into ASCII

Correctly written does not mean verified

A complete-looking address may still be old, mistyped, fictional, or assigned to a different delivery route. Formatting checks line order and field shape. Standardization makes the text consistent. Verification compares the address with a current postal or licensed reference. Those are separate results and should have separate status fields.

For development, use clearly labeled synthetic fixtures or public non-residential examples. Do not use generated addresses for shipping, payment, identity, credit, or account verification.

Frequently asked questions

What is the correct way to write an address?

Use the destination country's order. Include the recipient, complete delivery details, locality, postal code, and the country name when the item crosses a national border.

Does the country go on the first or last line?

On international mail, the destination country normally appears on the final line. Domestic mail generally omits the country line.

Can Address Line 2 be left blank?

Yes. It should be optional unless the destination actually needs a unit, building, floor, department, or other secondary detail.

Is a formatted address guaranteed to receive mail?

No. Formatting alone cannot prove that the address exists or currently accepts delivery. Use the destination postal operator or an authorized validation service when deliverability matters.

Sources and further reading

  1. Universal Postal Union: Addressing Solutions
  2. UPU S42 International Addressing Standards
  3. MDN: HTML autocomplete address fields