What goes in Address Line 1 and Address Line 2?

Put the house number and street name in Address Line 1. Use Line 2 for a known apartment, suite or other unit detail when the form provides that field. If your address has no unit and Line 2 is optional, leave it blank. Keep city, state and ZIP in their own fields; use a delivery-notes field for delivery instructions.

If the form has a separate Apartment number or Suite number field, follow that label instead of entering the same unit twice. The examples below use an invented street and unit numbers. Boston, MA and 02108 illustrate location fields; none of the examples is a verified delivery address. Use them only in test forms, never for real deliveries, identity checks or proof of residence.

Fictional test data: blank Line 2, apartment and suite
No apartment or suite (test data)
Address Line 1: 128 Example Lane
Address Line 2: (leave blank)

Apartment example (test data)
Address Line 1: 128 Example Lane
Address Line 2: APT 4B

Suite example (test data)
Address Line 1: 128 Example Lane
Address Line 2: STE 210

For all three examples
City: Boston
State: MA
ZIP code: 02108
Country: United States

(leave blank) is an instruction, not text to enter.

Apartment, suite or no Line 2: which format should I use?

APT means apartment; STE means suite. Use the designation that matches the known address. If a field asks only for an apartment number, enter the number as instructed. If there is no Line 2 or separate unit field, a known unit can usually follow the street in Line 1, for example the fictional test value 128 Example Lane APT 4B. Follow the form’s instructions.

USPS guidance concerns the printed delivery address, where a known unit is preferably placed at the end of the street-address line. A website can collect those parts in separate fields. When an optional Line 2 does not apply, leave it empty instead of typing N/A or repeating the street. If a site requires Line 2 even though your address has no unit, check its instructions or contact its support rather than inventing an apartment.

Copy city, state and ZIP as one group

In AddressSample, these three location fields come from the same source record. Copying the city from one result and the ZIP from another breaks that relationship. Keep the ZIP as text so that a value such as 02108 remains five characters.

For a form test, check the stored value as well as the visible label: the state control may store MA while displaying Massachusetts. For actual delivery, confirm the recipient’s full address using the carrier or postal service rather than treating a sample as verification.

A small test plan you can repeat

Open the US generator and generate one sample. Copy its street, city, state and ZIP into your own test form, keeping fields from that one result together. First test a blank Line 2, then manually add APT 4B and STE 210 as fictional test values. Save and reload your form, then inspect its confirmation screen or export for a missing or repeated unit and a lost ZIP leading zero. These manual test values are not added to AddressSample’s saved records or downloads.

AddressSample combines sourced street and house-number records with fictional test profiles; it does not invent floors or units. It cannot receive parcels or establish a person’s residence. The current US dataset covers the 50 states and Washington, DC; it is not a complete directory of US postal destinations.

Sources and further reading

Data sources ↗