Data · US counties
US county database with FIPS codes
Every county with its FIPS code, centre point, population and time zone, as CSV, Excel, SQL and JSON. Free for the 3,144 counties; $49 with the territories, metro areas and every county’s ZIP codes.
Versions
Pick the version you need
All three US databases
Need ZIP codes 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.
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 2025 counties and its 2020–2024 population estimates.
| county_fips | county_full | state_id | lat | lng | population | timezone |
|---|---|---|---|---|---|---|
| 06037 | Los Angeles County | CA | 34.196398 | -118.261862 | 9,808,667 | America/Los_Angeles |
| 17031 | Cook County | IL | 41.894294 | -87.645455 | 5,182,090 | America/Chicago |
| 36061 | New York County | NY | 40.776642 | -73.970187 | 1,629,477 | America/New_York |
| 48201 | Harris County | TX | 29.857273 | -95.393037 | 4,838,303 | America/Chicago |
| 22071 | Orleans Parish | LA | 30.05342 | -89.934502 | 371,853 | America/Chicago |
| 15003 | Honolulu County | HI | 21.461365 | -158.201974 | 1,001,146 | Pacific/Honolulu |
Columns
What each version holds
In every version
| county_fips | The 5-digit FIPS code, kept as text: 01001 stays 01001, in the Excel file too |
|---|---|
| county_name, county_full | The name, Cook, and the full name, Cook County (parishes, boroughs and independent cities by their own names) |
| state_id, state_name | The two-letter state code and the state’s name |
| lat, lng | The centre point of the county, from the Census Bureau |
| population | People living there: the Census Bureau’s 2020–2024 estimate |
| timezone | The time zone’s name, such as America/Chicago |
Pro adds
| state_fips | The state’s 2-digit FIPS code |
|---|---|
| land_km2, water_km2 | Land and water area in square kilometres |
| density | People per square kilometre of land |
| utc_offset, dst | Hours from UTC in winter, and whether the clocks change in summer |
| timezone_all | Every time zone the county lies in: two for the counties a time zone line crosses |
| metro_code, metro_name, metro_type | The metro or micro area (CBSA), such as Chicago-Naperville-Elgin |
| zip_count, zip_codes | How many ZIP codes have addresses in the county, and which, from Geloky’s ZIP code database |
Complete adds
Figures from the Census Bureau’s American Community Survey, 2020–2024.
| households, persons_per_household | Occupied homes, and the average number of people in each |
|---|---|
| age_median | The median age of the people living there |
| income_median, income_100k_share | Median household income, and the share of households earning $100,000 or more |
| home_value_median, rent_median | The median value of owned homes and the median rent |
| homeowners_share | The share of households that own their home |
| college_share | The share of adults with a bachelor’s degree or higher |
| unemployment_rate, poverty_share | The unemployment rate and the share of people below the poverty line |
| commute_minutes | The average time to get to work |
| Outlines (separate files) | The shape of every county, as GeoJSON and KML |
Sources
Where the data comes from
U.S. Census Bureau
Counties, their centre points, land and water area, outlines, population and the survey figures in Complete.
Geloky’s ZIP code database
The ZIP codes of each county, from the Postal Service’s crosswalk published by HUD. Updated every quarter.
National Weather Service
The time zone of every county, with daylight saving.
This product uses the HUD User Data API but is not endorsed or certified by HUD User. Some of the ZIP codes in Pro and Complete come from GeoNames (CC BY 4.0).
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
County database questions
Something else? Write to hello@geloky.com — a person answers within a day.
Free has the 3,144 counties and county equivalents of the 50 states and DC: counties, Louisiana’s parishes, Alaska’s boroughs and census areas, independent cities such as Baltimore, and Connecticut’s nine planning regions, as the Census Bureau lists them since 2022. Pro and Complete add Puerto Rico’s 78 municipios and the county equivalents of the Island Areas: 3,235 in all.
Every quarter, with the ZIP codes of each county. The Census figures change once a year, and county lines rarely. Pro and Complete bring every new release for 12 months.
No. The free files download at once. Paid ones download as soon as you have paid, and a private link to them comes by email.
Yes. The free version needs a visible link to this page; Pro and Complete need none. You may not publish or resell the files themselves.
Free: CSV and Excel. Pro and Complete: CSV, Excel, SQL for MySQL and PostgreSQL, and JSON. Complete adds the county outlines as GeoJSON and KML.
Yes, within 14 days of buying. Write to hello@geloky.com.
Need the county of each address on a list? Batch geocoding adds the county and its FIPS code to every US address in a spreadsheet, with its coordinates. With the free plan, the first 100 rows every day are free.
Your first 100 rows are free. Every day.
Free plan, no credit card · See your results on a map before you pay