NEW Geloky now works inside Claude, ChatGPT and Cursor. See how Geloky inside Claude & ChatGPT →

Data · US ZIP codes

US ZIP code database with latitude and longitude

US ZIP codes with their city, county, time zone and population, as CSV, Excel, SQL and JSON. Free for the 33,791 ZIP areas; $49 for 41,685 ZIP codes, PO boxes included.

Versions

Pick the version you need

Free

$0

The 33,791 ZIP areas, for any project with a link to this page.

  • Latitude and longitude
  • City, state and county
  • Population and time zone
  • CSV and Excel
Download free

Pro

$49 one-time

41,685 ZIP codes, PO box and military ones included, with more columns. No link needed.

  • Everything in Free
  • PO box, business and military ZIP codes too
  • Every county a ZIP code touches, with its share
  • UTC offset and daylight saving
  • Metro area and congressional district
  • Land area and density
  • CSV, Excel, SQL and JSON
  • Updates for 12 months

Complete

$99 one-time

Pro, plus who lives there and the outline of every ZIP area.

  • Everything in Pro
  • Income, age, home value and rent
  • Education, housing and work
  • ZIP outlines as GeoJSON and KML
  • Updates for 12 months

All three US databases

Need counties and cities too?

Get ZIP codes, counties and cities together, each in its Complete version. Each database comes with its own downloads and 12 months of updates.

$199 one-timeinstead of $297

Pay once and keep the files. Secure checkout by FastSpring: cards and PayPal. No Geloky account needed.

A look inside

Six rows from the free version

Real rows, as they come in the file: the Census Bureau’s ZIP areas and its 2020–2024 population estimates.

ziplatlngcitystate_idcounty_fipscounty_namepopulationtimezone
0060118.180555-66.749961AdjuntasPR72001Adjuntas16,669America/Puerto_Rico
1000140.750649-73.997298New YorkNY36061New York30,511America/New_York
6060141.885155-87.621512ChicagoIL17031Cook15,235America/Chicago
8020239.751526-104.997673DenverCO08031Denver18,589America/Denver
9410337.772983-122.411343San FranciscoCA06075San Francisco34,964America/Los_Angeles
9681321.316548-157.845053HonoluluHI15003Honolulu26,766Pacific/Honolulu

Columns

What each version holds

In every version

zipThe 5-digit ZIP code, kept as text: 00601 stays 00601, in the Excel file too
lat, lngThe centre point of the ZIP area, from the Census Bureau
cityThe Postal Service’s city name for the ZIP code
state_id, state_nameThe two-letter state code and the state’s name
county_fips, county_nameThe county with most of the ZIP code’s addresses, with its 5-digit FIPS code
populationPeople living there: the Census Bureau’s 2020–2024 estimate
timezoneThe time zone’s name, such as America/Chicago

Pro adds

zip_areaTRUE when the Census Bureau draws an area for the ZIP code; FALSE for PO box, business and military ZIP codes
approximateTRUE when the point is the middle of the census tract that holds most of the ZIP code’s addresses, or the centre of its town
militaryTRUE for the military’s APO, FPO and DPO ZIP codes, which have no location, county or time zone
county_fips_all, county_names_all, county_sharesEvery county the ZIP code’s addresses fall in, each with its share in percent
utc_offset, dstHours from UTC in winter, and whether the clocks change in summer
land_km2, water_km2Land and water area in square kilometres
densityPeople per square kilometre of land
metro_code, metro_name, metro_typeThe metro or micro area (CBSA), such as New York-Newark-Jersey City
districtThe congressional district, 120th Congress, such as NY-12

Complete adds

Figures from the Census Bureau’s American Community Survey, 2020–2024.

households, persons_per_householdOccupied homes, and the average number of people in each
age_medianThe median age of the people living there
income_median, income_100k_shareMedian household income, and the share of households earning $100,000 or more
home_value_median, rent_medianThe median value of owned homes and the median rent
homeowners_shareThe share of households that own their home
college_shareThe share of adults with a bachelor’s degree or higher
unemployment_rate, poverty_shareThe unemployment rate and the share of people below the poverty line
commute_minutesThe average time to get to work
Outlines (separate files)The shape of every ZIP area, as GeoJSON and KML

Sources

Where the data comes from

U.S. Census Bureau

ZIP areas, their centre points, land and water area, population, the survey figures in Complete, and a few hundred PO box ZIP codes.

The Postal Service, via HUD

Nearly every ZIP code in use, its city name, and the counties and tracts its addresses fall in. Published every quarter.

National Weather Service

The time zone of every area, with daylight saving.

This product uses the HUD User Data API but is not endorsed or certified by HUD User. Pro and Complete also hold ZIP codes from GeoNames (CC BY 4.0), the military ones among them.

Free version

Free for any project, with a link

Use it anywhere, commercial projects included, as long as a page people can see links to this one. Licence: Creative Commons Attribution 4.0.

Pro and Complete

Yours to use across your company

Use it in your company’s projects, websites and apps, with no link. Just don’t publish or resell the files themselves. Read the data licence

No account needed

How buying works

Pay on this page

The checkout opens right here: card or PayPal, through FastSpring.

Download at once

This page turns into your download page, and a private link to it comes by email.

Updates for 12 months

Each new release arrives at the same link, and we email you when it is out.

Lost your link? Email me my downloads · How to use the files

FAQ

ZIP database questions

Something else? Write to hello@geloky.com — a person answers within a day.

Almost. ZIP codes are delivery routes, so the Census Bureau draws an area around each one that has homes: the 33,791 ZIP areas in the free version. PO box and business ZIP codes have no area of their own. Pro and Complete add them, each at the middle of the tract that holds most of its addresses, or at the centre of its town where that is unknown. The military’s APO, FPO and DPO ZIP codes come too, without a location.

Have street addresses, not ZIP codes? Batch geocoding finds the coordinates of every address in a spreadsheet. With the free plan, the first 100 rows every day are free.

Geocode a file

Your first 100 rows are free. Every day.

Free plan, no credit card · See your results on a map before you pay