A KMZ file stores map data and imagery in a compressed folder

A KMZ file is a compressed archive that holds map information, usually created by or for Google Earth. The letters stand for Keyhole Markup Language Zipped — "Keyhole" because Google Earth was originally called Keyhole before Google bought it, and "Zipped" because the file is compressed like a ZIP archive. When you open a KMZ file, you are really opening a folder that contains map coordinates, place markers, images, and sometimes 3D models of buildings or terrain.

KMZ files are used to share maps, mark locations on a map, or store satellite imagery with notes and labels. A real estate agent might send you a KMZ file showing properties in a neighborhood. A hiking group might share a KMZ file with marked trails. A city planner might use KMZ files to show proposed construction sites. The file format lets you bundle all that information into one portable package.

Key Takeaways

  • KMZ files are compressed map archives that work with Google Earth and other mapping software, not text or image files you can open in a regular program.
  • Google Earth (the free desktop version) is the most straightforward way to open a KMZ file on Windows, Mac, or Linux.
  • You can also upload KMZ files to Google Maps or use free online converters to view the contents without installing software.
  • KMZ files are safe to open as long as they come from a source you trust, since they contain only map data and cannot run programs or install malware.

How to open a KMZ file on your computer

The easiest method is to download and install Google Earth (the free desktop version, not Google Earth Pro). Go to google.com/earth, download the version for your operating system, and install it. Once it is running, open the File menu and select "Open" or "Import KML File", then navigate to your KMZ file and select it. Google Earth will display the map, markers, and any other data the file contains.

If you do not want to install software, you can upload the KMZ file to Google My Maps instead. Go to mymaps.google.com, click "Create a new map", then look for an "Import" button (usually near the top). Select your KMZ file and Google My Maps will load it into an editable map in your browser. This works on any computer with a web browser and an internet connection.

On Windows, you can also rename the file from .kmz to .zip, then use the built-in file manager to extract it. This reveals the folder structure inside, though you will see XML code and image files rather than a visual map. This approach is useful only if you want to examine the raw data or extract images from the file.

Opening KMZ files on a phone or tablet

On an iPhone or iPad, download the free Google Earth app from the App Store. Open the app, tap the menu icon (three horizontal lines), select "Projects", then tap the plus sign to create a new project. Tap "Import" and select your KMZ file from your device's files. The map will load and you can view it, zoom in and out, and see all the markers and labels.

On Android, the process is similar. Download Google Earth from the Google Play Store, open it, tap the menu, select "Projects", tap the plus sign, and choose "Import". Navigate to your KMZ file and select it. Android's file system varies by device, so if you are not sure where the file is stored, check your Downloads folder first.

If the KMZ file is attached to an email or stored in cloud storage like Google Drive or Dropbox, you can often open it directly from those apps. Tap the file, select "Open with", and choose Google Earth. The app will launch and display the map.

What is inside a KMZ file

If you extract a KMZ file (by renaming it to .zip and opening it), you will find a folder structure. The main file is usually called doc.kml, which is an XML text file containing all the map data — coordinates, place names, descriptions, and styling information. Alongside it are folders for images, 3D models, and other media that the map uses.

The KML format (Keyhole Markup Language) is a text-based standard for storing geographic data. It uses tags similar to HTML to describe locations, paths, polygons, and other map features. For example, a marker for a coffee shop would include its latitude and longitude, a name, a description, and possibly an icon image. When Google Earth reads the KML file, it translates all those tags into the visual map you see on screen.

You do not need to understand KML code to use a KMZ file. Google Earth and Google My Maps handle all the translation automatically. The only reason to look inside a KMZ file is if you want to edit the raw data, extract images, or troubleshoot why something is not displaying correctly.

When you might receive or create a KMZ file

Real estate listings sometimes come as KMZ files so you can see properties marked on a satellite map with neighborhood details. Tour companies and hiking groups use KMZ files to share routes and waypoints. Researchers and city planners use them to document sites and share spatial data with colleagues. Genealogy websites sometimes offer KMZ files showing family cemetery locations or ancestral hometowns.

If you use Google Earth and want to save your own map work, you can export it as a KMZ file. Right-click on a folder or placemark in Google Earth, select "Save Place As", and choose KMZ format. This creates a file you can email to someone else or store for later use. When they open it, they will see exactly the same map, markers, and imagery you saved.

Is it safe to open a KMZ file

KMZ files are safe to open. They contain only map data, coordinates, text labels, and images — no executable code or scripts that could run programs or install malware. Even if someone sends you a malicious KMZ file, the worst that could happen is the map displays incorrect information or contains offensive content. The file cannot infect your computer or steal your data.

That said, use common sense about the source. If you receive a KMZ file from someone you do not know or from an unexpected email, treat it like any other file from an unknown sender. Do not open it if you have reason to distrust the person who sent it. If it comes from a legitimate source — a real estate agent, a tourism website, a friend who shares hiking routes — it is safe to open.

Converting KMZ files to other formats

If you need to use map data from a KMZ file in a different program, you can convert it. Free online converters like CloudConvert and Zamzar accept KMZ files and output them as GeoJSON, GPX, Shapefile, or other geographic formats. Upload your KMZ file, select the output format, and download the converted file.

GeoJSON is useful if you want to embed map data in a website. GPX is the standard format for GPS devices and hiking apps like AllTrails. Shapefiles are used in GIS (Geographic Information Systems) software like QGIS. The right format depends on what you plan to do with the data next.

Frequently Asked Questions

Can I edit a KMZ file?

Not directly — KMZ files are compressed archives. You can open them in Google Earth or Google My Maps and edit the map there, then save it as a new KMZ file. If you want to edit the raw KML code, extract the KMZ file as a ZIP, open doc.kml in a text editor, make changes, and recompress it into a KMZ file.

What is the difference between KML and KMZ?

KML is the uncompressed text format. KMZ is KML compressed into a ZIP archive, usually with images and other files bundled inside. KMZ files are smaller and easier to share. Google Earth accepts both formats.

Why won't my KMZ file open in Google Earth?

The file may be corrupted, or Google Earth may not be installed correctly. Try downloading Google Earth again from google.com/earth. If that does not work, try uploading the KMZ file to Google My Maps instead. If neither works, the file itself may be damaged and you may need to ask the person who sent it for a fresh copy.

Can I open a KMZ file in Google Maps?

Not directly in the regular Google Maps website. You need to use Google My Maps (mymaps.google.com), which is Google's tool for creating and importing custom maps. Upload your KMZ file there and it will display on an editable map.

How do I share a KMZ file with someone else?

Email it as an attachment, upload it to cloud storage like Google Drive or Dropbox, or use a file-sharing service. The recipient can then download it and open it in Google Earth or Google My Maps. If you created the map in Google My Maps, you can also share a link directly instead of sending the file.