KML, KMZ, GPX, GeoJSON, CSV or a shapefile (parts or ZIP), up to 200 MB, converted to KML in your browser. Nothing is uploaded.

Files never leave your browserHow?

This SHP to KML converter reads a shapefile — the .shp with its .dbf, .prj and .cpg, or a ZIP — reprojects it from its coordinate system to WGS 84 and writes KML for Google Earth and Google My Maps. DBF attributes become ExtendedData, and you pick which field names the placemarks.

Last updated:

How it works

  1. Open the shapefile

    Press Open shapefile and choose the .shp with its .dbf, .prj and .cpg, or the ZIP.

  2. Choose the name field

    Name from selects the DBF column shown as the placemark name; set Line color and Width.

  3. Convert

    Press Convert to KML and open it in Google Earth.

Features

  • Projected data welcome

    UTM, state plane, national grids and other CRS in the .prj are converted with proj4js; KML always has to be WGS 84 longitude / latitude.

  • Attributes travel

    Every DBF column is written as ExtendedData, so Google Earth shows them in the balloon.

  • Code pages

    Cyrillic, Central European and Asian DBF encodings named in the .cpg are decoded correctly.

Limits & privacy

One input can be up to 200 MB (50 MB on phones and devices with 4 GB of memory or less) and up to 5 million vertices (1 million there).

The shapefile is converted in your browser and never uploaded — see the privacy page. For web maps use SHP to GeoJSON.

Example: you receive zoning.zip in a national grid. Convert it to KML with Name from set to ZONE_CODE and drop it into Google Earth to show the zones to a client.

FAQ

Which files do I need?

The .shp and .dbf; the .prj for projected data; the .cpg for non-Latin text. All of them, or one ZIP.

My shapefile has no .prj

If the coordinates already look like longitude / latitude, they are used as WGS 84; otherwise the converter stops and asks for the .prj.

How do I choose the placemark names?

With Name from — for example NAME, PARCEL_ID or STREET.

Can I convert several shapefiles at once?

Yes, several shapefiles convert at once: select them together or zip them; each becomes a KML folder.

How do I go the other way?

KML to SHP.

Related tools