Convert GeoJSON to KML, Free and Private

Turn a GeoJSON file into KML you can open in Google Earth or import into Google My Maps, entirely in your browser.

Universal File Converter: Private & Fast

Convert images, videos, audio, and documents directly in your browser. Your files never leave your device, ensuring 100% privacy and security.

Geodata Converter

Convert KML or GPX to GeoJSON, or GeoJSON back to KML or GPX, locally.

100% In-Browser Processing

Your files are processed strictly in local device memory. Nothing is uploaded. See how, and check for yourself.

How It Works

How to convert files with DuckConvert

1

Select Your File

Choose the file you want to convert from your device or drag and drop it into the converter.

2

Choose Output Format

Select your desired output format and any specific settings for your conversion.

3

Convert & Download

Click "Start Conversion" and wait for the local process to finish, then download your new file.

This conversion runs entirely in your browser, so nothing is uploaded. Check it yourself in the DevTools Network tab.

GeoJSON is what web mapping libraries and GIS tooling produce, but Google Earth and Google My Maps want KML. This rewrites your features as KML placemarks, keeping points, lines, polygons and their holes, along with whatever name and description each feature carries, so the result opens directly in Earth without a round trip through desktop GIS.

The direction that usually gets skipped

Almost every converter handles KML to GeoJSON, because that is the direction developers need when they pull data off Google's platforms and into a web map. The reverse gets far less attention, and yet it is the one non-technical people hit: someone has been sent a .geojson file and simply wants to look at it on a map they already know how to use.

Google Earth will not open GeoJSON. Neither will My Maps import it. The file is not corrupt and nothing has gone wrong, it is just the wrong dialect for that particular reader, and this converts between the two without asking you to install QGIS to do it.

What survives the trip, and what cannot

Geometry survives completely. Points become placemarks, linestrings become paths, polygons become polygons, and interior rings become proper innerBoundaryIs elements rather than being flattened away, so a field with a lake in the middle still has a hole in it. Elevation is preserved where your coordinates carry a third value.

Properties fare less well, because the two formats disagree about what a property is. KML gives a placemark one name and one description, whereas a GeoJSON feature can hold arbitrarily many attributes. The name and description are mapped across; anything else in the properties object has no obvious home in KML and is not invented one. If those extra attributes matter, keep the GeoJSON as your source of truth and treat the KML as a view of it.

Converting GEOJSON to KML, step by step

  1. Drop your .geojson file into the box above.
  2. Choose KML as the output format.
  3. Click Convert. Everything is rewritten locally in your browser.
  4. Download the .kml file and open it in Google Earth.

Frequently Asked Questions on Secure GEOJSON to KML Conversion

Can I import the result into Google My Maps?

Yes. My Maps accepts KML directly. Create or open a map, choose Import on a layer, and select the downloaded .kml file.

Do polygon holes survive the conversion?

Yes. Interior rings become KML innerBoundaryIs elements, so a polygon with a hole in it stays a polygon with a hole in it rather than being filled in.

What happens to my feature properties?

A feature's name and description are carried into the KML placemark. KML has no general-purpose attribute table, so any other properties in the GeoJSON are not represented and the GeoJSON stays the fuller record.