US ZIP code database by Geloky — Free version
Release 2026-12-04, 33791 rows.

Columns
zip                     5-digit ZIP code, as text
lat                     latitude of the ZIP area's centre (Census internal point, moved onto land where it lies in the area's water); for a ZIP code without an area, of its main tract, or of its town where that is unknown; empty for the military ZIP codes
lng                     longitude, the same way
city                    the Postal Service's city name (for a ZIP code it no longer lists, the Census place it lies in, or the nearest one); APO, FPO or DPO for the military ZIP codes
state_id                two-letter state code (AA, AE or AP for the military ZIP codes)
state_name              state name
county_fips             5-digit FIPS code of the main county
county_name             its name
population              people living there, ACS 5-year estimate
timezone                IANA name of the official time zone (America/Detroit where the tz database has the area's own name), from the National Weather Service's county and forecast zone maps; see Notes

Notes
Time zones are the official ones: a few towns that keep a neighbouring zone's time unofficially (Phenix City, Alabama, keeps Eastern time) are in their official zone. In the dozen counties a time zone line runs through, a ZIP code takes the side its point lies on, judged from the Weather Service's maps; in Arizona only the Navajo Nation keeps daylight saving, not the Hopi Reservation inside it.
Population and survey figures are estimates for 2020-2024 (ACS 5-year); they are empty where the Census Bureau publishes none.

Sources
U.S. Census Bureau: ZIP areas, centre points, areas, population and survey figures, and the PO box ZIP codes missing from the crosswalk (ZIP Code Business Patterns 2023) (public domain).
The Postal Service's ZIP code crosswalk, published by HUD. This product uses the HUD User Data API but is not endorsed or certified by HUD User.
National Weather Service: time zones (public domain).

Licence
Creative Commons Attribution 4.0. Use it anywhere, commercial projects included, with a visible link to https://geloky.com/data/us-zip-codes. Full terms: https://geloky.com/data/license

Questions: hello@geloky.com
