Convert KML to GeoJSON

Convert a KML file (e.g. from Google Earth) to GeoJSON, in your browser.

Output (GeoJSON)

KML/GPX parsing only runs in the browser.

Runs entirely in your browser - nothing is sent to a server.

Related tools

How it works

  1. 1

    Paste your KML

    Exported from Google Earth or Google My Maps.

  2. 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.

Tool4U.net — every tool runs in your browser. No file ever leaves your device unless the tool says so.

© 2026 Tool4U.net

14b5eb17