GeoJSON to KML
Convert a GeoJSON file to KML for Google Earth, Google My Maps, or any KML-compatible viewer.
About GeoJSON to KML
GeoJSON to KML converts a GeoJSON file into a KML document you can open in Google Earth, import into Google My Maps, or load into any KML-aware viewer. Reach for it when your data lives in the GeoJSON your web stack speaks but the person you're handing it to wants something they can drop into Google Earth. The conversion runs entirely in your browser, so your coordinates and place data never leave your machine.
- Category
- convert
- Input
- Accepts: application/geo+json, application/json or text/plain.
- Output
- Outputs: application/vnd.google-earth.kml+xml.
- Cost
- Free, runs in your browser
- Memory
- low
Common uses
- Take a GeoJSON FeatureCollection exported from a mapping API and hand it to a colleague as a KML they can open in Google Earth Pro
- Import field-survey points into Google My Maps, which accepts KML but not raw GeoJSON
- Convert a polygon boundary stored as GeoJSON into KML to overlay on satellite imagery
- Turn a list of store locations from a web app's GeoJSON output into a shareable KML pin set
- Prepare GeoJSON route data for a client whose GIS workflow is built around KML
- Preserve placemark names and descriptions when moving point data from a Leaflet project into Google Earth
Frequently asked questions
What input does it accept?
A GeoJSON file or pasted GeoJSON text (application/geo+json or application/json). It reads FeatureCollections including points, lines, and polygons.
Does my location data get uploaded?
No. The conversion happens entirely in your browser. Your GeoJSON coordinates and any attached properties are never sent to a server.
Will placemark names and descriptions survive the conversion?
Yes. Feature properties like name and description are carried into the KML so your placemarks stay labeled in Google Earth.
Can I open the output in Google My Maps?
Yes. The output is standard KML, which Google My Maps and Google Earth both import directly.
Is there a file-size limit?
There's no hard cap, but because everything runs in your browser, very large FeatureCollections are bounded by your device's available memory.
What about coordinate systems?
GeoJSON and KML both use WGS84 longitude/latitude, so coordinates pass through unchanged.
Keywords
- geojson
- kml
- geo
- convert
- google earth
- gis
- map
- placemark