Free shapefile to KML · no sign-up

SHP to KML converter online: turn a shapefile into a KML for Google Earth, with its attributes

Drop the zipped shapefile (or .shp, .dbf, .prj). The viewer reprojects it to WGS 84 from its .prj, writes a KML or KMZ with every attribute as placemark data, then reads the KML back and checks every coordinate.

SHP to KML converter

About the format

Why convert SHP to KML

Shapefiles come out of ArcGIS and QGIS; KML is what Google Earth, Google My Maps and many phone apps open. Converting needs two things done right: the coordinates must be reprojected from the shapefile's own system (often UTM or a national grid, in metres) to WGS 84 longitude/latitude, and the attribute table must survive as placemark data, not be thrown away.

Who it's for

GIS staff sending data to clients who use Google Earth, consultants sharing site boundaries, farmers putting field shapefiles into a phone app, telecom and solar planners showing routes or plots to landowners, and teachers preparing data for students.

In short

Input
Zipped shapefile, or .shp + .dbf + .prj (+ .cpg) together; several shapefiles in one zip become KML folders
Reprojection
From the .prj (ESRI or OGC WKT) to WGS 84, with datum shifts for common national grids
Output
KML 2.2 or KMZ: placemarks named from a name field, every attribute as ExtendedData
Check
The KML is read back: feature count, every coordinate (difference in metres) and attribute values compared

How to do it

  1. Drop the shapefile

    Drop the zip, or select the .shp, .dbf and .prj together. The panel shows the feature count and the coordinate system found in the .prj.

  2. Check the map

    The shapes should sit in the right place on the background map. If the .prj was missing, check the guessed system and change it if needed.

  3. Convert to KML

    Press Convert to KML (or pick KMZ), read the check (features, coordinates, attributes), and download.

Good to know

A field called name (or NAME, Name, title, label) becomes the placemark name that Google Earth shows; all fields go into ExtendedData, which Google Earth shows in the balloon. Each shapefile gets one line and fill colour. Very large shapefiles (hundreds of thousands of shapes) make KML files that Google Earth opens slowly; KMZ is smaller.

What this tool doesn't do

  • Doesn't edit features or attributes (it views, measures and converts)
  • Doesn't keep the shapefile's symbology (.lyr, .qml) or label settings
  • Doesn't build KML regions or level-of-detail for huge datasets
  • Doesn't write 3D extrusion or altitude modes

What happens to your file

Opens on your device; we never see it. If you make a share link for a file, we keep that copy 30 days.

Opens on your device; we never see it. If you make a share link for a file, we keep that copy 30 days.

  • Opened on your device

    The viewer is a program that runs inside this web page. Your file goes from your disk into it, and nowhere else.

  • Nothing kept unless you share

    Close the tab and it's gone. We only get a copy if you make a share link for a device file, and delete it after 30 days.

  • Works with files by link

    Paste a public link and your browser downloads the file straight from where it's stored.

The details: GIS file viewer and converter

Questions

My KML shows up in the wrong place in Google Earth. Why?

The shapefile's coordinate system was missing or wrong. This converter reads the .prj and shows the system before converting; if the shapes aren't where they should be on the map here, fix the system in the panel first, then convert.

Are the attributes kept?

Yes, every field becomes a Data element in the placemark's ExtendedData, and Google Earth lists them in the balloon. A name field becomes the placemark's name.

KML or KMZ?

Same content. KMZ is the KML zipped: smaller to send and the form Google Earth saves. Choose KML if another program needs to read the text.