Why address format matters when you type it
When you type your address into a form—whether it's for an online order, a doctor's appointment, or a utility bill—the way you format it affects whether your mail arrives, your package ships to the right place, and whether your information gets stored correctly in a company's system. Different websites and forms expect addresses in different layouts, and some are stricter than others about what they accept.
The United States Postal Service (USPS) has a standard format they prefer, but many online forms will accept your address even if you don't follow it exactly. However, knowing the standard format and understanding what each field means makes it much faster to fill out forms correctly the first time, and it reduces the chance that something gets lost or sent to the wrong place.
Key Takeaways
- The USPS standard format puts the street address on one line, the city and state on the next, and the ZIP code last, with no punctuation except hyphens in ZIP+4 codes.
- Most online forms break your address into separate fields (street, city, state, ZIP), so you only type one piece of information in each box.
- Apartment, suite, and unit numbers go on the same line as your street address, after the street number and name.
- State abbreviations are always two letters (CA for California, TX for Texas), and ZIP codes are always five digits, or five digits plus four if you know your extended code.
- If a form rejects your address, try removing punctuation, using all capital letters, or shortening words like "Street" to "St" or "Avenue" to "Ave".
The standard USPS address format
The USPS prefers addresses written in this order: street address, city, state, and ZIP code. If you were writing it on an envelope by hand, it would look like this:
123 Main Street Springfield, IL 62701
For an apartment or unit, add that information right after the street number and name, on the same line or on a second line depending on the form:
456 Oak Avenue, Apt 12 Portland, OR 97201
Or:
456 Oak Avenue Apt 12 Portland, OR 97201
The USPS format uses no punctuation except the hyphen in ZIP+4 codes (like 62701-1234). No commas, no periods, no apostrophes. State names are always abbreviated to two letters. Street words like "Street," "Avenue," and "Boulevard" can be written out or shortened to "St," "Ave," and "Blvd"—the USPS accepts both.
How to fill in online forms with separate address fields
Most websites break your address into separate boxes instead of asking you to type it all at once. You will usually see fields labeled "Street Address," "City," "State," and "ZIP Code." Some forms also have a separate field for apartment or unit numbers, often labeled "Apt," "Suite," or "Unit."
Type only what the label asks for in each field. In the street address field, type your street number, street name, and apartment or unit number all together: "123 Main Street Apt 5" or "456 Oak Avenue Suite 200." Do not include the city, state, or ZIP code in this field—those go in their own boxes below.
For the state field, type the two-letter abbreviation (CA, TX, NY, IL, etc.). If the form has a dropdown menu instead of a text box, click the menu and select your state from the list. For the ZIP code, type all five digits with no spaces or hyphens, unless the form specifically asks for ZIP+4 format, in which case type five digits, a hyphen, and four more digits (like 62701-1234).
Apartment, suite, and unit numbers
If you live in an apartment, condo, or office suite, that number is part of your address and must be included. Put it on the same line as your street address, after the street name. You can use the abbreviation "Apt" for apartment, "Ste" for suite, or "Unit" for unit, or you can spell them out. All of these are correct:
- 123 Main Street Apt 5
- 123 Main Street Apartment 5
- 123 Main Street #5
- 123 Main Street Unit 5
If a form has a separate field for apartment or unit number, type only the number in that field (just "5" or "Apt 5"), and type the street address without it in the street address field. Read the label on each field to see what it expects.
If you do not include your apartment number, mail carriers and delivery services may not know which unit to deliver to, and your package or mail could end up at the building's main office or with a neighbor. Always include it if you have one.
State abbreviations and ZIP codes
Every state has a two-letter postal abbreviation. Some are obvious (CA for California, TX for Texas), and some are less so (PA for Pennsylvania, MI for Michigan). If you are not sure of your state's abbreviation, you can look it up on the USPS website or ask your mail carrier. Most online forms also have a dropdown menu, so you can click and select your state instead of typing it.
ZIP codes are always five digits. They are not optional, and they are not the same as your city. Two cities in the same state can have different ZIP codes, and one ZIP code can cover parts of multiple towns. If you do not know your ZIP code, you can find it by entering your street address on the USPS Postal Service Locator tool at usps.com, or by searching "[your address] ZIP code" in any search engine.
Some forms ask for ZIP+4, which is your five-digit ZIP code plus four additional digits that narrow down your address to a specific block or building. If you know your ZIP+4 code, type it as five digits, a hyphen, and four more digits (62701-1234). If you do not know it, typing just the five-digit ZIP code is usually fine—most forms will accept it.
What to do if a form rejects your address
If you type your address and the form says it is invalid or not found, try these steps in order. First, remove any punctuation: no commas, no periods, no apostrophes. Type "123 Main Street" instead of "123 Main St." or "123 Main Street,". Second, try using all capital letters: "123 MAIN STREET SPRINGFIELD IL 62701".
Third, try shortening street words. Instead of "Street," type "St." Instead of "Avenue," type "Ave." Instead of "Boulevard," type "Blvd." Some older systems only accept abbreviated forms. Fourth, double-check that you have typed your ZIP code correctly—a single wrong digit will cause the form to reject it.
If the form still rejects your address after these steps, try typing it without your apartment or unit number, or try typing just your city and state without the street address to see if the form will accept that much. If nothing works, contact the website's customer support or call the organization directly. They may have a different system or may be able to enter your address manually.
Special cases: PO boxes, rural routes, and military addresses
If you use a PO box instead of a street address, type it exactly as the USPS instructs. A PO box address looks like this: "PO Box 123, Springfield, IL 62701." Some online forms do not accept PO boxes because they expect a physical street address for shipping. If that happens, you will need to provide a different address or contact the organization to ask if they can mail to a PO box.
Rural route addresses (RR addresses) and military addresses (APO and FPO addresses) follow their own formats. If you have one of these, the USPS website has specific instructions for how to format them. When filling out an online form, type your address exactly as it appears on your mail, and if the form rejects it, contact the organization's support team.
Frequently Asked Questions
Do I need to capitalize my address when I type it?
No. Most systems accept addresses in lowercase, uppercase, or mixed case. However, if a form rejects your address, try typing it in all capital letters—some older systems require that format. For everyday use, normal capitalization (like you would write it on an envelope) works fine.
What if I do not know my ZIP code?
Go to usps.com and use the Postal Service Locator tool. Type in your street address, city, and state, and it will show you your ZIP code and ZIP+4 code. You can also search "[your address] ZIP code" in any search engine, or call your local post office and ask.
Can I type my apartment number with a # symbol instead of "Apt"?
Yes. "123 Main Street #5" and "123 Main Street Apt 5" are both correct. Use whichever one fits the form's field. If the form has a separate box for apartment number, type just the number or just "Apt 5" depending on what the label asks for.
What if my address has a hyphen or apostrophe in the street name?
Type it exactly as it appears on your mail and official documents. For example, "123 O'Connor Street" or "456 North-South Road." If a form rejects it, try removing the punctuation and typing "123 Oconnor Street" or "456 Northsouth Road," then contact the organization if it still does not work.
Is ZIP+4 required, or can I just use the five-digit ZIP code?
The five-digit ZIP code is all that is required. ZIP+4 is optional and makes delivery more precise, but most forms and mail carriers work fine with just the five digits. If you know your ZIP+4 and the form asks for it, include it. Otherwise, the five-digit code is sufficient.