PrivateCSV

Convert KML to CSV

Turn Google Earth or My Maps placemarks into a spreadsheet.

KML file

  • Nothing is uploaded
  • Free · no account
  • Tested on 400k-row files

Reference

KML to CSV: how it works

The tool is above. Below: a short overview, optional step-by-step detail, honest browser limits, and answers to common questions.

Last updated 2 min read

About this tool

PrivateCSV converts a KML file, exported from Google Earth, Google My Maps or a GIS app, to CSV for Excel or Google Sheets. Every placemark becomes one row with its name, description as plain text, latitude, longitude and altitude, the folder it sits in, and every custom field (ExtendedData) as its own column. Lines and polygons keep their full shape as a WKT column. The file is converted in your browser and never uploaded.

How to check that your file is never uploaded

Read the step-by-step guideHow-to, example and use cases (~2 min)

How to convert a KML file to CSV

  1. Export the map as KML: in Google My Maps, open the menu (three dots) > Export to KML/KMZ and tick “Export to a .KML file”; in Google Earth, right-click a folder > Save Place As > KML.
  2. Drop the .kml file on the picker above. A preview shows the places.
  3. Click Convert to CSV and open the file in Excel or Google Sheets.

Example

Two placemarks as CSV rows.

places.kml
<Placemark>
  <name>Museo del Prado</name>
  <ExtendedData><Data name="Category"><value>Museum</value></Data></ExtendedData>
  <Point><coordinates>-3.6921,40.4138</coordinates></Point>
</Placemark>
<Placemark>
  <name>Hotel</name>
  <description>Calle de Atocha 10</description>
  <Point><coordinates>-3.7003,40.4128</coordinates></Point>
</Placemark>
places.csv
Name,Description,Latitude,Longitude,Category
Museo del Prado,,40.4138,-3.6921,Museum
Hotel,Calle de Atocha 10,40.4128,-3.7003,

When you need it

A list of places in a spreadsheet
Stores, sites, customers or points of interest drawn on a map become rows you can sort, filter, share or import into a CRM.
Coordinates for another tool
Get latitude and longitude columns to load the places into Excel maps, Power BI, Tableau, a database or a route planner.
Edit a map in bulk
Fix names and descriptions in a spreadsheet, then rebuild the KML with the CSV to KML converter and import it again.

Columns

Name, Description (HTML from My Maps turned into plain text with line breaks), Latitude, Longitude, Altitude when the file has one, Geometry and WKT when there are lines or polygons, Folder (the path of folders, such as Trip / Day 1), then one column per ExtendedData or SchemaData field. Coordinates are written in decimal degrees exactly as stored in the file.

Lines and polygons

For a route or an area, Latitude and Longitude give its first point, and the WKT column holds the whole shape (LINESTRING or POLYGON, longitude first), which QGIS, PostGIS, BigQuery and most GIS tools read.

Browser and file limits (not a trial)

These are technical limits of running in your browser—device memory, encoding and what this tool does not do. They are not a free trial, account quota or paid plan. There is no subscription.

  • KMZ files (zipped KML) are accepted too: the KML inside is read automatically, and images in the archive are ignored.
  • Styles, icons, images and network links are not exported.

Frequently asked questions

How do I convert a KML file to CSV?

Choose the .kml file above and click Convert to CSV. Each placemark becomes a row with its name, description, latitude and longitude, plus its custom fields. The file is not uploaded.

How do I export Google My Maps to Excel?

In My Maps, open the map menu > Export to KML/KMZ, tick “Export to a .KML file”, download it, then convert it here. Each layer becomes a folder and each place a row of the CSV.

Can I convert a KMZ file with the KML converter?

Yes. A KMZ is a ZIP archive holding a KML file; drop it here or on the KMZ to CSV page and the KML inside is unzipped and converted in your browser.

Why are latitude and longitude swapped in KML?

KML stores coordinates as longitude, latitude, altitude. The converter puts them in separate Latitude and Longitude columns, so you do not have to swap them yourself.

Related tools

Go further

Your files never leave your device

PrivateCSV runs this tool in your browser. No upload, no account, no trial and nothing to install.