# Convert KMZ to GeoJSON

> To convert KMZ (Keyhole Markup Language (Compressed)) to GeoJSON (GeoJSON), upload the KMZ data to the MyGeodata Cloud Converter, select GeoJSON as the output format and download the result — online, without installing GIS software. The coordinates are reprojected to WGS 84 (per spec) (EPSG:4326) automatically.

- Page: https://beta.mygeodata.cloud/converter/kmz-to-geojson
- Open the Converter: https://beta.mygeodata.cloud/tools/converter/?format=geojson
- Input: Keyhole Markup Language (Compressed) (KMZ, .kmz)
- Output: GeoJSON (GeoJSON, .geojson, .json)

KMZ is the compressed package that Google Earth uses to share placemarks, lines and polygons together with their icons. People convert it to GeoJSON when the data has to go into a web map built with Leaflet, OpenLayers or MapLibre GL JS, or into an API or GIS workflow that expects plain JSON.

Two things matter here. A KMZ can hold several layers while GeoJSON holds only one, so each layer is written to its own file unless you merge them. GeoJSON also has no styling, so only geometry and attributes are carried over.

## What happens when you convert KMZ to GeoJSON

- **Reprojected to WGS 84 (per spec) (EPSG:4326) automatically** — GeoJSON always uses WGS 84 (per spec) (EPSG:4326). The Converter recalculates the coordinates of your KMZ data for you — from national grids, UTM zones or any of the 11,000+ supported coordinate systems.
- **One layer per GeoJSON file** — KMZ can hold several layers, GeoJSON only one. Each layer is written to its own GeoJSON file, or you can merge the layers into one.
- **Attributes are carried over** — The attribute columns of your KMZ data are written to GeoJSON. In the options you can choose which attributes to keep.

## Convert KMZ to GeoJSON in 4 steps

1. **Upload your KMZ data** — Drag and drop your KMZ file into the Converter — or several files at once.
2. **Check the input** — The Converter detects layers, attributes and the coordinate system and shows an overview. If the coordinate system is missing, you can assign it.
3. **Choose GeoJSON and options** — Select GeoJSON as the output format. The data are reprojected to WGS 84 (per spec) (EPSG:4326) automatically. Optional settings let you pick layers, attributes and GeoJSON-specific options.
4. **Download the result** — See the price in credits before you start, run the conversion and download the GeoJSON result.

## KMZ vs. GeoJSON — technical comparison

| | KMZ | GeoJSON |
|---|---|---|
| Full name | Keyhole Markup Language (Compressed) | GeoJSON | 
| Data type | Vector · GIS vector | Vector · Web & JSON | 
| File extension | .kmz | .geojson, .json | 
| Files | Single file | Single file | 
| Media type | application/vnd.google-earth.kmz | application/json | 
| Geometry types | Point, LineString, Polygon, GeometryCollection | Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection | 
| Multiple layers | Yes | No | 
| Mixed geometry in a layer | Yes | Yes | 
| Attribute names | No length limit (UTF8) | No length limit (UTF8) | 
| Coordinate system | Always WGS 84 (EPSG:4326) | Always WGS 84 (per spec) (EPSG:4326) | 
| Converter support | Read & write | Read & write | 
| Typical software | Google Earth Pro, QGIS, ArcGIS Pro, GDAL/OGR, Global Mapper, CesiumJS | QGIS, ArcGIS Pro, GDAL/OGR, FME, Global Mapper, Leaflet | 
| Specification | https://www.ogc.org/standards/kml/ | https://geojson.org/ | 

## What is KMZ?

KMZ is the compressed, packaged form of Keyhole Markup Language (KML). KML is the XML format created by Keyhole, Inc., popularised by Google Earth and standardised by the Open Geospatial Consortium. A KMZ file is a standard ZIP archive containing one main KML document, conventionally named doc.kml at the archive root. It also holds the resources that document references through relative paths, such as icons, overlay images and COLLADA (.dae) 3D models.

The vector content is identical to KML. Placemarks hold points, lines, polygons and multi-geometries, organised in folders, with styles and attributes stored in ExtendedData. Coordinates are longitude, latitude and optional altitude in WGS 84. Compression makes KMZ much smaller than plain KML and keeps a dataset together with its symbols. However, the archive must be unpacked before it can be edited as text, and some tools read only the main KML document and ignore bundled files.

## What is GeoJSON?

GeoJSON is an open, text-based format for encoding vector geographic features in JSON. It was first published in 2008 by an informal group of developers and later standardised by the IETF as RFC 7946 in 2016. A file typically contains a FeatureCollection whose features each combine a geometry (Point, LineString, Polygon, their Multi variants or a GeometryCollection) with a free-form properties object.

GeoJSON is widely used for web mapping, APIs and data exchange because it is human-readable and supported by most GIS software and JavaScript mapping libraries. RFC 7946 requires WGS 84 longitude/latitude coordinates and removed the crs member of the 2008 specification, although some tools still write it. The format has no styling, no topology and no formal attribute schema. Its verbose text encoding also makes very large files slow to parse and memory-intensive to load.

## Free sample KMZ files

