GeoConvert
Resources

GIS format comparison

KML vs KMZ: Which format should you use?

KML is a plain XML document for Google Earth placemarks, geometry and styling. KMZ is a ZIP-compressed archive containing a main KML file—usually doc.kml—and optional images, icons, models or other supporting assets. The geographic content model is the same; the packaging is different.

Quick answer

Choose KML when the document is small and you want to inspect, edit or version it as text. Choose KMZ when you want a smaller single file, need to bundle referenced assets, or plan to email and distribute a finished Google Earth project.

Key differences

CriterionKMLKMZ
ContainerA standalone XML text documentA ZIP archive containing KML and optional assets
File sizeUncompressed and often verboseCompressed; KML text commonly shrinks substantially
Supporting assetsUsually referenced as separate local files or URLsCan bundle icons, images, textures and models inside one archive
EditingOpen directly in a text or XML editorUnzip first to edit the contained KML and assets
Coordinates and featuresWGS 84 placemarks, geometry and stylingThe same KML content model and WGS 84 coordinates
Google Earth supportOpens directlyOpens directly and is commonly used for distribution

When to choose KML

Small datasets, hand editing, debugging XML, source control and cases where external assets are unnecessary or already hosted online.

When to choose KMZ

Sharing larger Google Earth projects, compressing verbose KML and keeping custom icons, images, overlays or 3D models together.

Conversion and migration checks

  • Use relative paths for assets that will be bundled inside a KMZ archive.
  • Keep one main KML document in the archive so readers consistently find the intended file.
  • After converting KMZ to KML, remember that bundled icons and images become separate files and may need new paths.
  • Choose KMZ for delivery and KML for editing; converting between them does not reproject coordinates.

Convert between KML and KMZ

Read the format guides

Frequently asked questions

Is KMZ the same as KML?
KMZ contains KML, but it is not the same file type. It is a compressed ZIP archive that packages a main KML document with zero or more supporting files.
Can Google Earth open both KML and KMZ?
Yes. Google Earth opens both directly. KMZ is especially useful when a project contains images, icons, models or a large KML document.
Does converting KML to KMZ change coordinates or styling?
No. The KML content remains the payload, so its WGS 84 coordinates, placemarks and styling stay the same. The conversion mainly adds ZIP compression and asset packaging.

Related format comparisons