How US ZIP Codes Are Structured
A standard USPS ZIP Code consists of five numeric digits (NNNNN), optionally followed by a hyphen and a four-digit delivery-sector extension known as ZIP+4 (NNNNN-NNNN). Unlike arbitrary 5-digit random numbers, the leading digits encode real geographic routing zones across the United States:
| Leading Digit | US Geographic Region | Example States & Cities |
|---|---|---|
0 |
Northeast & New England | Massachusetts (02108), New Hampshire (03101), New Jersey (07302) |
1 |
Mid-Atlantic | New York (10001), Pennsylvania (19102), Delaware (19801) |
2–3 |
Southeast & DC | Washington DC (20001), Georgia (30301), Florida (33101) |
4–6 |
Midwest & Great Lakes | Ohio (43201), Montana (59101), Illinois (60601) |
7–8 |
South Central & Mountain | Texas (78701), Colorado (80202), Arizona (85003) |
9 |
West Coast, Alaska & Hawaii | California (90210), Oregon (97209), Washington (98101), Alaska (99501) |
Prefix Filtering & Leading-Zero Safety
Developers frequently hit subtle bugs with East Coast ZIP codes that start with 0 (such as 02108 in Boston or 03101 in Manchester, NH) when spreadsheets or integer columns strip the leading zero. Every row in GenAddress preserves zero-padded 5-digit strings in both the table view and CSV/JSON exports. Type any prefix like 03, 902, or 972 in the filter box to generate targeted test fixtures in one click.
Need complete street lines, names, and phone numbers alongside your ZIP codes? Jump to our US Address Generator, US Tax-Free State Address Generator, or California Address Generator. All codes are generated locally in your browser.