Convert KML to GeoJSON, Free and Private

Convert a KML file (from Google Earth or Google My Maps) into GeoJSON, in your browser — ready for Leaflet, Mapbox, or MapLibre.

Universal File Converter: Private & Fast

Convert images, videos, audio, and documents directly in your browser. Your files never leave your device, ensuring 100% privacy and security.

Geodata Converter

Convert KML or GPX to GeoJSON locally.

100% In-Browser Processing

Your files are processed strictly in local device memory. Nothing is uploaded — see how, and check for yourself.

How It Works

How to convert files with DuckConvert

1

Select Your File

Choose the file you want to convert from your device or drag and drop it into the converter.

2

Choose Output Format

Select your desired output format and any specific settings for your conversion.

3

Convert & Download

Click "Start Conversion" and wait for the local process to finish, then download your new file.

Don't take our word for it

This conversion runs entirely in your browser — nothing is uploaded. See exactly how, and check for yourself using your browser's DevTools Network tab.

How It Works

Conversion Mechanics

KML is Google Earth and Google My Maps' native export format, but most modern web mapping libraries — Leaflet, Mapbox GL, MapLibre, most GIS web stacks — expect GeoJSON instead. This parses placemarks, paths, and polygons out of the KML and re-encodes their coordinates and metadata as standard GeoJSON features, ready to drop straight into a map.

Why It's Private

  • Runs Entirely In Your Browser: Files are decoded and re-encoded strictly in local memory.
  • No Network Requests: The converter makes no calls to any server — check your browser's DevTools Network tab to confirm.
  • Nothing to Sign Up For: No account, no upload, and no server-side storage of your files.
  • Runs On Your Hardware: Processing uses your own device's CPU via Web Workers, not a remote server.

Step-by-Step KML to GEOJSON Local Guide

1

Select File

Drop your .kml file into the box above.

2

Configure

Confirm GeoJSON is selected as the output format.

3

Convert

Click Convert — parsing happens locally in your browser.

4

Save Result

Download the resulting .geojson file.

Frequently Asked Questions on Secure KML to GEOJSON Conversion

No — GeoJSON has no built-in styling model, so KML's visual styling (icons, line colors, etc.) doesn't transfer; only the geometry and any name/description metadata do.
Yes — every placemark, path, and polygon in the KML becomes its own GeoJSON feature in the output.
Yes — Google My Maps exports KML (or KMZ, which you'd need to unzip first), and this parses that KML format directly.