Convert KML to GeoJSON
Convert a KML file (e.g. from Google Earth) to GeoJSON, in your browser.
Related tools
How it works
- 1
Paste your KML
Exported from Google Earth or Google My Maps.
- 2
Copy the GeoJSON
Ready to drop into Leaflet, Mapbox or MapLibre.
FAQ
- Does this keep my KML styling (icons, colors, line width)?
- No - only geometry and placemark properties (name, description, ExtendedData) carry over, not KML style definitions.
- Does this handle nested KML folders?
- Yes - every Placemark is read regardless of which Folder/Document nests it.