- [Places with icons and folders](https://beta.mygeodata.cloud/static/landing/samples/v1/kmz/st-helena-places.kmz) — 58 places of Saint Helena (20 settlements, 17 peaks, 21 points of interest) with name, category, elevation from Copernicus DEM and OSM id. Styled placemarks in folders, zipped KML. (4.5 kB)
- [Basemap over shaded relief](https://beta.mygeodata.cloud/static/landing/samples/v1/kmz/st-helena-basemap-relief.kmz) — Multi-layer basemap of Saint Helena: island outline, land cover, waterways, 100 m contours, roads, Jamestown buildings and places. Includes a shaded-relief GroundOverlay image (Copernicus DEM) inside the KMZ. (614.5 kB)
- [Hike (timed track + waypoints)](https://beta.mygeodata.cloud/static/landing/samples/v1/kmz/st-helena-hike.kmz) — Hike from Jamestown up Jacob's Ladder to High Knoll Fort: 3.0 km, 513 track points (10 s) with elevation and time, 4 waypoints. (7.8 kB)

## Frequently asked questions

### Will the icons and styles from my KMZ appear in the GeoJSON?

No. GeoJSON has no styling, so icons, overlay images, 3D models and style settings bundled in a KMZ are not stored in it. The geometries and attributes of your placemarks are what carry over.

### Can I open the converted GeoJSON in QGIS or a web map library?

Yes. GeoJSON is supported by QGIS, ArcGIS Pro, GDAL/OGR and FME, and by JavaScript libraries such as Leaflet, OpenLayers and MapLibre GL JS.

### Why is my GeoJSON file larger than the original KMZ?

A KMZ is a compressed ZIP archive, while GeoJSON is verbose uncompressed text. The result can therefore be noticeably larger, and very large GeoJSON files are slower to parse and use more memory.

### How do I convert KMZ to GeoJSON?

Open the Converter, drop your KMZ files, check the detected layers and coordinate system, choose GeoJSON as the output and download the result. Everything runs in your browser — there is no software to install.

### Is the KMZ to GeoJSON conversion free?

Everyone gets 3 free credits every 30 days and a small conversion costs from 1 credits, so occasional conversions are free. Bigger or frequent jobs are paid with credit packs (from $2.00) or a monthly plan (from $10.00).

### Which coordinate system will the GeoJSON file use?

GeoJSON always uses WGS 84 (per spec) (EPSG:4326), so your data are reprojected automatically. The original coordinate system of the KMZ data is detected from the file or you can assign it.

### How large can my KMZ files be?

Without an account you can upload up to 2 GB per file. Signed-in users with a verified e-mail can upload much larger datasets; big jobs run on scalable cloud workers.

### Is my data safe?

Files are transferred over HTTPS and processed in an isolated cloud environment. Without an account they are stored only temporarily and deleted automatically; with an account they stay in your private Data workspace until you delete them.

### Can I automate the KMZ to GeoJSON conversion?

Yes. The same conversion is available through the GeoCzech API — send the KMZ files with the output format "geojson" and download the GeoJSON result from a script or an ETL pipeline. API access is part of the Basic, Standard and Premium plans.

## Related conversions

- [KMZ to DXF](https://beta.mygeodata.cloud/converter/kmz-to-dxf)
- [KMZ to SHP](https://beta.mygeodata.cloud/converter/kmz-to-shp)
- [KMZ to KML](https://beta.mygeodata.cloud/converter/kmz-to-kml)
- [KMZ to GPX](https://beta.mygeodata.cloud/converter/kmz-to-gpx)
- [KMZ to XLSX](https://beta.mygeodata.cloud/converter/kmz-to-xlsx)
- [KMZ to GeoPDF](https://beta.mygeodata.cloud/converter/kmz-to-geopdf)
- [KMZ to CSV](https://beta.mygeodata.cloud/converter/kmz-to-csv)
- [KMZ to MapInfo](https://beta.mygeodata.cloud/converter/kmz-to-mapinfo)
- [KMZ to FileGDB](https://beta.mygeodata.cloud/converter/kmz-to-filegdb)
- [KMZ to DGN](https://beta.mygeodata.cloud/converter/kmz-to-dgn)
- [KMZ to SVG](https://beta.mygeodata.cloud/converter/kmz-to-svg)
- [KMZ to GPKG](https://beta.mygeodata.cloud/converter/kmz-to-gpkg)
- [KML to GeoJSON](https://beta.mygeodata.cloud/converter/kml-to-geojson)
- [SHP to GeoJSON](https://beta.mygeodata.cloud/converter/shp-to-geojson)
- [GeoPDF to GeoJSON](https://beta.mygeodata.cloud/converter/geopdf-to-geojson)
- [SVG to GeoJSON](https://beta.mygeodata.cloud/converter/svg-to-geojson)
- [DWG to GeoJSON](https://beta.mygeodata.cloud/converter/dwg-to-geojson)
- [GPX to GeoJSON](https://beta.mygeodata.cloud/converter/gpx-to-geojson)
- [DXF to GeoJSON](https://beta.mygeodata.cloud/converter/dxf-to-geojson)
- [CSV to GeoJSON](https://beta.mygeodata.cloud/converter/csv-to-geojson)
- [GPKG to GeoJSON](https://beta.mygeodata.cloud/converter/gpkg-to-geojson)
- [AVCBIN to GeoJSON](https://beta.mygeodata.cloud/converter/avcbin-to-geojson)
- [XLS to GeoJSON](https://beta.mygeodata.cloud/converter/xls-to-geojson)
- [SQLite to GeoJSON](https://beta.mygeodata.cloud/converter/sqlite-to-geojson)

