GeoConvert

Convert Shapefile to KML

Converting Shapefile to KML turns Esri vector data into a Google Earth document, reprojecting to WGS84 along the way if needed.

Drop your file here, or browse

Shapefile (.shp + siblings or .zip), GeoJSON, KML, KMZ, GPX, DXF

KML, KMZ, and GPX always use WGS 84 (EPSG:4326).

Report a conversion problem

Shapefile → KML · Setting up

Your report goes to a private GitHub repository for GeoConvert maintainers. Please leave out coordinates, personal information, and access keys.

Your files never leave your device — conversion runs entirely in your browser.

Troubleshoot this conversion in the FAQ

What is Shapefile?

The Shapefile is a widely used vector data format developed and published by Esri, stored as a set of sibling files that share a common base name.

A single "shapefile" is really a bundle: the mandatory .shp (feature geometry), .shx (a shape index for fast seeking), and .dbf (a dBASE table of attributes), usually alongside a .prj (coordinate system) and sometimes a .cpg (attribute encoding). It is the lingua franca of desktop GIS and is read by virtually every tool, from ArcGIS and QGIS to GDAL/OGR. Its age shows in several hard limits: DBF attribute field names are truncated to 10 characters, each file component is capped at 2 GB, every file holds a single geometry type, and attribute types are constrained to what DBF supports (limited-width text, numbers, dates, and booleans). For predictable, fail-closed imports, GeoConvert accepts inline dBASE III (0x03) C/N/F/L/D fields; newer dBASE/VFP variants and memo or binary fields are rejected.

What is KML?

KML (Keyhole Markup Language) is an XML-based format for expressing geographic annotation and visualization, adopted as an OGC standard and popularized by Google Earth.

KML describes Placemarks, geometries (points, lines, polygons), and their presentation using an XML tree that also supports folders for organization, rich styling (icons, colors, line widths, fills), balloon descriptions, and ground overlays. It is designed for display and sharing rather than analysis, and is opened natively by Google Earth, Google Maps, and most GIS packages. Because it targets a single global view, it has no concept of reprojection.

Why convert Shapefile to KML?

KML lets you show authoritative Shapefile data — parcels, zones, survey points — to clients and colleagues in the familiar Google Earth globe without any GIS software. It transforms a technical binary bundle into an interactive, shareable visualization. This is especially useful for presentations and public-facing sharing.

Coordinate systems

The coordinate reference system lives in the optional .prj sidecar as a WKT (well-known text) string. When the .prj is absent the CRS is genuinely unknown and consumers typically fall back to assuming WGS84, which can silently misplace data that was in another projection.

KML coordinates are always geographic WGS84 longitude, latitude, and (optionally) altitude in that order; the format has no CRS or projection field, so any data written to KML is expressed in EPSG:4326 by definition.

What to watch out for

  • KML is WGS84-only, so a Shapefile in a projected CRS is reprojected to EPSG:4326 during conversion.
  • Choose the verified source EPSG CRS when both .prj and .qpj are missing. GeoConvert assumes WGS 84 if you leave the source CRS blank, which can misplace projected features.
  • To label placemarks, include the matching DBF and enter its field name exactly as stored. Leave it blank to use the default names. Check the placemark list in Google Earth.
  • Shapefile styling is not part of the data, so placemarks receive default KML styling unless styled afterwards.

How to convert Shapefile to KML

  1. Drag your Shapefile file (.shp, .shx, .dbf, .prj, .cpg, .qpj) into the converter above, or click to browse.
  2. Confirm the source is Shapefile and choose KML as the output format.
  3. Optionally pick a target coordinate system (EPSG) to reproject.
  4. Click Convert and download your KML file. Everything runs in your browser.

Open a Shapefile in Google Earth

Use KML to share a parcel or survey layer with someone who works in Google Earth.

  1. Select the matching .shp and .shx together, add .dbf for attributes and .prj or .qpj for the source CRS, or upload a ZIP containing the set.
  2. If the projection file is missing, choose the verified source EPSG CRS. The KML output uses WGS 84.
  3. Open the downloaded .kml in Google Earth and check a known location and the placemark fields you need.

Frequently asked questions

Are my coordinates reprojected?
Yes, if the source is in a projected system. KML only supports WGS84, so coordinates are transformed to longitude/latitude.
Can I convert SHP to KML without a .prj file?
Yes. Include the matching .shp and .shx. If you have a .qpj file, include it for the CRS. Otherwise choose the source EPSG CRS used to create the dataset.
Do attribute values transfer?
Yes, DBF attributes are carried into the placemarks, though shown as KML attributes/descriptions rather than a table.

Format standards and references

These primary sources document the file formats. GeoConvert supports the conversion features and limits described above.

Related conversions