Convert KML to GeoJSON online for free — right in your browser. No upload, no sign-up, batch conversion, coordinate systems and attributes preserved.
Efficiently convert from KML to GEOJSON format
All processing is done locally in your browser
Output standard GEOJSON format
Convert kml to geojson online for free — right in your browser. No upload, no sign-up, batch conversion, coordinate systems and attributes preserved.
KML (Keyhole Markup Language) is an XML-based geographic markup language originally developed by Keyhole and later acquired by Google, becoming an OGC standard. KML can describe points, lines, polygons, image overlays, 3D models, and other rich geographic content. It is the native format for Google Earth and Google Maps. KML files organize geographic data using tags and attributes, and support style definitions and network link functionality.
GeoJSON is a geospatial data interchange format based on JSON. It can represent Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection geometries. Defined by RFC 7946, GeoJSON has become one of the most popular data exchange formats in web GIS. GeoJSON files use WGS84 coordinates and support Feature objects with associated properties and FeatureCollections for organizing multiple features.
KML is what Google Earth and Google My Maps export, so it is where field-collected boundaries, tour routes, and hand-drawn polygons usually live. But outside the Google ecosystem almost nothing reads KML directly: web mapping libraries, PostGIS, D3 and data pipelines all expect GeoJSON. Converting KML to GeoJSON turns Google Earth drawings into first-class web map data — placemarks become points with all their custom properties, ready for Leaflet, Mapbox, or any JSON-based workflow.
Yes — the placemark name becomes a property, and the description is kept as an attribute so nothing you typed in Google Earth is lost.
This page handles plain .kml. If you have a compressed .kmz, use the KMZ to GeoJSON converter, which unpacks the archive first.
Folder hierarchy is flattened: each feature keeps its coordinates and properties, and the folder path is stored as a property you can filter on.
Upload your KML file — drag and drop it onto the page, or browse from your device. You can add several files at once for batch conversion.
The conversion runs automatically in your browser. No upload, no server — your data stays on your device the entire time.
Download the GeoJSON file. Each input produces its own output, ready to use in your GIS, web map, or archive.