A KMZ file stores map data and images in a compressed folder
A KMZ file is a compressed folder that holds map information, usually created by Google Earth or similar mapping software. The name stands for "Keyhole Markup Language Zipped" — it's the map data format wrapped up in a ZIP archive so it takes up less space and moves around easier. When you open a KMZ file, you're looking at geographic coordinates, place markers, paths, or 3D models tied to real locations on Earth.
The most common reason you'll encounter a KMZ file is if someone sent you map data from Google Earth, or if you downloaded a map layer or tour someone created. You might also get one from a real estate agent showing property boundaries, a hiking website sharing a trail route, or a business mapping out delivery zones. The file itself is just a container — inside it are the actual map instructions written in KML (Keyhole Markup Language), plus any images or 3D models that go with them.
Key Takeaways
- KMZ files are compressed folders containing map data and images, most commonly created by Google Earth or other mapping programs.
- You can open a KMZ file directly in Google Earth on your computer, phone, or web browser without installing anything extra.
- If you don't have Google Earth, you can rename the file to .ZIP, extract it, and view the KML text file inside with any text editor to see the raw location data.
- KMZ files preserve map markers, paths, 3D models, and images all together in one portable file that's smaller than if you sent each piece separately.
Opening a KMZ file in Google Earth
The straightforward way to open a KMZ file is with Google Earth, which is free and works on Windows, Mac, Android, and iPhone. If you have Google Earth installed on your computer, right-click the KMZ file and select "Open with Google Earth" — the map will load with all the markers, paths, and images exactly as the creator intended.
If you don't have Google Earth installed yet, go to google.com/earth, download the version for your device, and install it. Once it's running, open the File menu and choose "Open" or "Import KML File", then navigate to your KMZ file. The map will display immediately. On a phone, download the Google Earth app from your app store, tap the menu button (three horizontal lines), select "Projects", and choose "Import KML file" to load your KMZ.
You can also use Google Earth on the web without downloading anything — go to earth.google.com in your browser, click the menu, and select "Import KML file". This works on any computer with an internet connection and a modern web browser.
Extracting and viewing the contents without Google Earth
If you don't want to use Google Earth, you can open a KMZ file like any other compressed folder. On Windows, right-click the KMZ file, select "Rename", and change the .KMZ extension to .ZIP. Then right-click again and choose "Extract All" — Windows will create a folder with the contents inside.
On a Mac, double-click the KMZ file and macOS will automatically extract it into a folder. Look for a file named "doc.kml" or something similar — that's the actual map data file. Open it with any text editor (right-click, select "Open With", and choose TextEdit or another editor). You'll see the raw location information written as text, including latitude and longitude coordinates, place names, and descriptions.
This method shows you the underlying data but won't display the map visually the way Google Earth does. It's useful if you just need to read the coordinates or check what information is stored in the file, but for actually seeing the map and interacting with it, Google Earth is the better choice.
What's actually inside a KMZ file
When you extract a KMZ file, you'll typically find a KML file (the map instructions), one or more image files (like PNG or JPG), and sometimes a folder called "files" that holds additional images or 3D models. The KML file is plain text that describes each location, marker, path, or shape using geographic coordinates and styling information.
For example, a KML file might say "place a red marker at latitude 40.7128, longitude -74.0060 with the label 'New York City'". If the creator added photos or custom icons, those image files sit alongside the KML so they load together. 3D models of buildings or terrain are stored the same way. The ZIP compression shrinks all of this down so the whole package is smaller and easier to email or download.
Creating your own KMZ files
If you want to create a KMZ file to share map data with someone else, Google Earth is the tool to use. Open Google Earth, create your markers, paths, or 3D models by clicking on the map, and organize them into a folder in the left sidebar. Right-click the folder, select "Save place as", and choose where to save it — Google Earth will automatically create a KMZ file.
You can also create a KMZ file by building a KML file in a text editor and then compressing it into a ZIP folder, but that requires knowing the KML syntax. For most people, using Google Earth's built-in save feature is much simpler. Once you have your KMZ file, you can email it, upload it to a website, or share it however you normally share files.
KMZ files on the web and in other mapping programs
Many mapping websites and programs beyond Google Earth can read KMZ files. ArcGIS, QGIS (a free mapping program), and some real estate and GIS software all support KMZ import. If you're working with professional mapping tools, check the import menu to see if KMZ is listed as an option.
Some websites also let you upload a KMZ file directly to display the map on a web page. Real estate sites, hiking trail databases, and local government websites sometimes offer this feature. The process is usually just clicking an "Upload Map" or "Import KML" button and selecting your file. The website then displays the map data in your browser without you needing to install anything.
Troubleshooting KMZ files that won't open
If a KMZ file won't open in Google Earth, the file might be corrupted or incomplete. Try downloading it again from wherever you got it, or ask the person who sent it to you to resend it. Make sure the file actually ends in .KMZ — sometimes files get renamed or the extension gets hidden by your operating system.
If Google Earth is installed but won't open the file when you double-click it, try opening Google Earth first, then using the File menu to import the KMZ manually. On Windows, if the file is associated with a different program, right-click it and explicitly choose "Open with Google Earth" instead of just double-clicking.
If you're trying to open a KMZ file on a phone and it's not working, make sure you have the Google Earth app installed from your device's app store — the web version doesn't support file uploads on mobile. For Android, you may also need to grant the app permission to access your files; check your phone's settings if the import option doesn't appear.
Frequently Asked Questions
Can I open a KMZ file on my phone?
Yes. Download the Google Earth app from the App Store (iPhone) or Google Play (Android), tap the menu, select "Projects", and choose "Import KML file". Navigate to your KMZ file and it will open in the app. You can also email the KMZ to yourself and open it from the email attachment on your phone.
What's the difference between KML and KMZ?
KML is the actual map data file written as text. KMZ is KML compressed into a ZIP folder along with any images or 3D models. KMZ is smaller and keeps everything together, so it's the format you'll usually see when someone shares map data. KML files are used when the data is stored on a server or embedded in a website.
Can I edit a KMZ file?
You can extract the KMZ, edit the KML text file inside with a text editor if you know the KML format, and then re-compress it into a ZIP file and rename it back to .KMZ. For most people, it's easier to open the KMZ in Google Earth, make your changes there, and save it as a new KMZ file.
Why would someone send me a KMZ file instead of just describing the location?
A KMZ file preserves exact coordinates, multiple locations, paths, images, and styling all in one file. It's much more precise than written directions and lets you see everything on a map. Real estate agents, tour operators, and researchers use KMZ files to share complex geographic information that would take paragraphs to describe in words.
Is a KMZ file safe to open?
KMZ files are just map data and images — they can't run code or install software on your computer. They're safe to open. The only risk is if someone claims a KMZ file is something it's not, so use common sense about files from unknown sources, just as you would with any file you download.