Browser-native conversion pattern

Turn a zipped shapefile into GeoJSON.

Fetch a public .zip archive, decode its shapefile components in memory, inspect what came back, and save the converted JSON locally—without uploading the source to a server.

  1. 1 Fetch the zip archive
  2. 2 Decode its shapefile layers
  3. 3 Inspect and download

Try the conversion

The zip should contain a .shp file and usually matching .dbf and .prj files. Its host must allow cross-origin requests (CORS).

Ready to convert the sample archive.