KMZ to GeoJSON Converter
Convert Google Earth KMZ archives into GeoJSON for Leaflet, Mapbox, QGIS and PostGIS.
Complete the security check to begin
About Converting KMZ to GeoJSON
A KMZ is not really its own format — it is a ZIP archive with a KML document inside it, named doc.kml, alongside any icons or overlays the map uses. That is what Google Earth hands you when you save a project, and it is why dropping the file straight into Leaflet, Mapbox GL, OpenLayers, D3 or a PostGIS import fails: those tools all speak GeoJSON, and a KMZ looks to them like a binary archive. This converter opens the archive, reads the KML inside it, and re-expresses your placemarks, paths and polygons as a GeoJSON FeatureCollection.
The geometry mapping is direct: a KML Point becomes a GeoJSON Point, a LineString becomes a LineString, and a Polygon with inner boundaries keeps its holes. Placemark names and descriptions are carried into each feature’s properties object so nothing that identifies your features is lost. What does not survive is the presentation layer — KML styles, icon images and screen overlays have no GeoJSON equivalent, because GeoJSON deliberately describes geometry and attributes only, and leaves styling to the map library.
Common use cases
- Loading a Google Earth project into a Leaflet, Mapbox GL or OpenLayers web map
- Importing field survey data into PostGIS, QGIS or a data pipeline that expects GeoJSON
- Turning a shared KMZ of sites or boundaries into something you can query with code
- Feeding coordinates into a Python or JavaScript analysis without writing a KML parser
- Publishing map data as an API response, where GeoJSON is the standard payload
Tips for best results
- Coordinate order flips between the two formats: KML writes longitude,latitude,altitude while GeoJSON writes [longitude, latitude]. Both put longitude first, which is the opposite of how people usually say a coordinate aloud, and the converter handles it either way.
- If your KMZ contains several .kml files, the one named doc.kml is used — that is the entry Google Earth itself treats as the document root.
- Altitude values in the source are preserved as the optional third element of each coordinate, so elevation profiles survive.
- The archive is inspected without being unpacked to disk, and the declared size of the inner KML is checked before any decompression happens, so a maliciously compressed file is rejected rather than expanded.
How to Convert KMZ to GeoJSON Online
Converting KMZ to GeoJSON with PrivConvert takes three quick steps and no software to install. What you gain with GeoJSON: parsed natively by every web language and mapping library.
Drag and drop your file into the upload area, click to browse your device, or paste a URL to a file hosted online. You can upload files up to 250 MB and batch convert up to 20 files at once.
Once uploaded, the conversion from KMZ to GeoJSON starts automatically. The process runs entirely in an isolated environment - your data never leaves the secure pipeline.
Your converted file is ready instantly. Click the download button to save it to your device. The file is deleted from memory immediately after download.
What makes this KMZ-to-GeoJSON converter different
Privacy here is not a checkbox. Every KMZ-to-GeoJSON conversion is engineered so your data never lingers, leaks or gets reused.
Every upload and download is protected with TLS 1.3, so your file cannot be intercepted on the way to the server or back to you.
Convert instantly with no sign-up, no email and no profiling cookies. We never build a profile around you or the files you convert.
Runs in any modern browser on Windows, macOS, Linux, Android and iOS — no install, plugin or desktop software needed.
Each job runs in an isolated in-memory sandbox, so most conversions finish in seconds instead of waiting in a queue.
KMZ vs GeoJSON - Format Comparison
| Feature | KMZ | GeoJSON |
|---|---|---|
| File extension | .kmz | .geojson |
| Supported by PrivConvert | Yes (as input) | Yes (as output) |
| Privacy-safe conversion | In-memory, zero storage | |
| Max file size | 250 MB per file | |
| Batch support | Up to 20 files simultaneously | |
Built for people who value their privacy
From one-off files to daily batches, thousands of people rely on PrivConvert precisely because it keeps nothing once the job is done.