GeoConvert

Convert KML to KMZ

Convert KML to KMZ online to compress a plain-text Google Earth document into a smaller, shareable ZIP package. GeoConvert wraps it as doc.kml locally in your browser without fetching external assets.

Drop your file here, or browse

Shapefile (.shp + siblings or .zip), GeoJSON, KML, KMZ, GPX, DXF

KML, KMZ, and GPX always use WGS 84 (EPSG:4326).

KML, KMZ, and GPX always use WGS 84 (EPSG:4326).

Report a conversion problem

KML → KMZ · Setting up

Your report goes to a private GitHub repository for GeoConvert maintainers. Please leave out coordinates, personal information, and access keys.

Your files never leave your device — conversion runs entirely in your browser.

Troubleshoot this conversion in the FAQ

What is KML?

KML (Keyhole Markup Language) is an XML-based format for expressing geographic annotation and visualization, adopted as an OGC standard and popularized by Google Earth.

KML describes Placemarks, geometries (points, lines, polygons), and their presentation using an XML tree that also supports folders for organization, rich styling (icons, colors, line widths, fills), balloon descriptions, and ground overlays. It is designed for display and sharing rather than analysis, and is opened natively by Google Earth, Google Maps, and most GIS packages. Because it targets a single global view, it has no concept of reprojection.

What is KMZ?

KMZ is a ZIP archive that packages a KML document (conventionally named doc.kml) together with any assets it references, such as icons, images, and overlays.

Structurally a KMZ is just a compressed container: unzip it and you get a main KML document plus an optional folder of supporting files. Zipping typically shrinks verbose KML text substantially and keeps a placemark set and its custom icons together as one shareable file, which is why Google Earth exports KMZ by default. Everything true of KML applies to the KML inside a KMZ; the wrapper only adds compression and asset bundling.

Why convert KML to KMZ?

KMZ is easier to share and email than raw KML because compression can shrink the verbose XML significantly. GeoConvert packages the uploaded document as doc.kml in one portable file that Google Earth opens natively. This is the natural choice when file size or a single deliverable matters.

Coordinate systems

KML coordinates are always geographic WGS84 longitude, latitude, and (optionally) altitude in that order; the format has no CRS or projection field, so any data written to KML is expressed in EPSG:4326 by definition.

Because the payload is ordinary KML, a KMZ is inherently WGS84 (EPSG:4326) longitude/latitude/altitude, with no projection metadata and no possibility of reprojection inside the format.

What to watch out for

  • This is essentially compression: a KMZ is just a ZIP wrapping the KML (as doc.kml), so no geometry or attributes change.
  • Coordinates remain WGS84 (EPSG:4326); nothing is reprojected.
  • The output is binary and no longer directly readable in a text editor.
  • The KMZ contains doc.kml. Supported style icon links are preserved, and their images are not fetched or bundled. An external NetworkLink is rejected. Check the icons offline before sharing.

How to convert KML to KMZ

  1. Drag your KML file (.kml) into the converter above, or click to browse.
  2. Confirm the source is KML and choose KMZ as the output format.
  3. Optionally pick a target coordinate system (EPSG) to reproject.
  4. Click Convert and download your KMZ file. Everything runs in your browser.

Send a standalone KML as one compressed file

Package a self-contained site plan for a colleague who accepts KMZ. Compression does not make linked resources available offline.

  1. Keep the original KML. This route preserves the validated document bytes as doc.kml, including folders and inline styles; it does not reproject coordinates.
  2. If reference validation rejects the document, export a self-contained KML from the source application. Renaming the extension or retrying cannot bundle missing images or remote layers.
  3. Unzip the result and compare doc.kml with the input. Then open it in the recipient’s application to check display; byte preservation does not prove that every application renders the same styles.

Frequently asked questions

Does converting KML to KMZ change my data?
No. It only compresses and packages the KML; geometry, attributes, and coordinates are unchanged.
How much smaller will the file be?
It varies, but KML is verbose XML that typically compresses well, so KMZ downloads are often much smaller.
Can the KMZ be opened like a normal KML?
Yes. Google Earth and most GIS tools read KMZ directly, and you can also unzip it to recover the doc.kml.

Tutorials

Format standards and references

These primary sources document the file formats. GeoConvert supports the conversion features and limits described above.

Related conversions