GeoJSON to KML converter

Drop in a .geojson file or paste the JSON. You get KML that opens in Google Earth, and nothing is uploaded.

Drop a GeoJSON file anywhere on this panel, or paste its contents.

KML

Your KML appears here, ready to copy or open in Google Earth.

How to convert GeoJSON to KML

  1. 1

    Add the GeoJSON

    Drop the .geojson or .json file onto the panel, choose it from your computer, or paste the text.

  2. 2

    Check the result

    The KML appears beside it with a count of features and the polygon area in hectares.

  3. 3

    Download and open

    Save the .kml file and open it in Google Earth, or copy the text.

What the converter writes

GeoJSON is the working format of web maps and spatial APIs. KML is what Google Earth opens, and it is still the easiest way to hand a boundary to someone who does not use GIS. Both hold longitude and latitude in degrees, so the shapes land in the same place.

A FeatureCollection, a single Feature or a bare geometry all work. Each feature becomes a Placemark inside one Document. Polygon holes become inner boundaries, and altitude is kept when the GeoJSON has a third coordinate.

The KML has no styling, so Google Earth draws it with its defaults. Change the colour and line width there once the file is open.

Going the other way? Use the KML to GeoJSON converter. For KMZ, Shapefile or GeoPackage output, export from the free FloraScope workspace.

FAQ

GeoJSON to KML, in detail