KML to GeoJSON Converter
Keyhole Markup Language (KML) is the format used by Google Earth, Google My Maps, ArcGIS, and most desktop GIS tools. Geographic JSON (GeoJSON) is what developers and GIS analysts building maps or running spatial queries need. This free converter takes a KML file and produces a ready-to-use .geojson on the spot — everything runs in your browser, so your data never touches our server. Drop a file or paste text on the left, click convert, copy or download the result on the right.
Frequently asked questions
How do I convert KML to GeoJSON?
Open this page, paste your KML text or drop your .kml file into the input panel, keep the dropdown set to KML on the left and GeoJSON on the right, then click Convert. The .geojson output appears on the right; copy it to your clipboard or download the file.
Is this KML-to-GeoJSON converter free?
Yes, completely free. No signup, no watermark, no upload limits. The conversion runs entirely in your browser using open-source libraries.
Does my file get uploaded anywhere?
No. The converter is fully client-side — your KML file is parsed by JavaScript running in your own browser tab and never leaves your computer. We have no server-side processing for these tools.
What's the difference between KML and GeoJSON?
KML is an XML-based format from Google. It supports rich styling, folders, and 3D extrusions, but it's tied to Google Earth conventions. GeoJSON is a lightweight JSON-based standard. It's what modern web maps speak natively, with first-class support in Mapbox, Leaflet, and PostGIS.
Can I convert GeoJSON back to KML?
Yes — switch the dropdowns or open our /tools/geojson-to-kml/ page. We support every directional pair between KML, GPX, GeoJSON, CSV, and Excel.
Need to export from Google Maps?
ExportMyMap pulls your starred and saved places directly from Google Maps and gives you the same five formats this converter speaks — plus a shareable link and a printable PDF.
Try ExportMyMap