Skip to content
GaleriGIS

GeoJSON to KML converter

Turn a GeoJSON file into a KML or KMZ that opens in Google Earth. The file is read in your browser and is not uploaded to our server.

  • Points, lines, polygons and multi-part shapes
  • Properties become the details of each placemark
  • Output as KML or compressed KMZ
  • 3 free files, then unlimited with GaleriGIS Toolbox
Input: GeoJSON

Drop a .geojson or .json file

or click to choose a file, up to 3 MB

Output format Output

How to convert GeoJSON to KML

  1. Choose KML or KMZ as the output.
  2. Drop the .geojson or .json file into the box above.
  3. The file downloads with the same name. Open it in Google Earth with File, Open, or drag it onto the globe.

What ends up in the KML

In the GeoJSONIn the KML
Point, LineString, PolygonOne placemark each
MultiPoint, MultiLineString, MultiPolygon, GeometryCollectionOne placemark holding all its parts
A property called nameThe placemark name shown in the Places panel
A property called descriptionThe balloon text
All propertiesExtended data, visible in the placemark details
A third coordinate valueKept as altitude
Features with no geometryLeft out

A property that holds a list or a nested object is written as its JSON text, because KML extended data stores plain text only.

Colours are not carried over. GeoJSON has no standard for styling, so the placemarks get the default look of the program that opens the KML. In Google Earth Pro you can restyle a whole folder at once: right-click it, choose Properties, then Style, Color.

The file must use latitude and longitude

KML stores positions as longitude and latitude in degrees on WGS 84. The GeoJSON standard uses the same, so most files convert as they are. Some programs write GeoJSON in a projected system such as UTM or State Plane, with coordinates in meters or feet. The converter stops when it finds values outside the range of degrees and tells you. Reproject the layer to WGS 84 (EPSG:4326) in the program that made it and export again. In QGIS: right-click the layer, Export, Save Features As, set the CRS to EPSG:4326.

Common problems

"This is not a GeoJSON file"

The file is JSON but has no FeatureCollection, Feature or geometry at the top level. Files such as TopoJSON, Esri JSON or an API response that wraps the data in another object need to be exported as GeoJSON first.

"The file is not valid JSON"

The file was cut short or edited by hand and a bracket or comma is missing. Export it again, or open it in a text editor that checks JSON.

The shapes appear in the wrong place

Latitude and longitude are probably swapped in the source. GeoJSON puts longitude first: [-74.0445, 40.6892].

The file is too large

The free tool handles files up to 3 MB. For larger files or many files at once, use GaleriGIS Toolbox.

GaleriGIS Toolbox

$15 per month

  • No conversion limit on every GaleriGIS online converter
  • Several files at once, and larger files
  • DWG and DXF in any UTM zone or EPSG code, KML/KMZ, Shapefile, GeoJSON, Excel and coordinates
  • Files stay in your browser. Billed monthly, cancel any time

Payments are processed by Creem, our merchant of record. See our refund policy and terms.

Frequently asked questions

Is my file uploaded?

No. The GeoJSON is read and the KML is written inside your browser. Only the converter code is downloaded from our server.

KML or KMZ?

Both hold the same data. KMZ is the KML compressed into a ZIP archive, so it is smaller to send. Pick KML when a program or a form accepts .kml only, or when you want to read the file in a text editor.

How many files are free?

Three. After the third file the free quota fills up again over the next one to three days. GaleriGIS Toolbox has no limit.

Can I go the other way?

Yes, with the KML to GeoJSON converter.

I need a Shapefile instead

Use the GeoJSON to SHP converter.

More GaleriGIS tools