Skip to content
Back to all articles

How a US address is structured, line by line

5 min read · 2026-02-15

The three-line mental model

Most American addresses compress into three logical lines: who receives it, where the building is, and which postal zone the building belongs to. The first line is the recipient or organization. The second carries the house number, street name, street type and optional secondary unit. The final line pairs the city with a two-letter state code and a five-digit ZIP Code.

When you compose test data, keeping these three lines separable matters: many checkout forms validate each line independently and only cross-check the last one.

The city-state-ZIP triangle

The USPS delivery network reads the ZIP first. A ZIP like 97205 pinpoints a Portland, Oregon carrier route before the city name is even scanned. That is why city, state and ZIP should always travel together — the triple is effectively one atomic value.

This is also the most common source of validation errors when people hand-mix sample data: a Los Angeles ZIP paired with a New York city name will trip almost any serious form.

Secondary units and delivery points

Apartment, suite and unit designators refine the address to a single delivery point inside a building. Format conventions such as "Apt 2B" or "Suite 100" matter to strict validators, but the pairing of house number plus ZIP already narrows the location to one building.

Try the generators

Generate test US addresses in seconds

Instantly generate random US addresses in a valid format for testing, dev work, or form filling.

100% freeNo signup required

Generated Result

Pick a state and hit generate, your sample addresses will appear here.

Ready to build your test data?

Free, instant and unlimited, start generating formatted addresses right away.