KMZ GEOJSON
File conversion

Convert KMZ to GEOJSON

QUICK ANSWER
Is it possible to convert KMZ to GEOJSON?
Yes - KMZ converts to GEOJSON.

Open the .kmz in QGIS and export the layer as GeoJSON, or run ogr2ogr -f GeoJSON out.geojson in.kmz in a terminal. Geometry and attribute text transfer correctly; KML styling, ground overlays, and 3D model data are dropped.

Also to GEOJSON: SHP · OSM · GPX

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

Why convert KMZ to GEOJSON?

GeoJSON is the expected input format for web mapping libraries such as Leaflet and Mapbox, and for many web APIs. Converting KMZ data to .geojson makes it directly usable in browser-based maps and modern GIS workflows without requiring a desktop viewer.

How to convert KMZ to GEOJSON

QGIS OPEN-SOURCE

Add the .kmz as a vector layer, right-click it in the Layers panel, and choose Export > Save Features As with format set to GeoJSON.

ogr2ogr (GDAL) OPEN-SOURCE

Run ogr2ogr -f GeoJSON out.geojson in.kmz. Use ogrinfo in.kmz to list layers first if the file contains multiple folders.

About these formats

Quality & what to watch

  • Placemarks, lines, and polygons with names and description text transfer correctly; KML styling (icon colors, line widths, fills) has no GeoJSON equivalent and is dropped.
  • GeoJSON is always WGS 84 (EPSG:4326), which matches KMZ - no reprojection is needed.
  • GeoJSON is plain text and typically larger than a compressed .kmz; for large datasets consider gzip-compressed GeoJSON or FlatGeobuf for web delivery.

Frequently asked questions

Can I convert KMZ to GeoJSON without installing software?
No reliable browser-based tool handles this conversion correctly. QGIS and GDAL are both free and cover all cases.
Does the KML folder structure survive in GeoJSON?
KML folders become separate layers in QGIS or separate files with ogr2ogr; GeoJSON has no folder concept, so nesting is flattened.
What if ogr2ogr cannot read my KMZ?
Rename the .kmz to .zip, unzip it, and run ogr2ogr on the doc.kml inside instead.