Convert KML to GeoJSON

Turn Keyhole Markup Language (KML) files into GeoJSON in seconds, right in your browser. Drop one or many files; nothing is uploaded.

Loading tool…

What’s kept in the conversion

DataIn KMLKept in GeoJSON
Route shape (lat/lon)✓✓
Elevation✓✓
Timestamps~~ TrackTidy reads gx:Track timestamps but writes plain LineStrings, so times are not kept in KML output.
Waypoints / points of interest✓✓
Multiple segments / laps✓✓

How to use it

  1. Drop your KML file(s) above, or click to choose them.
  2. Check the map preview and stats.
  3. Press “Download GeoJSON”. Several files download as one ZIP.

About KML

KML is made for display: lines, placemarks and styles that look good in Google Earth, Google My Maps and GIS tools. It is a poor fit for training data, but perfect for sharing a route visually or planning on a map.

Used by: Google Earth, Google My Maps, QGIS, ArcGIS, Locus Map, many drone and survey tools.

About GeoJSON

GeoJSON is the developer’s format: easy to read in JavaScript and Python and supported by Leaflet, Mapbox, QGIS and GitHub’s map previews. Timestamps and sensor values are kept as per-point arrays in the feature properties (the widely used coordTimes convention).

Used by: Leaflet, Mapbox, MapLibre, QGIS, PostGIS, GitHub map previews, data-science notebooks.

Frequently asked questions

Is this KML to GeoJSON converter free?

Yes, completely free with no sign-up, watermark or file limit.

Will my KML file be uploaded?

No. The conversion runs in your browser using JavaScript. The file never leaves your device.

Is any data lost converting KML to GeoJSON?

No data that both formats support is lost. Route, elevation and (where present) time and sensor data are carried over.

Can I convert several KML files at once?

Yes. Drop as many KML files as you like and download them all as GeoJSON in one ZIP.