What Is a .KMZ File?
A .kmz file is a compressed Google Earth file: a ZIP archive containing a KML map file (usually named doc.kml) plus any icons, photos or overlay images it uses. It shows placemarks, routes and areas on a map. Google Earth, Google My Maps and GIS apps such as QGIS open KMZ files.
- Extension
- .kmz
- Full name
- Keyhole Markup Language (Zipped)
- Type
- Map and GPS file
- MIME type
- application/vnd.google-earth.kmz
- Developed by
- Keyhole (now Google)
About KMZ files
KMZ exists because KML is text and refers to images by path. Zipping the KML with its images makes one self-contained file that is smaller to email and cannot lose its icons. Google Earth reads the first .kml file at the root of the archive, which by convention is called doc.kml.
KMZ is common for heavy map content: ground overlays such as scanned historic maps or drone imagery draped onto the terrain, 3D models of buildings, and large sets of property or survey points. Government agencies and real-estate sites often publish parcel and zoning data as KMZ downloads.
Because it is an ordinary ZIP, you can rename a copy to .zip and extract it to see the KML and images inside; this is one of the few cases where renaming reveals the contents, but the KML still needs a map app to display. Google My Maps accepts KMZ uploads up to 5 MB uncompressed and drops some advanced features.
What KMZ files are used for
- Sharing Google Earth projects with custom icons and photos
- Map overlays of scanned maps, floor plans or drone imagery
- Property, parcel and zoning boundaries from county GIS sites
- Exporting saved places and tours from Google Earth Pro
How to open a .kmz file
Online / any browser
In Google Earth on the web, choose Projects > New project > Import KML file from computer and pick the KMZ. Google My Maps imports KMZ into a layer.
Windows
Google Earth Pro opens KMZ with File > Open or a double-click. QGIS loads it as a vector layer.
Mac
Install Google Earth Pro or QGIS. Archive Utility can also unzip a renamed copy to show the KML and images inside.
iPhone and Android
Open the KMZ in the Google Earth app from Files, Google Drive or an email attachment.
How to convert a .kmz file
To get a KML, open the KMZ in Google Earth Pro and save the place as KML, or unzip a copy and take doc.kml (custom icons will then need their image files next to it).
To convert KMZ to GPX or shapefile, open it in QGIS and use Export > Save Features As, or use GPSBabel for GPX.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming KMZ files
- Keep the KML inside named doc.kml; some apps only read that name.
- Name the KMZ after the dataset and date (county-parcels-2025-04.kmz), since parcel and zoning data change.
- Avoid dots and spaces in the base name if you will host the file for others to download into Google Earth.
Renaming lots of .kmz files? Use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .kml file is a map data file in Keyhole Markup Language, an XML format for placemarks, paths, polygons and overlays on Google Earth and other map apps. It stores coordinates with names, descriptions and styles as plain text. Google Earth, Google My Maps and most GIS programs open KML files.
A .gpx file is a GPS data file in the GPS Exchange Format, an XML format that stores waypoints, planned routes and recorded tracks with latitude, longitude, elevation and time. Fitness apps, GPS watches, bike computers and hiking apps use it to share and import routes and activities.
A .zip file is a compressed archive that bundles one or more files and folders into a single, smaller file. It uses lossless compression, so everything comes back exactly as it was when you extract it. Windows, macOS, iPhone, Android and Chromebooks all open ZIP files without installing anything.
A .xml file is a plain text data file in Extensible Markup Language, which stores information in nested, self-describing tags such as <invoice> and <total>. It is used for data exchange, configuration, sitemaps, RSS feeds and document formats. Any text editor or browser can open an XML file.
Frequently Asked Questions
How do I open a KMZ file without Google Earth?
Import it into Google My Maps in a browser, or open it in QGIS. To see the raw data, rename a copy to .zip and extract it.
Why will My Maps not import my KMZ?
It is probably over the 5 MB limit or uses features My Maps does not support, such as tours or large overlays. Open it in Google Earth instead.
Can I open a KMZ file in Google Maps on my phone?
Not directly. Open it in the Google Earth app, or import it into My Maps on a computer and then view that map on your phone.