GeoMaps logoGeoMaps
Free converter

KML to GeoJSON Converter

Convert KML (.kml) files to GeoJSON (.geojson) right in your browser — free, instant and private. Drop a file below and download the result in seconds. Nothing is uploaded to a server, so your data never leaves your device.

KMLGeoJSON

Drag & drop your .kml file

or click to browse

100% private — converted in your browser. Files are never uploaded.

How to convert KML to GeoJSON

  1. 1

    Add your KML file

    Drag and drop your .kml file onto the box above, or click to browse — you can also paste the raw text directly.

  2. 2

    Convert in your browser

    GeoMaps reads the KML and rewrites it as GeoJSON locally, on your device. The conversion is instant and your file is never sent anywhere.

  3. 3

    Download your GeoJSON

    Click download to save the converted .geojson file, or copy the output text. That's it — no account, no watermark, no limits.

KML (Keyhole Markup Language) is an OGC standard XML format created for Google Earth and used widely across Google Maps, mobile mapping apps and GIS software. It stores placemarks, paths, polygons, styling and folder structure, which makes it ideal for sharing annotated maps with non-technical audiences. A KML file is plain text; when zipped with its assets it becomes a KMZ.

Need the other direction instead? GeoJSON is the open standard for encoding geographic data in JSON. GeoJSON is an open standard (RFC 7946) for representing geographic features — points, lines and polygons — together with their attributes as plain JSON. It's the lingua franca of modern web mapping: readable by virtually every GIS tool, library (Leaflet, Mapbox GL, OpenLayers, deck.gl) and programming language out of the box. Its simplicity and human-readability make it the natural hub format to convert to and from.

What is KML?

.kml

KML (Keyhole Markup Language) is an OGC standard XML format created for Google Earth and used widely across Google Maps, mobile mapping apps and GIS software. It stores placemarks, paths, polygons, styling and folder structure, which makes it ideal for sharing annotated maps with non-technical audiences. A KML file is plain text; when zipped with its assets it becomes a KMZ.

What is GeoJSON?

.geojson

GeoJSON is an open standard (RFC 7946) for representing geographic features — points, lines and polygons — together with their attributes as plain JSON. It's the lingua franca of modern web mapping: readable by virtually every GIS tool, library (Leaflet, Mapbox GL, OpenLayers, deck.gl) and programming language out of the box. Its simplicity and human-readability make it the natural hub format to convert to and from.

KML to GeoJSON — FAQ

How do I convert KML to GeoJSON?
Upload your .kml file using the converter above (drag & drop or click to browse). GeoMaps converts it to GeoJSON instantly in your browser and gives you a .geojson file to download. No software to install and no signup required.
Is the KML to GeoJSON converter free?
Yes — it's completely free with no usage limits, watermarks or account needed. We offer it as a free tool from GeoMaps, the platform for turning your data into interactive maps.
Is my data private? Are my files uploaded to a server?
No. The conversion runs entirely in your web browser using JavaScript — your file is never uploaded to any server. Because nothing leaves your device, it's safe for sensitive or confidential data and works even offline once the page has loaded.
Can I convert GeoJSON back to KML?
Yes. Use our GeoJSON to KML converter for the reverse conversion — every format on GeoMaps converts both ways.
How large a file can I convert?
Because conversion happens in your browser, the limit is your device's memory rather than a server quota — files up to tens of megabytes convert comfortably on a typical laptop. Very large datasets may be slower depending on your machine.

Need to map, not just convert?

Upload KML or GeoJSON straight into GeoMaps to plot, style, route and share it. Free for up to 1,000 locations.

Put your first map together in 10 minutes.

Free forever for 1,000 locations. No credit card required.