Convert KML to GeoJSON, Free and Private
Convert a KML file (from Google Earth or Google My Maps) into GeoJSON, in your browser — ready for Leaflet, Mapbox, or MapLibre.
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 locally.
100% In-Browser Processing
Your files are processed strictly in local device memory. Nothing is uploaded — see how, and check for yourself.
How to convert files with DuckConvert
Select Your File
Choose the file you want to convert from your device or drag and drop it into the converter.
Choose Output Format
Select your desired output format and any specific settings for your conversion.
Convert & Download
Click "Start Conversion" and wait for the local process to finish, then download your new file.
Don't take our word for it
This conversion runs entirely in your browser — nothing is uploaded. See exactly how, and check for yourself using your browser's DevTools Network tab.
Conversion Mechanics
KML is Google Earth and Google My Maps' native export format, but most modern web mapping libraries — Leaflet, Mapbox GL, MapLibre, most GIS web stacks — expect GeoJSON instead. This parses placemarks, paths, and polygons out of the KML and re-encodes their coordinates and metadata as standard GeoJSON features, ready to drop straight into a map.
Why It's Private
- Runs Entirely In Your Browser: Files are decoded and re-encoded strictly in local memory.
- No Network Requests: The converter makes no calls to any server — check your browser's DevTools Network tab to confirm.
- Nothing to Sign Up For: No account, no upload, and no server-side storage of your files.
- Runs On Your Hardware: Processing uses your own device's CPU via Web Workers, not a remote server.
Step-by-Step KML to GEOJSON Local Guide
Select File
Drop your .kml file into the box above.
Configure
Confirm GeoJSON is selected as the output format.
Convert
Click Convert — parsing happens locally in your browser.
Save Result
Download the resulting .geojson file.