How to convert KMZ to KML
- Drop the
.kmzfile into the box above. - The tool opens the archive and takes out the KML inside.
- A
.kmlfile downloads with the same name as your KMZ.
KMZ and KML: the difference
A KML file is plain text. It lists placemarks, paths and polygons with their coordinates, names, descriptions and styles. A KMZ is a ZIP archive with a KML file inside, usually named doc.kml. The archive can also carry image files: custom icons, photos shown in balloons and picture overlays.
| KML | KMZ | |
|---|---|---|
| What it is | One text file | A ZIP archive with a KML inside |
| Size | Larger | Smaller, because it is compressed |
| Images | Can only link to them | Can carry them in the archive |
| Opens in a text editor | Yes | No |
You need the KML when a program or a web form accepts .kml only, when you want to read or edit the file in a text editor, or when a script has to parse it.
What is kept and what is left out
| Inside the KMZ | In the KML you download |
|---|---|
| Placemarks, paths and polygons | Kept, with every vertex and altitude |
| Folders, names, descriptions, extended data | Kept |
| Line colours, fills and label styles | Kept |
| Icons and photos linked from the internet | Kept, they still load from their address |
| Icons, photos and overlays stored in the archive | Left out |
| Additional KML files in the archive | Left out |
The KML is copied out of the archive without being rewritten, so nothing in it is changed. The tool reads one KML per archive: doc.kml when there is one at the top level, otherwise the first .kml file it finds.
When the KML refers to image files that were stored in the archive, the tool tells you how many. In Google Earth those placemarks show the default pin or an empty picture, because the KML alone does not hold the images. The shapes and their text are not affected.
Common problems
"This KMZ does not contain a KML file"
The file is not a real KMZ, or the download was cut short. Download or export it again.
The KML opens but shows nothing
Some KMZ files hold a NetworkLink: a pointer to data on a server instead of the data. The KML you get is that pointer. Open the KMZ in Google Earth, wait for the content to load, then right-click the loaded folder and save it as KML.
Icons or photos are missing
They were stored in the KMZ archive, and a KML file cannot carry them. If you need them, keep using the KMZ, or put the images online and point the KML to those addresses.
The file is too large
The free tool handles KMZ files up to 3 MB. A KMZ with many photos can pass that size even with few placemarks. For larger files or many files at once, use GaleriGIS Toolbox.
GaleriGIS Toolbox
$15 per month
- No conversion limit on every GaleriGIS online converter
- Several files at once, and larger files
- DWG and DXF in any UTM zone or EPSG code, KML/KMZ, Shapefile, GeoJSON, Excel and coordinates
- Files stay in your browser. Billed monthly, cancel any time
Payments are processed by Creem, our merchant of record. See our refund policy and terms.
Frequently asked questions
Is my file uploaded?
No. The KMZ is opened inside your browser. Only the converter code is downloaded from our server.
Can I do this without a tool?
Yes. Rename a copy of the file from .kmz to .zip, open it and take out the .kml file. In Google Earth you can also right-click the folder, choose Save Place As and pick KML as the file type.
How many files are free?
Three. After the third file the free quota fills up again over the next one to three days. GaleriGIS Toolbox has no limit.
I only want to look at the file
The KML and KMZ viewer opens it on a map in your browser.
I need a Shapefile or a table, not a KML
Go straight from the KMZ: the KMZ to SHP converter writes a Shapefile for ArcGIS or QGIS, and the KMZ to CSV and Excel converter writes one row per placemark.
More GaleriGIS tools
- KML to SHP converter
- SHP to KML converter
- KMZ to SHP converter
- SHP to KMZ converter
- KML to CSV and Excel converter
- KMZ to CSV and Excel converter
- CSV and Excel to KML converter
- GeoJSON to SHP converter
- SHP to GeoJSON converter
- GeoJSON to KML converter
- KML to GeoJSON converter
- DWG to KML converter
- DWG to SHP converter
- DXF to KML converter
- DXF to SHP converter
- UTM zone detector
- UTM, lat long and DMS converter
- KML and KMZ viewer