Geospatial Format Converter

Convert between GeoJSON, TopoJSON, KML and Shapefile online, for free

Paste your data or upload a zipped Shapefile and convert it to GeoJSON, TopoJSON, KML or Shapefile. Feature properties are kept and GeoJSON results are previewed on a map.

Free GeoJSON, TopoJSON, KML and Shapefile converter

TopoJSON stores geographic data efficiently by encoding shared boundaries once, but GeoJSON, KML and Shapefiles are understood by far more mapping libraries, applications and GIS tools. This converter translates between GeoJSON, TopoJSON, KML and Shapefile and keeps the properties of your data.

The converted GeoJSON works with Leaflet and any other tool that reads GeoJSON, whether you are building a web map, inspecting geographic features or feeding data to an application that expects GeoJSON. Afterwards you can check the result with the GeoJSON validator or find its extent with the bounding box calculator.

Frequently asked questions

What is the difference between TopoJSON and GeoJSON?

GeoJSON stores each shape with its own coordinates. TopoJSON encodes shared boundaries once as arcs, which makes files smaller, but GeoJSON is supported by far more tools and libraries.

How do I convert between formats?

Choose the source and target format, paste your data (or upload a zipped Shapefile) and press Convert. The result appears below and can be downloaded.

Are properties kept when converting?

Yes. The properties attached to your TopoJSON objects are retained on the resulting GeoJSON features.

Can I use the result with Leaflet or other mapping libraries?

Yes. The output is standard GeoJSON, which Leaflet, Mapbox, OpenLayers and most GIS software can read directly.

Can I convert formats automatically?

Yes. GeoJSON, TopoJSON, KML and Shapefile conversion is available through our API.

More free geospatial tools

Need this data in your own application?

Use the Geospatial Toolbox API

Convert geospatial formats automatically: the conversion endpoint of our geospatial API converts between GeoJSON, TopoJSON, KML and Shapefile from your own application, alongside coordinate conversion, geocoding and GeoJSON validation.

Explore the geospatial API Talk to us