KML to GeoJSON Converter
Convert Keyhole Markup Language files to Geographic JSON. Free and private โ files are processed in your browser.
How to use
- Drop your KML file or click to browse
- Your file is converted automatically
- Download your GeoJSON file
When to use this converter
Convert KML to GeoJSON for web mapping and data analysis. Ideal for: building custom maps with Mapbox, Leaflet, or OpenLayers using Google Earth data, analyzing Google Maps saved places in Python or JavaScript, or integrating Google My Maps exports into GIS workflows and spatial databases.
What gets converted
Coordinates, geometry types, names, and descriptions convert cleanly to GeoJSON properties. Points become Point features, LineStrings remain LineStrings, and Polygons are preserved. KML styles are converted to GeoJSON properties. 3D features, camera views, and KML-specific elements like GroundOverlays don't have direct GeoJSON equivalents.
Frequently Asked Questions
Why convert KML to GeoJSON?
GeoJSON is the standard format for modern web mapping libraries like Mapbox, Leaflet, and OpenLayers. Converting KML to GeoJSON lets you use your Google Earth or Google Maps data in custom web applications and data analysis tools.
What KML features are preserved in GeoJSON?
Coordinates, names, descriptions, and basic geometry types (points, lines, polygons) convert cleanly. Some KML-specific features like styles, camera angles, and 3D models don't have GeoJSON equivalents and are stored as properties or omitted.
Is the conversion private?
Yes. All conversion happens in your browser using JavaScript. Your KML file is never uploaded to any server, ensuring complete privacy for your geographic data.
Can I edit the GeoJSON after conversion?
Absolutely. GeoJSON is a simple JSON format that's easy to edit in any text editor. You can also use tools like geojson.io for visual editing and validation of your converted data.
Related converters
Learn more
Go further with Takeout Tools
Extract coordinates from your Google Maps saved places. Geocode, convert, and export โ all in one place.
Go further with Takeout Tools