How to convert KMZ to Shapefile
- In Google Earth Pro, right-click the folder or placemark, choose Save Place As and save it as KMZ.
- Drop the .kmz into the box above. You do not need to unzip it first.
- A ZIP downloads with the Shapefile parts: .shp, .shx, .dbf, .prj and .cpg.
- Extract the ZIP and add the .shp to ArcGIS Pro, ArcMap or QGIS.
What is inside a KMZ file
A KMZ is a ZIP archive with a different file extension. Rename places.kmz to places.zip and you can open it like any other archive. Inside you will usually find:
- A KML file, named
doc.kmlby convention. This holds the placemarks, paths and polygons, with their names, descriptions and styles. - Supporting files, often in a
filesfolder: custom icons, photos shown in placemark balloons, and images used as ground overlays.
Only the KML carries geometry, so that is the part that becomes a Shapefile. The converter opens the archive, takes the KML at the top level of the archive (or the first one it finds in a folder) and converts it. The pictures and icons stay behind, because a Shapefile has no place to store them.
KMZ or KML: which one do you have?
| KML | KMZ | |
|---|---|---|
| What it is | One XML text file | A ZIP archive with a KML inside |
| Icons and images | Linked by path or URL | Can be packed in the same file |
| Open in a text editor | Yes | Only after unzipping |
| Typical source | Exports from scripts and web apps | Google Earth, field apps, files sent by email |
Both give the same Shapefile here. If your file ends in .kml you can drop it on this page too, or use the KML to SHP converter.
What you get in the ZIP
A Shapefile holds one geometry type, while a KMZ from Google Earth often mixes placemarks, paths and polygons. The converter writes one shapefile for each type it finds, so a mixed KMZ gives you up to three: points, lines and polygons. Each one has a .shp and .shx (geometry and index), a .dbf (attribute table), a .prj (WGS 84, EPSG:4326) and a .cpg (UTF-8).
What changes during conversion
- Images and icons are left out. Photos, custom icons and ground overlay images packed in the KMZ are not converted.
- Balloon descriptions become plain attribute text. If a description contains HTML, the tags are written as text in the
descriptfield. Text longer than 254 bytes is cut, because that is the size of a text field in a .dbf. - Field names are shortened to 8 characters, which fits the 10 character limit of the Shapefile format. Names that would collide get a number at the end.
- All attribute values are written as text. Convert a field to a number in your GIS software if you need to calculate with it.
- Altitude is dropped. The shapefiles are 2D.
- Multi-part features are split into one feature per part, each with the same attributes.
- Styles are not carried over. Colours and line widths belong to KML and have no place in a Shapefile.
Common problems
"This KMZ does not contain a KML file"
The archive is damaged, or it is a ZIP that was renamed to .kmz. Open the file in Google Earth to check that it loads, then save it again as KMZ. If it was a download, download it again.
"This KMZ only contains a NetworkLink"
Some KMZ files hold only a pointer to data on a server and no shapes of their own. Open the file in Google Earth, wait for the data to load, then save the loaded folder as a new KMZ.
The KMZ only has an image overlay
A KMZ made from a scanned map or a georeferenced picture contains an image and its corner coordinates, with no points, lines or polygons. There is nothing to write to a Shapefile, so the converter reports that the file has no geometry.
The file is too large
The free tool handles files up to 3 MB. A KMZ is often large because of the pictures packed in it, not the geometry. Saving the same places as KML from Google Earth gives a file without the pictures that you can convert with the KML to SHP converter. 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 unzipped and converted inside your browser. Only the converter code is downloaded from our server.
Do I have to extract the KMZ first?
No. Drop the .kmz as it is.
My KMZ has more than one KML inside. Which one is converted?
The one at the top level of the archive, which is the file Google Earth opens. Other KML files stored in folders of the archive are not read.
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.
Can I look at the KMZ before converting it?
Yes, open it in the KML and KMZ viewer. If you need a table of the placemarks, not a Shapefile, use KMZ to Excel. For the opposite direction there is SHP to KMZ.
What can I do with the Shapefile next?
Open it in any GIS software. In GaleriGIS Pro, our Windows app, you can put it on satellite imagery, style it and print a map layout.
More GaleriGIS tools
- KML to SHP converter
- SHP to KML converter
- SHP to KMZ converter
- KML to Excel converter
- KMZ to Excel converter
- Excel to KML converter
- GeoJSON to SHP converter
- SHP to GeoJSON converter
- DWG to KML converter
- DWG to SHP converter
- DXF to KML converter
- DXF to SHP converter
- UTM zone detector
- KML and KMZ viewer