Skip to generator
A WORLD OF TEST DATA, AT YOUR FINGERTIPS

ZIP codes by city

Find US ZIP codes by city or state, distinguish duplicate city names, inspect county and map references, and export all matches.

No signup neededAlways free

Postal workbench

40,977 ZIP · 50 states + DC

Enter a city or choose a state. Suggestions include the state to distinguish duplicate names.

Loading and verifying the postal snapshot…

Results

0

Exports include all results, not just this page. Import the CSV zip column as text.

    GeoNames · CC BY 4.0 · us-geonames-b0c65ad3661c

    Source downloaded: 2026-10-03 · Source and coverage

    GeoNames · CC BY 4.0. Snapshot references for 50 states and DC; not a guarantee of USPS completeness, current validity or delivery.

    ZIP codes by city

    Find US ZIP codes by city or state, distinguish duplicate city names, inspect county and map references, and export all matches.

    A traceable reference snapshot

    This snapshot contains 40977 records and 29540 state/city pairs across 50 states and DC, excluding territories and military mail. GeoNames provides the reference under CC BY 4.0; it is not a complete USPS register or delivery verification.

    GeoNames ↗

    Preserve leading zeros and place relationships

    ZIP codes remain strings. ZIP+4 searches use the first five digits, not the delivery-unit extension. Distinguish cities by their state or browse an entire state. Import the CSV zip column as text in spreadsheets; JSON preserves strings directly.

    Leading zeros in CSV →

    Map and synthetic-address limits

    The map shows approximate GeoNames place coordinates, not a building or ZIP boundary. The source supplies no timezone, so none is inferred. Generate a test address to combine the selected city/state/ZIP reference with a synthetic street and profile from the fakeloc engine. This does not identify a resident or verify delivery.

    US address generator →

    Format versus delivery validation →

    Reproduce and share

    Random mode samples distinct ZIP codes within the selected state. If requested quantity exceeds coverage, all available records are returned. The same version, filters and seed reproduce the result. Shared links carry conditions; data loads in the browser. Exports include source and version.