KMZ to KML Converter
Upload a Google Earth KMZ and download the main KML document from inside it, exactly as it was written. Icons, photos and overlay images packed in the KMZ are not included, so keep the original if your map depends on them.
Download Started!
How would you rate your experience with MiConvert?
What happens when you turn a KMZ into a KML
A KMZ is a ZIP archive holding a KML document, usually doc.kml, often next to custom icons, overlay images or 3D models. Google Earth opens it directly, but text editors, scripts, diffs and upload forms that only accept .kml need the plain XML file.
Our converter checks the upload's ZIP signature, so it does not rely on the extension. It extracts only the .kml files with 7-Zip and picks the main document. It looks first for doc.kml at the root of the archive, then for the first .kml at the root, then for the .kml closest to the top of the folder tree. That file is copied to your download byte for byte. Nothing is reformatted, re-encoded or rounded. If your .kmz turns out to be plain KML text with the wrong extension, it is returned as it is.
Because the copy is exact, everything written in the main document is still there: placemarks, folders, styles, descriptions, ExtendedData fields and any NetworkLink elements. What you lose is everything else in the archive. Icon images, ground overlay pictures, 3D models and any additional KML files are left behind. Relative paths such as files/icon.png then point to nothing, so Google Earth may show default pins or blank overlays. Sub-files that the main document links to are not merged into it.
People usually need this to edit coordinates or descriptions by hand, to feed a script or GIS workflow that expects a .kml, or to upload a map somewhere that rejects KMZ. If you actually want a shapefile, a spreadsheet of points or a GPS track, the KMZ to SHP, KMZ to CSV and KMZ to GPX pages convert the geometry itself. Each has its own limits, which are listed on those pages.
How to convert KMZ to KML
- Open the KMZ in Google Earth first if you can, and note whether it uses custom icons or image overlays. Those will not travel with the KML, so keep the original KMZ as well.
- Choose your .kmz file. It can come from Google Earth, Google My Maps or another mapping tool. No account is needed for files up to 50 MB, and a free account raises the limit to 100 MB.
- Start the conversion. We find the main KML document inside the archive and copy it unchanged. A typical KMZ is done almost as soon as the upload completes.
- Download the .kml file. The link stays valid for about 4 hours.
- Open the result in a text editor, Google Earth, QGIS or ArcGIS Pro. If icons now appear as default pins, change their href paths to web URLs, or go back to the KMZ.
What this KMZ to KML converter does
- Checks the file's ZIP signature instead of trusting the extension, so a ZIP of KML files named .kmz works, and a KML saved with a .kmz extension passes straight through
- Finds .kml files in nested folders, whatever the case of the extension, and picks the main one with a fixed rule: root doc.kml, then the first root .kml, then the shallowest
- Copies the main document verbatim, keeping its encoding, indentation, styles, folders and ExtendedData exactly as authored
- Gives a clear error when the archive contains no KML or cannot be opened, instead of an empty download
- Accepts up to 10 KMZ files in one batch on guest and free accounts
- Deletes the folder of extracted archive contents at the end of every conversion
KMZ to KML questions
Where did my icons and overlay images go?
Only the main KML document is extracted. Icons, overlay images, 3D models and other files in the archive are not included. The KML still refers to them by their relative paths, so those references break. If you need the images, keep using the KMZ, or unzip it yourself so the image folder sits next to doc.kml.
Can I just rename the KMZ to .zip and extract it?
Yes. A KMZ is a standard ZIP archive, and unzipping it by hand gives you every file, images included. That is the better choice if you want to keep the assets together. Our converter suits the case where you only want the main KML.
My KMZ contains several KML files. Which one do I get?
You get one file: doc.kml at the root if it exists, otherwise the first .kml at the root, otherwise the one closest to the top of the folder tree. Other KML files are not merged in. Any NetworkLink elements stay in the XML as written, but we do not download or combine the files they point to.
What does "No KML file found inside the KMZ archive" mean?
The archive opened, but no .kml document was inside it. This happens with ZIPs that only hold images or other GIS formats. Check that the file is a real Google Earth KMZ, or export it again from the program that made it.
I got "Processing failed. The file may be corrupt or unsupported." What can I do?
The archive could not be opened, usually because the download was incomplete or the file is damaged. Export or download the KMZ again, confirm that it opens in Google Earth, and upload the fresh copy.
Do I need this for ArcGIS Pro, QGIS or Python?
Not always. ArcGIS Pro's KML To Layer tool accepts KMZ directly, and QGIS reads KML as a vector layer. Converting helps when a tool, form or colleague insists on a plain .kml. In Python, the standard zipfile module can read doc.kml out of a KMZ. If you need a shapefile instead, use KMZ to SHP, but note that its attribute field names are cut to 8 characters.
Can you convert GPX, CSV, Excel or shapefiles to KML?
Not on this page. It only converts KMZ to KML, and GPX, GeoJSON and shapefile uploads are not accepted on MiConvert. Google Earth Pro can import GPX and CSV files and save them as KML, and QGIS can export most vector layers to KML.
What happens to my file after conversion?
It is processed on our server, not in your browser. The uploaded KMZ and its extracted contents are deleted as soon as the conversion finishes. The KML can be downloaded for about 4 hours, then it is deleted automatically. Anyone with the download link can use it until then. File names and basic job details are logged.