Shapefile to GeoJSON & KML Converter
Convert zipped Shapefiles to GeoJSON or KML, and GeoJSON or KML to Shapefile, in your browser. Reprojects to WGS 84 from the .prj. Nothing is uploaded.
How it's calculated
The conversion runs in your browser: your files are never uploaded.
- Shapefile in: upload the .zip that holds the .shp, .dbf and (ideally) .prj files. The .prj tells the converter which coordinate system the data uses, and everything is reprojected to WGS 84 (latitude/longitude), the system GeoJSON and KML expect. Without a .prj the data is assumed to be WGS 84 already.
- GeoJSON and KML in: points, lines and polygons are read with their properties (KML names and descriptions become properties).
- Shapefile out: a .zip with one shapefile per geometry type (points, lines, polygons), in WGS 84 with a .prj. Shapefiles can't hold empty geometries or geometry collections; those features are skipped and counted.
Attribute names in shapefiles are limited to 10 characters, so long property names may be shortened.
Frequently asked questions
What should I upload for a shapefile?
A .zip containing at least the .shp and .dbf files, and ideally the .prj so the coordinate system is known. Several shapefiles in one zip are merged.
Which coordinate system is the output in?
WGS 84 (EPSG:4326), the system GeoJSON and KML use. Shapefiles in a projected system, such as UTM, are reprojected using their .prj file.
Are my files uploaded?
No. Reading, reprojecting and writing all happen in your browser, so the data never leaves your device.