KML, KMZ, GPX, GeoJSON, CSV or a shapefile (parts or ZIP), up to 200 MB, converted to KMZ in your browser. Nothing is uploaded.

Files never leave your browserHow?

This KML to KMZ converter compresses a KML into a KMZ — a ZIP archive with the document stored as doc.kml, exactly as Google Earth saves it — so the file is much smaller to e-mail or upload. Folders, styles, ExtendedData and gx:Track timestamps are kept.

Last updated:

How it works

  1. Open the KML

    Press Open KML file.

  2. Options

    Keep timestamps (gx:Track) and Absolute altitude as in the original; Line color for unstyled lines.

  3. Convert

    Press Convert to KMZ.

Features

  • doc.kml convention

    Google Earth, Google My Maps and GIS software open the main document from doc.kml in the archive.

  • Compressed

    KML is verbose XML text, so the Deflate-compressed KMZ is much smaller; the result shows the size.

  • Cleaned on the way

    The KML is parsed and rewritten, so identical styles are merged and every placemark sits under its folder.

Limits & privacy

One input can be up to 200 MB (50 MB on phones and devices with 4 GB of memory or less) and up to 5 million vertices (1 million there).

Nothing leaves your device — see the privacy page. To check the result, open it in the KMZ viewer.

Example: an e-mail server rejects a 40 MB route.kml. Convert it to KMZ, and the zipped file is small enough to send.

FAQ

Why use KMZ instead of KML?

It is smaller and can carry images; Google Earth and My Maps read both.

Are images or icons added?

No, images or icons are not added to the KMZ. Placemarks, folders, styles and attributes go in; custom icon images are not written.

Is the KMZ limit in My Maps different?

Google states that unzipped KML and KMZ can be up to 5 MB — the size inside the zip counts.

Can I convert KMZ back to KML?

Yes, KMZ converts back to KML with KMZ to KML.

Is my file uploaded?

No, your KML file is not uploaded: it is zipped in your browser.

Does Google Earth open it directly?

Yes, Google Earth opens the KMZ directly: double-click the .kmz or use File → Open; Google My Maps imports it as well.

Related tools