My Location Tool

KML to GeoJSON Converter

Convert Google Earth .kml placemarks and paths into lightweight RFC 7946 GeoJSON directly inside your browser.

100% Browser-Side

KML to GeoJSON Converter

Convert Google Earth KML files into clean GeoJSON with instant map preview and zero server uploads.

Upload a file, paste GPX/KML/GeoJSON text, or click Load Sample Track.

Map is loading…
Drag, zoom or tap the map to choose a point.© Esri, HERE, Garmin, OpenStreetMap contributors

Move Google Earth KML layers into GeoJSON web maps

Many councils, surveyors and travel planners share map overlays as Google Earth .kml files. If you need those pins or routes inside a web application, QGIS project or database, drop the KML file above to preview it on our street or satellite map and export valid RFC 7946 GeoJSON immediately.

How KML tags translate into GeoJSON

  • KML <Point>: Converted into a GeoJSON Feature with Point geometry and properties.name copied from the Placemark title.
  • KML <LineString> / multi-point paths: Converted into LineString features keeping [longitude, latitude] and optional 3D elevation values.
  • Whitespace & tuple cleanup: Handles line breaks, tabs and mixed 2D/3D coordinate lists cleanly without manual editing.

Private local processing

Everything runs inside your browser’s built-in XML parser and JSON serializer — zero server uploads, no file size sign-up walls, and instant one-click Copy or Download.

Tip for KMZ archives

If your export ends in .kmz, unzip it first to extract the internal doc.kml file, then drop that file into the converter above.

Separate geographic features from their visual presentation

A KML file may define colorful line styles, custom icons, folders and camera views alongside the actual coordinates. GeoJSON primarily describes geometry and properties; a receiving web map usually defines its own appearance. Check that placemarks become the intended features, and rebuild any necessary visual styling in the destination application.

KMZ archives are not ordinary KML text. Extract an actual KML file first if the converter expects KML. Preserve the original whenever overlays or embedded imagery carry meaning beyond the geometry.