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

Random US ZIP codes

Sample distinct US ZIP codes by state and seed, with city, county, source, CSV/JSON/TXT exports and matching synthetic test addresses.

No signup neededAlways free

US ZIP sampling settings

40,977 ZIP · 50 states + DC

Sample distinct ZIP codes within the selected state, up to available coverage.

Loading and verifying the postal snapshot…

Sampled US ZIP codes

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.

    Random US ZIP sampling and exports

    Sample distinct US ZIP codes by state and seed, with city, county, source, CSV/JSON/TXT exports and matching synthetic test addresses.

    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

    The selected state limits the sampling pool. ZIP codes are text identifiers: keep leading zeros when copying or importing CSV, and use JSON when a typed string is needed. Sampling does not look up a street, ZIP+4 delivery unit or postal boundary.

    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.

    Are these fake ZIP codes?

    The ZIP codes come from a GeoNames reference snapshot; they are not invented five-digit numbers. Use them as postal-format fixtures, not proof of delivery. Keep city and state with the ZIP and preserve leading zeros. Reference coverage can differ from the current USPS register.