Skip to the converter

KML to KMZ converter, without the upload.

Turn KML map files into KMZ. It is converted in your browser, so the file never leaves your device.

Drop KML files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert KML to KMZ

  1. Add your KML map files

    Drop KML files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. KMZ is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the KMZ, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The KML to KMZ converter is part of this page and runs inside your browser. Your map files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

KML to KMZ: what to expect

KML is XML tied to Google Earth's way of styling, and not all GIS tools read every feature. KMZ bundles a map with its icons and images in one file. KML is at home in places, routes and tours viewed in Google Earth; KMZ is the usual choice for KML with its icons and overlay images in one file.

Every format is read into plain GeoJSON features and written out from there, so coordinates, names and properties carry over wherever the target has a place for them. XML that declares custom entities is refused, and KML files are parsed without touching the network. Altitude and per-point timestamps are kept; a line with timestamps is written as a Google Earth track that can be played back. The KML is zipped as doc.kml, the name Google Earth expects.

KML vs KMZ

KML

KML map file

KML is the format of Google Earth. It stores placemarks, lines and areas with names, descriptions and styling in XML, and can add camera paths for tours. It became an Open Geospatial Consortium standard in 2008. A KMZ is the zipped form.

Opens in Google Earth, Google My Maps, QGIS and most GIS tools

KML converter
KMZ

KMZ map file

A KMZ is a ZIP archive containing a KML file, normally named doc.kml, and the icons and images it uses. Google Earth saves a placemark collection as KMZ so that the pictures travel with it.

Opens in Google Earth, Google My Maps, QGIS and most GIS tools

KMZ converter
KML compared with KMZ
KMLKML map fileKMZKMZ map file
Stands forKeyhole Markup LanguageZipped Keyhole Markup Language
TypeGeographic dataGeographic data (zipped)
CompressionNone (XML text)Lossless (a ZIP containing KML)
Introduced2004, by Keyhole, later Google (now an OGC standard)The mid-2000s, by Google
Opens inGoogle Earth, Google My Maps, QGIS and most GIS toolsGoogle Earth, Google My Maps, QGIS and most GIS tools
Best forPlaces, routes and tours viewed in Google EarthKML with its icons and overlay images in one file
File extension.kml.kmz

Questions

Are my map files uploaded anywhere?

No. The KML to KMZ conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting KML to KMZ?

The values are kept. Anything KMZ has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several KML files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert KML to KMZ on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the KML file, press Convert and save the KMZ. There is nothing to install.

Is there a file size limit?

Yes. Files up to 150 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.