Where can I get a TopoJSON file with 3 digit zip codes (zip3) shapes

I have searched for days and I just can find 5 digit zip codes shapes.

  • or you could dissolve your 5-digit ZIP code polygons by the first 3 numbers.
    – Maksim
    Commented Oct 6, 2014 at 17:16
  • how can I do that?
    – earlyriser
    Commented Oct 6, 2014 at 17:54
  • what GIS software do you have at your disposal?
    – Maksim
    Commented Oct 6, 2014 at 17:57
  • None. I'm just trying to make a d3 colored map with some data. I'm more a front end code guy than a GIS guy.
    – earlyriser
    Commented Oct 6, 2014 at 18:07

2 Answers 2


Try this link: https://www.baruch.cuny.edu/confluence/display/geoportal/ESRI+USA+Data

There is a link to ZIP3 Shapefiles.

As for how to convert to topojson, try Mike Bostock's tools: https://github.com/mbostock/topojson

  • Thanks I downloaded the zip file: it has a shp, dbf & shx files inside. Still trying to convert them to a topojsoon one.
    – earlyriser
    Commented Oct 6, 2014 at 18:09
  • 2
    are you using Mike Bostock's tools? I added a link above... Commented Oct 6, 2014 at 18:23
  • 5
    I was using that for mixing some csv data to the topojson I had about US States. Your comment made me check the docs and yes: there's a converter from shapefile to topojson. So, for future reference here are the steps: 1.Download the zip3 file here vdstech.com/usa-data.aspx (It's a zip containing .shp .dbx & .shx files) 2.Install topojson in the command line github.com/mbostock/topojson 3. Covert the file and remember to add the data in the .dbx using "-p" topojson -o output.json -p -- zip3.shp
    – earlyriser
    Commented Oct 6, 2014 at 18:50
  • @earlyriser good stuff! Commented Oct 6, 2014 at 19:05
  • Anyone know if there's another source for this data? The website appears to no longer exist. If you happen to have it that would be great if you could post it in another link, thanks!
    – clhenrick
    Commented Jul 17, 2018 at 0:45

Download the shapefiles for zip3 from here: Github Repo for zip3 shapefiles

To convert to geojson/topojson refer: Convert shapefiles to geojson/topojson

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.