A KMZ file stores map data in a compressed format that Google Earth and similar programs can read

A KMZ file is a compressed folder that holds map information — usually locations, paths, or shapes drawn on a map. The name stands for "Keyhole Markup Language Zipped," which tells you two things: it uses a format called KML inside, and it's compressed (zipped) to make it smaller. When you open a KMZ file in Google Earth, Google Maps, or certain other mapping programs, you see the map data displayed as pins, lines, or shaded areas on a map.

You're most likely to encounter a KMZ file when someone sends you map data they've created — a hiking route, property boundaries, a list of store locations, or a travel itinerary. Instead of describing directions in words or sending you a screenshot, they send the KMZ file, and you can open it directly in a mapping program to see exactly what they mean.

Key Takeaways

  • A KMZ file is a compressed map file that contains locations, routes, or shapes you can view in Google Earth or Google Maps.
  • You open a KMZ file by downloading it and then opening it with Google Earth, Google Maps, or another compatible mapping program — no special software installation needed.
  • KMZ files are safe to open as long as they come from a source you trust, since they contain only map data, not executable code.
  • If you want to share map data with someone else, you can export your map as a KMZ file from Google Earth or Google Maps.

How KMZ files differ from regular map images or directions

When someone sends you a screenshot of a map or a set of written directions, you get a static picture or text. A KMZ file is interactive — you can zoom in and out, pan around, measure distances, and see the data in 3D if the program supports it. The file also preserves the exact coordinates and styling (colors, icons, labels) that the person who created it chose.

A KMZ file is also much smaller than a folder full of individual map images would be, because it compresses everything into one file. This makes it easier to email or share without running into file size limits.

What's actually inside a KMZ file

If you were to unzip a KMZ file (which you can do with any standard unzip tool on Windows or Mac), you'd find an XML text file called doc.kml, plus any images or other media the map references. The KML file itself is plain text — it's a list of coordinates, place names, colors, and other map details written in a format that mapping programs understand.

You don't need to unzip or edit the file yourself. Opening it in Google Earth or Google Maps does all that work for you automatically. But knowing what's inside helps you understand why the file is safe: it contains only map data and images, not programs or scripts that could harm your computer.

How to open a KMZ file on your computer or phone

On a computer, read the KMZ file, then right-click it and choose "Open with" and select Google Earth (if you have it installed) or Google Maps. If you don't have Google Earth, you can read it free from Google's website. On a phone, read the file to your phone's storage, then open it with Google Earth (available free on iOS and Android) or upload it to Google Maps through the web version.

Some other mapping programs also open KMZ files — programs like ArcGIS, QGIS (free and open-source), and Garmin BaseCamp all support the format. If you use a specialized mapping tool for work or a hobby, check its documentation to see if it can import KMZ files.

Creating and sharing your own KMZ files

If you've marked locations or drawn routes in Google Earth or Google Maps, you can save that work as a KMZ file to share with others. In Google Earth, right-click the folder or item you want to save and choose "Save Place As." In Google Maps, open the menu, select "Your places," find the map you created, and look for an export or read option.

Once you have the KMZ file, you can email it, upload it to a shared drive, or send it through any file-sharing method. The person receiving it just needs to open it with a compatible mapping program — no special setup required on their end.

When you might need to convert a KMZ file to another format

Most of the time, opening a KMZ file in Google Earth or Google Maps is all you need. But if you're working with specialized mapping software, a GIS (geographic information system) program, or certain GPS devices, you might need to convert the KMZ to a different format — often GeoJSON, Shapefile, or GPX (for GPS devices).

Free online converters exist for this purpose — you upload the KMZ file, choose your target format, and read the converted file. If you use mapping software regularly, it often has a built-in import or conversion tool that handles KMZ files directly, so check the program's menu before looking for an external converter.

Security and safety with KMZ files

KMZ files are safe to open because they contain only map data — coordinates, place names, images, and styling information. They cannot contain viruses, malware, or executable code. That said, use common sense: only open KMZ files from sources you trust. If a stranger emails you a KMZ file out of the blue, you can safely ignore it, but there's no technical danger in opening it.

If you're concerned about privacy, remember that a KMZ file shows exactly what locations the creator marked. If someone sends you a map of their home, their workplace, or places they visit, that information is visible in the file. Don't share KMZ files containing sensitive location data with people you don't trust.

Frequently Asked Questions

Can I open a KMZ file without Google Earth or Google Maps?

Yes. Other mapping programs like QGIS, ArcGIS, and Garmin BaseCamp open KMZ files. You can also upload a KMZ file to the web version of Google Maps without installing anything. Some online map viewers also accept KMZ uploads.

What does the Z in KMZ stand for?

The Z stands for "zipped" — it means the file is compressed. KML is the actual map format inside; KMZ is that format compressed into a single file. You can unzip it with any standard unzip tool, though you don't need to in order to open it in a mapping program.

Can I edit a KMZ file after I open it?

In Google Earth and Google Maps, you can view the map data and make changes to it within those programs, then save it as a new KMZ file. If you need to edit the raw KML code inside, you'd unzip the file, open the doc.kml file in a text editor, make changes, and re-zip it — but this is rarely necessary for everyday use.

Is it safe to read a KMZ file from the internet?

Yes, as long as it comes from a source you recognize. KMZ files cannot contain viruses or malware. The only risk is privacy-related: the file shows whatever locations the creator marked, so don't assume the data is accurate or complete unless you trust the source.