How to convert a Shapefile to KMZ
- Put the Shapefile parts in one ZIP:
.shp,.shxand.dbfare needed, and.prjshould be included. - Drop the ZIP into the box above. The .kmz downloads when the conversion is done.
- Open the .kmz in Google Earth, or send it to someone who will.
Why hand over a KMZ and not the Shapefile
A Shapefile is a set of files that only work together, and the person receiving it needs GIS software to open it. A KMZ is one file that Google Earth opens directly, so it suits clients, field crews and anyone who does not use GIS.
- One file. Nothing gets lost when it is attached to an email or copied to a phone.
- Compressed. KML is verbose text that repeats the same tags for every feature, so it compresses well. The KMZ is the same data in a smaller file.
- Attributes travel with the shapes. Every field of the .dbf is stored with its placemark.
What is inside the KMZ you get
The KMZ is a ZIP archive that holds one file, doc.kml, compressed with the standard ZIP method. That is the file name Google Earth looks for. There are no icons or images in it, because a Shapefile does not contain any. To inspect or edit the KML by hand, rename the .kmz to .zip and extract it, or use the SHP to KML converter to get the uncompressed .kml straight away.
Why the .prj file matters
Google Earth works in WGS 84 latitude and longitude. Many Shapefiles are stored in a projected system such as UTM or US State Plane, with coordinates in meters or feet. The .prj file says which system the data uses. When it is in the ZIP, the converter reads it and transforms the coordinates to WGS 84.
Without a .prj, the converter has to assume the coordinates are already latitude and longitude. If they are not, the shapes land far from where they belong or do not appear. Open the Shapefile in QGIS or ArcGIS, set the correct coordinate system and export it again. If you know the data is in UTM but not which zone, the UTM zone detector can help.
What changes during conversion
- Attributes from the .dbf are written to each placemark as extended data.
- Placemark names are taken from a field called
NAME(in any letter case) if the table has one. Otherwise the placemarks have no label, and all values are still in the details. - Several shapefiles in one ZIP are combined into one KMZ.
- Symbology is not carried over. A Shapefile stores no colours or line styles, so Google Earth draws the features with its default style.
Common problems
The ZIP cannot be read
- The ZIP needs at least
.shp,.shxand.dbf. - All parts of one Shapefile must share the same name, for example
parcels.shp,parcels.shx,parcels.dbf. - If it still fails, export the layer again from your GIS software. Very complex geometry can also be simplified first.
The shapes are in the wrong place
The .prj is missing from the ZIP or describes the wrong coordinate system. See the section on the .prj file above.
The file is too large
The free tool handles ZIP files up to 3 MB. 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 Shapefile is read and converted inside your browser. Only the converter code is downloaded from our server.
What is the difference from the SHP to KML page?
The conversion is the same. This page always gives a .kmz. The SHP to KML converter lets you choose between .kml and .kmz.
Can I check the result without Google Earth?
Yes. Drop the .kmz into the KML and KMZ viewer.
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 need the opposite direction
Use the KMZ to SHP converter.
More GaleriGIS tools
- KML to SHP converter
- SHP to KML converter
- KMZ to SHP 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