I'm looking for an open data set that contains polygons with the shape of each ZIP code in the US. GeoJSON format would be ideal.

I've done a bunch of searching, and I've been able to find shape data for counties, but not for ZIP codes. Searching for it with Google has trouble because it finds a lot of .zip files, rather than ZIP codes.

  • www.boundaries-io.com , has this for a monthly fee.
    – Jeryl Cook
    Commented Jun 7, 2017 at 18:30

2 Answers 2


The Census provides the dataset as a shapefile. I loaded it into my CartoDB account so you can download it as a GeoJSON using the following API call:


The download as GeoJSON comes to around 135 MB.

You can view a map of the data here.

  • 3
    Note that the Census Zip Code Tabulation Areas are not the same as USPS Zip Codes.
    – DavidF
    Commented Oct 28, 2015 at 18:40
  • Your data set has duplicates and missing ZIPs (61637) in it, FYI.
    – Sam Barnum
    Commented Apr 28, 2020 at 17:37

The GIS site also has a useful answer

One thing to keep in mind is the fact that Zip Codes are not polygons, and therefore do not have boundaries.

That answer and the others has resources for various GIS softwares:

for example, ArcGIS

By the way, search "zip codes" in quotation marks to make sure the results aren't exclusively zip files. Here's my query.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.