Skip to content

Convert GeoJSON to KML

One placemark per feature, properties in the balloon, ready for Google Earth. Free, and the file never leaves your browser.

or drop GeoJSON here

How the conversion works

  1. 1

    Choose a .geojson or .json file, drop it here, or paste the GeoJSON text. A FeatureCollection, a single Feature or a bare geometry all work.

  2. 2

    Each Feature becomes a Placemark. A property called name, title or label becomes the placemark name, description becomes the description, everything else becomes an ExtendedData field. Multi geometries become a MultiGeometry.

  3. 3

    Download the .kml and open it in Google Earth Pro, Google Earth on the web, or QGIS.

How each part is mapped

The property names are matched after lowercasing, so Name, NAME and name all become the placemark name.

GeoJSONKML
Point, LineString, PolygonPoint, LineString, Polygon with outerBoundaryIs and one innerBoundaryIs per hole.
MultiPoint, MultiLineString, MultiPolygon, GeometryCollectionA MultiGeometry holding the parts.
properties.name, title, label, idThe Placemark name. Features without one are named by their position in the file.
properties.description, desc, notes, commentThe Placemark description.
Every other propertyAn ExtendedData Data element, which Google Earth shows in the balloon and QGIS as an attribute.
Third coordinateKept as the KML altitude.

What it does not do

  • No styles. The placemarks take Google Earth's default pin and line; set colours there or in QGIS.
  • A feature with a null geometry has nothing to place, so it is counted and skipped.
  • Coordinates are read as WGS 84 longitude and latitude, as RFC 7946 requires. A file in Web Mercator metres, which some tools still write, will land in the ocean off West Africa.
  • Nested objects and arrays in properties are written as JSON text in one field.

Questions people ask

Does my GeoJSON get uploaded?
No. The conversion runs in your browser tab; nothing is sent anywhere.
Why does Google Earth show my features in the wrong place?
The GeoJSON was probably in a projected system, Web Mercator most often. GeoJSON should be WGS 84 degrees. Reproject it in QGIS with Export, Save Features As, and set the CRS to EPSG:4326.
Can I open the result in Google My Maps?
Yes. Import the .kml as a layer. My Maps caps a layer at 2,000 features and 5 MB, so split a large file first.
Where do my properties go?
Into ExtendedData. Click a placemark in Google Earth and they appear in the balloon. In QGIS they are the attribute table.
Which property becomes the label?
The first of name, title, label or id found, in that order, case ignored. Rename a column to name if the wrong one is picked.

Next, open it in QGIS

Every one of these files loads in QGIS in one dialog. Once the points or polygons sit on your imagery, the two TerraLab plugins take over: AI Segmentation detects the objects the file is missing, AI Edit renders a project on the map.