Back to all articles
Tutorial

Converting KML to Shapefile: A Step-by-Step Guide

Learn how to convert KML files into ESRI Shapefiles. Understand the limitations of the conversion and how to preserve your data.

Muhammad Junaid BaigNovember 1, 20266 min read

KML is the standard format for Google Earth. However, if you want to perform spatial analysis or use the data in professional GIS software like QGIS or ArcGIS Pro, you need to convert it to a Shapefile.

The Challenges of KML to Shapefile

Converting between these formats is usually straightforward, but there are a few things to watch out for:

  • Geometry Types: KML often stores mixed geometry types (points and polygons) in a single file. A Shapefile can only store one geometry type. You may need to separate them.
  • Attribute Truncation: Shapefiles limit field names to 10 characters. KML attributes with longer names will be truncated.
  • Styling: Shapefiles do not support the complex styling (icons, colors) found in KML.

How to Convert KML to Shapefile

You can perform this conversion using free, browser-based tools without installing any software.

  1. Navigate to the GIS Converter tool.
  2. Upload your .kml or .kmz file.
  3. Select "ESRI Shapefile (.zip)" as the output format.
  4. Click Convert. The tool will automatically extract the geometry and attributes.
  5. Download the resulting ZIP file, which contains the .shp, .shx, .dbf, and .prj files.

Best Practices

  • If your KML contains multiple folders or layers, the converter may create multiple Shapefiles. Check the resulting ZIP file.
  • Clean up attribute names before converting if you are concerned about the 10-character limit.

Summary

Converting KML to Shapefile is a common workflow for moving data from the web to the desktop. By using a browser-based tool, you can quickly perform the conversion while maintaining the integrity of your spatial data.

#KML#Shapefile#Conversion#Tutorial

Ready to try it yourself?

Export ArcGIS REST services, WFS endpoints, and ArcGIS Online datasets to Shapefile, GeoJSON, KML, or GeoPackage — all in your browser.

Open the Downloader