GeoJSON Converter: GeoJSON to KML, Shapefile, CSV, GPX and Back
Convert GeoJSON to and from KML, KMZ, shapefile, CSV, GPX, WKT and TopoJSON, with a map preview and every attribute kept. Free, in your browser, nothing uploaded.
Paste GeoJSON, KML, GPX, WKT or CSV
How it works
Add your map data
Drop a GeoJSON, TopoJSON, KML or KMZ, GPX, CSV with coordinates, WKT, or a zipped shapefile, or paste the text. It is read in your browser.
Check the map
The features are drawn on a preview with their count, geometry types, bounds and attributes, so you can see it read correctly before converting.
Download the KML
Pick the output and download. Attributes come along; anything a format cannot hold is listed rather than dropped silently.
GeoJSON file converter: every common map format, both ways
This geojson converter reads GeoJSON, TopoJSON, KML, KMZ, GPX, CSV, WKT and zipped shapefiles, and writes GeoJSON, KML, GPX, CSV, WKT, shapefile, SVG and DXF. As a geojson file converter it keeps every attribute: KML ExtendedData, shapefile .dbf fields, CSV columns.
To convert geojson, drop the file, check the map preview and the attribute table, pick the output and download. GeoJSON to KML opens in Google Earth and My Maps; KML to GeoJSON goes into Leaflet, Mapbox and QGIS; GeoJSON to shapefile and shapefile to GeoJSON move data between web maps and ArcGIS; CSV to GeoJSON turns a spreadsheet of places into points.
The preview works as a quick geojson viewer: feature count, geometry types, bounds and whether the coordinates are longitude and latitude or a projected grid.
Is it a geojson.io or ogr2ogr alternative?
For conversion, yes: it covers the everyday formats of ogr2ogr without a command line, and like geojson.io it runs in the browser. It does not reproject or edit geometry; use QGIS for that.
People also search for
- geojson to csv
- kmz to geojson
- gpx to geojson
- topojson to geojson
- wkt to geojson
- geojson to dxf
Why it matters
Attributes kept
Names, descriptions and every property travel with the features: KML ExtendedData, shapefile .dbf fields, CSV columns and GPX names.
Nothing uploaded
Survey data, client boundaries and GPS tracks stay on your computer. The conversion runs in this tab.
Coordinates untouched
Numbers are not reprojected or quietly shifted. Precision is yours to set: six decimal places is about 11 cm.
Questions
How do I convert GeoJSON to KML?
Drop the GeoJSON here, choose KML, and download. Names and descriptions become the placemark name and description; other properties become ExtendedData.
How do I convert a shapefile to GeoJSON?
Zip the .shp, .dbf and .prj together, drop the ZIP here, choose GeoJSON and download.
What is a GeoJSON file?
A GeoJSON file is JSON that describes map features: points, lines and polygons with their properties, in longitude and latitude on WGS84 (RFC 7946). Web maps such as Leaflet, Mapbox, OpenLayers and Google Maps read it directly.
Which formats can I convert?
In: GeoJSON, TopoJSON, KML, KMZ, GPX, CSV (lat/lon columns or a WKT column), WKT and zipped shapefiles. Out: GeoJSON, KML, KMZ, GPX, CSV, WKT, shapefile (ZIP), SVG and DXF.
Why does my shapefile need to be zipped?
A shapefile is several files: .shp holds the shapes, .dbf the attributes and .prj the coordinate system. Zip them together and drop the ZIP so the attributes and projection come too.
Does it reproject coordinates?
No. GeoJSON, KML and GPX all use longitude and latitude, so they convert exactly. A shapefile in UTM or a national grid keeps its numbers, and the page tells you so; reproject in QGIS or ogr2ogr if you need WGS84.
Can I convert several files at once?
Yes. Pick or drop several files together: they are merged into one output, and in KML each file gets its own folder. Tick "One file per upload" to get each converted separately in a ZIP instead.
Why is my GeoJSON in the wrong place on the map?
Usually longitude and latitude are swapped (GeoJSON is longitude first), or the data is in a projected system such as UTM. The preview and the bounds show which.