Developer

Runs in your browser. No file uploads for processing.

KML to GeoJSON Converter (No Upload)

Convert local KML placemarks into a GeoJSON FeatureCollection. Preserve point, line and polygon geometry with holes without uploading locations.

Loading tool...

How to convert KML placemarks to GeoJSON

  1. Open or paste KML 2.2

    Choose a UTF-8 .kml file, paste its XML, or try the built-in example. No map service or account is required.

  2. Check the placemarks

    The example has three features: a trail gate point, a park polygon with one hole, and a grouped point and approach line. Its trail gate starts as −61.5,10.5,8 and exports as [−61.5, 10.5].

  3. Download the 2D FeatureCollection

    Keep names and IDs or leave them out. The file retains the coordinates, and grouped geometries stay together in a GeometryCollection.

Use cases

  • Move Google Earth pins and boundaries into a 2D GIS or a web map.
  • Convert a private dataset without sharing file contents with a converter or map service.

Limits and privacy

  • UTF-8 KML 2.2 only: up to 1 MiB, 500 placemarks and 20,000 coordinate tuples. No KMZ archives, models, overlays, remote links, animated tracks, or edges spanning 180 degrees of longitude or more.
  • Outputs 2D longitude and latitude. Altitude, styles, descriptions, folders, and other KML metadata are intentionally left out. Ring winding and closure are checked, but this is not a full topology validator.

The tool processes inputs in your browser. Account features and usage analytics are separate.

Frequently asked questions

Can I use this for a GPX recording?

No. Use GPX Track Analyzer for GPX distance and elevation. This converter reads KML placemarks and preserves their geometry in GeoJSON.

Does this work with files exported by Google Earth?

Yes, for UTF-8 KML 2.2 exported as .kml with points, lines, polygons or MultiGeometry. If you have a .kmz archive, open it locally and select its KML file; referenced resources are not imported.

Does GeoJSON preserve holes and grouped placemarks?

Yes. Polygon inner rings stay with the exterior ring, and winding is normalized. Each MultiGeometry becomes a GeometryCollection within one feature.

Does the converter upload coordinates or open KML links?

No. It runs in your browser and does not open links or load map tiles. The downloaded file still contains the coordinates; turning off names and IDs does not anonymize locations.

Why is altitude removed from the output?

KML altitude may be relative to the ground or use another mode. This tool exports only longitude and latitude rather than passing through heights that could be interpreted differently.

Related tools