KML to GeoJSON Converter: what you need to know
You have a KML and you need a GeoJSON, perhaps for web maps. Converting KML to GeoJSON sounds like a one-click job, and here it is. The catch is that many converters drop properties, swap latitude and longitude, or need a GIS install. This one gives you map data moved between formats with geometry and properties intact.
Searching for KMZ to GeoJSON lands you here too. The steps are short: drop your KML into the box above, check the result, and download a GeoJSON when it looks right.
KML and GeoJSON: what changes
- KML: Google Earth’s XML format for places, paths and shapes. Verbose, and styling details vary between programs.
- GeoJSON: Map features (points, lines, polygons) and their properties in plain JSON. Readable, web-native and the default format of Leaflet, Mapbox and most map libraries.
How the KML to GeoJSON converter works
A KML is read in your browser with its geometry and properties, and drawn on a map so you can check it landed in the right place.
It is written as a GeoJSON, keeping the attributes each feature carries.
What the GeoJSON is used for
- Web maps
- Sharing boundaries and routes
- Data journalism
What makes this KML to GeoJSON converter different
- See it on a map. Check the data before you download.
- Properties kept. Names and attributes travel with the shapes.
- Nothing uploaded. Location data stays private.
Tips for the best GeoJSON
- If points appear in the wrong country, the source may have latitude and longitude the other way round.
- Shapefiles need their .shp.dbf and .prj together; zip them up before uploading.
On the blog: How to Convert KML to GeoJSON Free, Step by Step