twineconvert

free · in-browser · no upload

KML to GeoJSON
Converter

Drop your KML file. We'll convert it to GeoJSON right here in your browser, your file never leaves your device.

or drop your file

Select your file here to get started

or drop your file here.

Accepts .kml

nothing uploaded no file size cap no signup

How it works

Three steps. No upload, no signup.

  1. 1

    Drop your file

    Click the dropzone above or drag a KML from your desktop. Files of any size, there's no upload, so there's no upload limit.

  2. 2

    Convert in your browser

    The conversion runs entirely in this tab using JavaScript and WebAssembly. Your file never touches our servers, we don't have any.

  3. 3

    Download

    Get your GeoJSON the moment the conversion finishes. Convert another, or close the tab.

Files stay on your device

Your file is never uploaded. The entire conversion runs in your browser using WebAssembly. We can't see what you convert because we have no server to see it.

No file size limit

Server converters cap free users at 1-2 GB and gate larger files behind a paid plan. Since nothing uploads, our limit is whatever your browser can handle.

Free, no signup, no ads on conversions

No account required. No watermark on the output. No queue. Drop a file, get a converted file.

Why convert KML → GeoJSON

What this conversion is actually for

GeoJSON is the de-facto standard for web mapping (Mapbox, Leaflet, ArcGIS Online). KML is what Google Earth exports. Converting bridges desktop GIS work to web-deployed mapping projects. GitHub renders GeoJSON files inline as interactive maps, so converting your KML data lets you share it in a repo with a clickable preview.

A real example

You documented a hiking trail network in Google Earth as KML — points for trailheads, lines for trails. You want to ship a Leaflet web map of it. Convert to GeoJSON, drop into your Leaflet `L.geoJSON(data)` call, deploy.

Troubleshooting

Style information (colors, icons) was lost.

KML carries inline style data (`<Style>`, `<IconStyle>`, `<LineStyle>`); GeoJSON's properties bag is just untyped JSON, so styles don't survive. We preserve geometry + name + description. Apply styles in your mapping library based on a feature property after import.

Formats involved

About KML and GeoJSON

KML, Keyhole Markup Language

KML is Google Earth's XML format for geographic data, points, lines, polygons, with optional descriptions and styles. Originally Keyhole Inc.'s format (Google acquired Keyhole and created Google Earth from it). Standardized as OGC KML in 2008.

How to open

Google Earth (free), Google My Maps, QGIS, ArcGIS. Plain XML in any editor.

GeoJSON, Geographic JSON (RFC 7946)

GeoJSON encodes geographic features (points, lines, polygons) as JSON objects following RFC 7946 (2016). Coordinates are always [longitude, latitude] in WGS84. Supported natively by Leaflet, Mapbox GL, OpenLayers, ArcGIS, QGIS, and PostGIS — the default exchange format for web mapping. Lighter and easier to inspect than KML or shapefile (.shp).

How to open

GitHub renders GeoJSON files inline as interactive maps. geojson.io provides an in-browser editor + validator. QGIS opens .geojson directly. Leaflet/Mapbox apps consume it programmatically.

Related tools

Convert other files to GeoJSON

Convert your KML to other formats

FAQ

Common questions

Is this KML → GeoJSON converter really free?

Yes. No signup, no watermark, no daily file count limit. Every conversion runs in your browser, your file never touches our servers because there are no servers.

Where does my file go when I convert it?

Nowhere. The conversion runs entirely in your browser using JavaScript and WebAssembly. Your file is never uploaded to our servers. We don't have any servers handling files, there's nothing for us to log, store, or accidentally leak.

What's the maximum file size?

Whatever your browser can hold in memory. Practically, this means a few hundred MB on most computers, significantly larger than the 1-2 GB caps that server-upload converters charge for. Very large files (multi-GB) may require closing other browser tabs first.

Why convert KML to GeoJSON?

Geographic visualization in Google Earth and GIS tools. Web mapping data exchange (Leaflet, Mapbox, ArcGIS). The most common reason to convert is compatibility, GeoJSON works in places where KML doesn't, or vice versa.

How do I open a KML file in the first place?

Google Earth (free), Google My Maps, QGIS, ArcGIS. Plain XML in any editor.

Does this work offline?

Once the page is loaded, the conversion itself runs entirely offline. The first time you use a tool, your browser downloads the conversion library (a one-time cache). If you reload while offline, the page won't load, but you can install the site as a Progressive Web App for full offline use.

Can I convert multiple files at once?

Single file at a time for now. Batch conversion is on the roadmap, for now, drop one file, download the result, then convert the next.