Where to Find Free ZIP Code Latitude and Longitude Data
Last year I needed to plot 2,300 customer ZIP codes on a map for a territory review. I assumed this would take ten minutes: download a ZIP-to-latitude-longitude CSV, join it in Excel, done. It took the better part of a day, because I kept tripping over one fact nobody had told me: a ZIP code is not an area, so it has no center. Every coordinate file is an approximation, and the sources disagree about what they are approximating. Here is what I learned, so your ten minutes actually take ten minutes.
The catch first: what a ZIP centroid really is
ZIP codes are USPS delivery routes. They are lines on a mail carrier's walk, not polygons on a map. There is no official boundary and therefore no official center point. Every "ZIP code latitude longitude" file you find is a stand-in built one of two ways:
- ZCTA centroids. The Census Bureau draws ZIP Code Tabulation Areas, polygons that approximate ZIP service areas, and publishes an internal point (a centroid) for each one in the TIGER/Line files. These cover inhabited areas well and are the most standard reference.
- Population-weighted centroids. The geometric center of a big rural ZCTA can sit in an empty field. HUD's crosswalk files, published on data.gov, weight the center by where people actually live in the ZIP, which is what you want for distance analysis, ad targeting, or anything where humans are the point.
Pick the second one when you can. The geometric center of a sprawling rural ZIP can be miles from its actual population.
Four free sources, ranked
1. HUD USPS ZIP Code Crosswalk (data.gov). My first recommendation. The Department of Housing and Urban Development publishes quarterly crosswalk files mapping ZIP codes to counties, tracts, and CBSAs, plus a separate population-weighted centroid dataset. The centroids are the ones I use for distance math. It is an official federal source, updated quarterly, and free to download.
2. Census TIGER/Line ZCTA files. The authoritative geometry. Download the ZCTA shapefile or the gazetteer files, which include each ZCTA's internal latitude and longitude. If you need the actual polygon boundaries rather than a point, this is the source. Heavier to work with than a CSV, but definitive.
3. GeoNames US.zip. A free tab-delimited file (country code, postal code, place name, state, county, latitude, longitude) at download.geonames.org/export/zip/. The killer feature is the accuracy field: 1 means estimated, 6 means centroid. It tells you which rows to trust. Fast to import into anything.
4. Open GitHub crosswalks. Several maintained repos publish ZIP-to-lat/lng CSVs compiled from Census data. Fine for quick work, but check the update date before trusting one. I have seen forks that are five years stale still ranking in search results.
How to join it to your data
Once your codes are clean (see the Excel validation guide for the leading-zero minefield), the join is one lookup:
=XLOOKUP(A2, GeoSheet!$A:$A, GeoSheet!$F:$F) /* latitude */
Two formatting gotchas. First, keep ZIPs as text on both sides or the join fails silently, the classic =12345="12345" trap. Second, mind the leading zeros: 00601 stored as 601 will never match a proper 5-digit key.
What you can and cannot do with the coordinates
Good uses: plotting points on a map, "find ZIPs within 25 miles" radius searches, rough shipping-zone math, and joining to county or metro tables for demographic analysis (pair with the ZIP-to-county crosswalk).
Bad uses: address-level geocoding, precise delivery routing, or legal boundary determinations. A centroid can be miles from a real address, and computing haversine distance between centroids gives you an approximation, not a drive time. Treat the numbers as what they are: the center of an area your ZIP code roughly overlaps.
That distinction is the whole game. A free ZIP code latitude longitude CSV is genuinely useful, as long as you remember you downloaded the center of an approximation.
Download the starter database and pair it with a centroid file for instant mapping. No signup.
Download the free ZIP CSV
FAQs
Where can I download a free ZIP code to latitude longitude CSV?
The HUD USPS ZIP Code Crosswalk on data.gov offers population-weighted ZIP centroids, the Census TIGER/Line ZCTA files carry each tabulation area's internal point, and GeoNames publishes a free US.zip file with lat/lng and an accuracy field. All are free downloads.
What is the difference between a ZIP code centroid and a ZCTA centroid?
ZIP codes are mail routes with no true center. ZCTAs are Census-drawn areas approximating ZIP service areas, and their centroid is geometric. HUD's version weights the center by population, which is better for distance and demographic analysis.
How accurate are free ZIP code coordinates?
Good enough for mapping, radius searches, and rough distance math; not good enough for address-level geocoding. A centroid can sit miles from a real address in a large rural ZIP. GeoNames marks per-row accuracy from 1 (estimated) to 6 (centroid).
Can I calculate distance between two ZIP codes with coordinates?
Yes, using the haversine formula on the lat/lng pairs for great-circle miles. Remember it is centroid-to-centroid distance, an approximation, not a routing or drive-time distance.
One practical data guide a week. Get it by email.