Processed locally — your file never leaves your device
KML to GeoJSON Converter
Convert a KML or KMZ file to GeoJSON entirely in your browser — nothing is uploaded.
Drop a GeoJSON, TopoJSON, KML, KMZ, GPX, zipped Shapefile or CSV file hereor click to choose a file from your deviceNothing is uploaded — the file is detected and processed entirely on your device.
How it works
- Select or drop a .kml file.
- Your browser converts it to GeoJSON locally, using its own built-in XML parser.
- Download the resulting .geojson file.
Frequently asked questions
- Is my KML file uploaded anywhere?
- No. Parsing and conversion both happen locally in your browser, using the browser's own XML parser.
- Is it safe to convert a KML file from an untrusted source?
- Yes. The browser's XML parser doesn't fetch external resources or resolve external entities, so this can't be used to read files from your device or make network requests (an XXE attack), even with a maliciously crafted file.
- Can I convert a KMZ file too?
- Yes. A KMZ is simply a zipped KML — the archive is unpacked in your browser and the KML inside is converted the same way. Images and icons packaged alongside it are ignored, since they have no GeoJSON equivalent.
- What KML elements are supported?
- Placemarks with Point, LineString, Polygon and MultiGeometry, including their names and extended data, which become GeoJSON feature properties.
- What about ground overlays or styles?
- Ground overlays and Placemark styling (icons, colors) don't have a direct GeoJSON equivalent and aren't carried over — only geometry and feature data are converted.