KML to GeoJSON Converter

Convert your KML files to GeoJSON format instantly — free, private, and entirely in your browser. No upload to any server required.

Drag & drop your .kml file here

or click to browse

or paste KML text

Frequently Asked Questions

What is KML?

KML (Keyhole Markup Language) is an XML-based format used to display geographic data in applications like Google Earth and Google Maps. It supports points, lines, polygons, images, and 3D models with rich styling capabilities.

What is GeoJSON?

GeoJSON is a lightweight, JSON-based format for encoding geographic data structures. It is the de facto standard for web mapping and is natively supported by libraries like Leaflet, Mapbox GL JS, OpenLayers, and D3.js.

Why convert KML to GeoJSON?

Converting KML to GeoJSON enables you to use your geographic data with modern web mapping libraries, JavaScript-based GIS tools, and REST APIs that expect JSON. GeoJSON is also easier to manipulate programmatically and integrates seamlessly with web applications.

Is my data safe?

Yes. GeoDataTools performs all conversions entirely in your browser using JavaScript. Your files never leave your device — no data is uploaded to any server. This makes it ideal for handling sensitive or proprietary geographic data.

What KML features are supported?

This converter supports KML Placemarks containing Point, LineString, Polygon, and MultiGeometry elements. Feature names, descriptions, and ExtendedData (SimpleData and Data elements) are preserved as GeoJSON properties.

What is the maximum file size?

GeoDataTools supports files up to 30MB. For larger files, consider splitting your data or using the full GeoDataTools app which uses Web Workers for optimal performance.

Need more powerful geospatial tools? Try the full app with interactive maps, filtering, and more.

Open GeoDataTools App