How to convert KML to Shapefile
- In Google Earth, right-click the folder or placemark and choose Save Place As, then save it as KML or KMZ.
- Drop the file into the box above.
- 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 you get in the ZIP
A Shapefile can hold only one geometry type, while a KML often mixes placemarks, paths and polygons. The converter writes one shapefile for each type it finds, so a mixed KML gives you up to three, named POINT, POLYLINE and POLYGON.
- .shp, .shx: the geometry and its index.
- .dbf: the attribute table, with the name, description and any extended data of each placemark.
- .prj: the coordinate system, WGS 84 (EPSG:4326), the same one Google Earth uses.
- .cpg: marks the text as UTF-8 so accented and non-Latin characters display correctly.
What changes during conversion
- Field names are cut to 8 characters. The Shapefile format allows only short field names. Names that would collide get a number at the end.
- All attribute values are written as text, up to 254 bytes per value. 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, icons and line widths belong to KML and have no place in a Shapefile.
Common problems
"The KML has no geometry"
Some KML files contain only a NetworkLink, 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 KML.
The layer lands in the wrong place
The output is always in WGS 84 latitude/longitude. If your GIS project uses UTM or another projected system, let the software reproject the layer on the fly, or export it to the project's coordinate system. Do not assign a different coordinate system to the file; that moves the data.
The file is too large
The free tool handles 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 KML is read and converted inside your browser. Only the converter code is downloaded from our server.
Does it read KMZ?
Yes. A KMZ is a zipped KML. The tool opens it and converts the KML inside. Images and icons packed in the KMZ are not part of a Shapefile and are left out.
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.
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
- SHP to KML converter
- KMZ to SHP 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