How to Convert GeoJSON to KML for Google Earth Free
To convert GeoJSON to KML for Google Earth, paste your GeoJSON or drop a .geojson file into a browser-based converter, click Convert, and download a ready-to-open .kml file. It handles the full GeoJSON geometry set and carries feature names and descriptions into KML placemarks, all without uploading your data anywhere.
GeoJSON is the language of web maps, but Google Earth, Google My Maps, and many desktop viewers speak KML. Bridging the two by hand means rewriting nested geometry and boundary rings, which is error-prone. A converter does it reliably in a second or two.
Why convert GeoJSON to KML?
GIS analysts export web-map data for Google Earth presentations, developers debug API responses by viewing them in 3D, and drone or field teams receive GeoJSON but need KML for their existing tools. The converter supports Point, LineString, Polygon with holes, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection, plus Feature and FeatureCollection wrappers, so nearly any GeoJSON you meet will convert cleanly.
How to convert GeoJSON to KML in your browser
- Paste your GeoJSON into the input box, or drop a .geojson or .json file onto the upload area.
- Click Convert to KML β any parse errors are reported with a clear message so you can fix the source.
- Review the generated KML in the output box to confirm it looks right.
- Click Download .kml to save the file, or copy the markup directly.
What carries over and what does not
KML and GeoJSON model data differently, so it helps to know exactly what survives the trip:
| GeoJSON element | KML result |
|---|---|
| Point / LineString / Polygon | Placemark with matching geometry |
| Polygon inner rings (holes) | innerBoundaryIs rings |
| "name" or "title" property | Placemark name |
| "description" property | Placemark description balloon |
| Other arbitrary properties | Omitted (KML has no equivalent) |
One detail worth remembering: both formats store coordinates in longitude, latitude order, so the converter maps positions across directly, including altitude when it is present. That avoids the classic swapped-axis bug.
Key features and benefits
- Supports all seven GeoJSON geometry types plus Feature and FeatureCollection.
- Polygon holes become KML innerBoundaryIs rings.
- Feature name and description carried into placemarks.
- Paste text or upload a file β both paths work.
- Downloads a valid .kml ready for Google Earth.
- 100% client-side conversion β data never uploaded.
Try the GeoJSON to KML Converter now β it's free and runs entirely in your browser.
Frequently asked questions
How do I open the converted KML in Google Earth?
After downloading the .kml, open Google Earth and choose File β Open (or just double-click the file). Placemark names and descriptions taken from your feature properties will appear in the Places panel.
Does KML use the same coordinate order as GeoJSON?
Yes β both use longitude, latitude order, unlike the lat,lon convention of casual writing. GeoJSON positions are [lon, lat, alt] arrays and KML coordinates are lon,lat,alt strings, and the tool maps them correctly, altitude included.
Are all my GeoJSON properties preserved?
Only the two KML understands: a "name" or "title" property becomes the placemark name and "description" becomes its info balloon. Other properties are dropped because KML has no general-purpose attribute store.
Can it convert polygons with holes?
Yes. The first ring of each polygon becomes the outerBoundaryIs and every additional ring becomes an innerBoundaryIs, so lakes, courtyards, and exclusion zones render correctly in Google Earth.
Is there a file size limit?
There is no hard limit because everything runs in your browser β memory is the only constraint. Files with tens of thousands of features usually convert in a second or two, though very large national datasets may run slowly, so consider splitting them.
Related free tools
- KML to GeoJSON Converter β convert in the opposite direction.
- GPX to KML Converter β turn GPS tracks into Google Earth files.
- JSON Formatter β tidy and indent your GeoJSON.
- KML Polygon Generator β draw polygons for Google Earth.
Built by ByteVancer
ByteTools is a free product of ByteVancer, a software and web development studio that builds web apps, SaaS platforms, and custom software for businesses. If you need custom GIS pipelines or map-driven products, explore ByteVancer's services or reach out about your next project.
Recommended reading
GeoJSON to KML: Real Use Cases and Workflows
Who converts GeoJSON to KML and why β GIS presentations, API debugging, drone surveys and field mapping, with concrete real-world workflows.
GeoJSON to KML: Best Practices and Pitfalls
Expert tips for clean GeoJSON-to-KML conversion β coordinate order, property mapping, polygon holes, and the mistakes that break files in Google Earth.
XOR Cipher Use Cases: CTFs, Learning, and Puzzles
Real use cases for the XOR cipher, from CTF challenges and teaching bitwise logic to lightweight obfuscation, with concrete worked examples.
XOR Cipher Tips: Keys, Security, and Common Mistakes
Pro tips and common mistakes for the repeating-key XOR cipher: key length, reuse pitfalls, format choices, and when to switch to real encryption.