Convert KML to GeoJSON Online

Convert KML and KMZ files to GeoJSON in your browser. Attributes, folders and styles all come across, and the file is never uploaded anywhere.

KML from GeoJSON to

Drag a KML file here

or

Accepts .kml · no size limit · nothing is uploaded

Converted on your device GeoJSON output

How to convert KML to GeoJSON

  1. 1

    Choose your KML file

    Drag it onto the panel or browse for it. Several files at once is fine, and each is read straight from your disk rather than uploaded.

  2. 2

    Check the preview

    Features draw on a map with their attributes. A polygon that came through inside out, or a file that turns out to be empty, shows up here rather than later in QGIS.

  3. 3

    Download the GeoJSON

    Press download and the file is written straight to your downloads folder. Adjust precision or other settings first if you need to.

What comes across

KML carries more than geometry, and most converters drop the rest. This one does not.

Attributes with their types

ExtendedData and SchemaData become feature properties. A survey number stays text, an area stays a number, so you can filter and style on them straight away.

Folders and styles

Folder names are written to a folder property. Line and fill styles, including the ABGR colour order KML uses, translate into simplestyle keys such as stroke and fill.

Every geometry type

Points, lines, polygons with holes, MultiGeometry, gx:Track flight logs and Model placements. Rings are rewound to the right-hand rule on the way out.

Frequently asked questions

How do I convert KML to GeoJSON without losing data?

Geometry, attributes and folder structure are all preserved. ExtendedData and SchemaData become feature properties with their types intact, folder names are written to a folder property, and KML styles translate into simplestyle keys. Drop the file, check the map preview, download the result.

Is my file uploaded anywhere?

No. The conversion runs as JavaScript in your own browser. The file is read from disk, converted in memory and saved back to your downloads. Open the network tab while converting and you will see no request carrying the file.

What is the difference between KML and KMZ?

A KMZ is a zipped KML, usually bundled with icons or overlay images. Both work here. The KMZ is unzipped in memory and the KML inside is read automatically, so you do not need to extract it first.

What file size can I convert?

Files up to roughly 100 to 150 MB convert comfortably, and more on a stronger machine. There is no server quota, no daily cap and no sign-up gate, because the work happens on your device.

Will the output open in QGIS without warnings?

Yes. Output is RFC 7946 GeoJSON in WGS 84 (EPSG:4326) with correct right-hand ring winding, which is the detail most converters get wrong. QGIS, ArcGIS, Leaflet and Mapbox all read it as-is.

Why do some placemarks get skipped?

A Placemark with no geometry, which Google Earth allows, has nothing to draw. Those are counted as skipped rather than written out as empty features, and the count is shown after every conversion.

All our converters

Every conversion below is live. Pick a starting format and go.

SVG is an export format only — you can convert any layer into it, but not back out again. A drawn map has no coordinates to recover, only shapes on a page.

Ready to convert without uploading?

Free, no sign-up, no file size limit — and your data never leaves your machine.

Open the KML converter