Skip to content

KML to GeoJSON Converter

Convert Google Earth KML files to GeoJSON format for web mapping applications.

Input

text
loading editor…

Paste your KML content here...
or drop a file anywhere in this pane

Output

json

Converted GeoJSON will appear here...
press to convert to geojson

What Is KML?

KML (Keyhole Markup Language) is an XML-based geographic data format used by Google Earth and other geospatial applications to display geographic features. GeoJSON is a lightweight JSON-based format widely adopted by web mapping libraries like Leaflet, Mapbox, and OpenLayers.

This is used for:

  • Web Mapping Migration: Converting Google Earth KML data for use in browser-based mapping applications.
  • Geospatial Data Interoperability: Translating geographic features between KML and GeoJSON ecosystems.
  • Data Analysis Pipelines: Converting KML to GeoJSON for processing with tools like Turf.js or GDAL.

How to Use KML to GeoJSON Online

  1. Paste your KML content: Copy KML XML data including Placemarks, Polygons, LineStrings, or Points into the input editor.
  2. Convert to GeoJSON: Click the "Convert to GeoJSON" button to parse and transform geographic data.
  3. Copy or download: Save the GeoJSON output for use in web mapping libraries and geospatial tools.

Frequently Asked Questions

What KML features are supported?

The converter supports Points, LineStrings, LinearRings, Polygons, MultiGeometries, folders, and Placemarks with extended data. It maps KML styles and names to GeoJSON properties.

Is this tool safe?

Yes. All processing happens 100% client-side in your browser. Nothing is uploaded to any server.

Is this tool free?

Yes, completely free with no usage limits or registration required.

Real-World Examples

GIS professionals use KML to GeoJSON conversion when migrating from Google Earth workflows to web-based mapping applications. Urban planners convert KML zoning maps to GeoJSON for interactive visualization, and environmental scientists transform field survey KML data for spatial analysis.

Related Tools