Convert KML to GeoJSON

MapGeoData converts KML and KMZ to GeoJSON right in your browser. Drop in your .kml or .kmz file, see it on the map, and download a clean .geojson file. It's free, needs no account, and there's nothing to install.

Convert KML to GeoJSON in your browser

MapGeoData turns a KML or KMZ file into GeoJSON without Google Earth or any desktop GIS. Drop your .kml or .kmz onto the map, confirm it looks right, and export a single .geojson file. The conversion runs locally, with no account and nothing to install.

Why convert KML to GeoJSON

KML is the format Google Earth writes, and it's verbose XML built around that one tool. GeoJSON is plain JSON that the rest of the web understands:

How to convert (3 steps)

  1. Add your KML. Drag your .kml or .kmz onto the page, or use the Convert a file button if you'd rather not add it to the map.
  2. Preview it. Your placemarks render on the map so you can confirm the shapes and data before exporting.
  3. Export as GeoJSON. Choose GeoJSON from the export options and download the file.

What happens to your placemark data

Placemarks carry their information across. A placemark's name and description become properties, and any ExtendedData fields you added come through with their own names and values. Points, paths, and polygons all convert to the matching GeoJSON geometry, including placemarks tucked inside folders and multi-geometry placemarks. Because KML is already in WGS84 lon/lat, the coordinates need no reprojection, so the shapes land exactly where the original did.

When you're ready, you can also send the same data out as CSV, a Shapefile ZIP, or FlatGeobuf from the same export menu.

Frequently asked questions

Does it handle KMZ as well as KML?

Yes. A .kmz is just a zipped .kml, and MapGeoData opens both. Drop either one in and export GeoJSON.

Do I need to install anything or sign up?

No. The conversion runs in your browser, so there's nothing to install and no account to create. MapGeoData sets no tracking cookies and never sells or shares your data.

Does it keep my placemark data?

Yes. A placemark's name and description, along with any ExtendedData fields, become properties on the matching GeoJSON feature.

What about points, lines, and polygons?

All of them convert. Placemark points, paths (lines), and polygons come across as the matching GeoJSON geometry, including features grouped in folders or multi-geometries.

What happens to the coordinate system?

Nothing needs to change. KML is already in WGS84 lon/lat, which is exactly what GeoJSON expects, so the coordinates carry straight over.

Is there a file-size limit?

Files up to 128MB convert in your browser. Larger files still work, using a temporary server to help process them.