# KMZ — Keyhole Markup Language (Compressed)

> KMZ (Keyhole Markup Language (Compressed)): ZIP-compressed KML package bundling a main KML document with icons, images and 3D models. Specs, software and free sample files; convert KMZ to 39 formats online.

- Page: https://beta.mygeodata.cloud/formats/kmz

> KMZ files can also contain raster data. [Read about KMZ raster](https://beta.mygeodata.cloud/formats/kmz-raster) — Tiled raster pyramid in KML/KMZ using Regions and NetworkLinks for progressive display in Google Earth. [Convert KMZ raster](https://beta.mygeodata.cloud/converter/kmz-raster)



## What is a KMZ file?

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.

KMZ files are usually exchanged by people who share map data with Google Earth users: surveyors, utilities, field teams, planners and GIS analysts. Because a KMZ is a ZIP archive, it can carry icons, overlay images and 3D models along with the KML. When working with it, check that the bundled resources are present and that the receiving software reads them, since some tools use only the main KML document.

### Technical details

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

### Specifications & references

- https://www.ogc.org/standards/kml/
- https://developers.google.com/kml/documentation/kmzarchives
- https://gdal.org/en/stable/drivers/vector/libkml.html

### Sample KMZ files — free download

- [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, EPSG:4326)
- [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, EPSG:4326)
- [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, EPSG:4326)

### Convert KMZ to other formats

- [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 GeoJSON](https://beta.mygeodata.cloud/converter/kmz-to-geojson)
- [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)
- [KMZ to MBTiles](https://beta.mygeodata.cloud/converter/kmz-to-mbtiles)
- [KMZ to WKT](https://beta.mygeodata.cloud/converter/kmz-to-wkt)
- [KMZ to TopoJSON](https://beta.mygeodata.cloud/converter/kmz-to-topojson)
- [KMZ to MIF](https://beta.mygeodata.cloud/converter/kmz-to-mif)
- [KMZ to GML](https://beta.mygeodata.cloud/converter/kmz-to-gml)

## Frequently asked questions

### Can I open a KMZ file by renaming it to ZIP?

Yes. A KMZ is a standard ZIP archive, so after renaming or extracting it you can see the main KML (usually doc.kml) and any icons, images or 3D models. You can then edit the KML in a text editor, but re-pack it as a ZIP with the .kmz extension afterwards.

### Why are the icons or images missing after I convert or open a KMZ?

The KML refers to icons and overlays by relative paths inside the archive. If a tool reads only the main KML document, or the files were moved or repacked with a different folder structure, those references break. Convert to a format with its own symbology or keep the original KMZ for display.

### What is the difference between KMZ and KML?

The vector content is the same, but KML is a plain XML text file, while KMZ is a ZIP archive holding a KML and its resources. KMZ is much smaller and keeps symbols with the data, whereas KML is easier to edit as text.

### What is a KMZ file?

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.

### How do I open a KMZ file?

KMZ files can be opened in Google Earth Pro, QGIS, ArcGIS Pro, GDAL/OGR and Global Mapper. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert KMZ to?

Popular conversions are DXF, SHP, KML, GPX, XLSX and GeoPDF. In total the Converter writes KMZ data to 39 formats.

### How do I create a KMZ file?

Convert existing data to KMZ — for example from DWG, KML, DXF, SHP and GPX. Upload the file, choose KMZ as output and download the result.

### Which coordinate system does KMZ use?

KMZ always uses WGS 84 (EPSG:4326).

### Is a KMZ file vector or raster?

A KMZ file can store vector data or raster data, depending on how it was created. This page describes the vector variant; the other variant has separate specifications and conversion options.

