ConvertCSV

Convert KML to CSV for Google Earth Placemarks and Excel

By Convert CSV Editorial TeamLast updated August 3, 2026

Extract KML and KMZ placemark names, coordinates, and descriptions to CSV. Prepare Google Earth and Maps exports for Excel, CRM, and GIS joins.

KML Holds Maps; CSV Holds Tables

KML (Keyhole Markup Language) stores placemarks, paths, and polygons for Google Earth and many mapping tools. Business teams still need those pins in Excel for territory planning, store lists, and CRM uploads. Converting KML to CSV flattens placemark names, descriptions, and coordinates into rows — ideal for US field teams, UK retail networks, Australian site surveys, and EU operations that live in spreadsheets.

KML vs KMZ vs GeoJSON

Know what you were sent.

FormatWhat it isCSV path
KMLXML map documentKML to CSV directly
KMZZipped KML (+ maybe images)Unzip to KML first, then convert
GeoJSONJSON web-map featuresGeoJSON to CSV
CSV of pinsSpreadsheet lon/latCSV to KML when you need Earth again

Step-by-Step: KML → CSV

Placemark-oriented workflow.

  • If you have KMZ, unzip it and locate the .kml document (often doc.kml).
  • Open KML to CSV on Convert CSV Online.
  • Preview rows: Name, description, longitude, latitude (and altitude if present).
  • Confirm coordinate order for your destination system.
  • Download CSV; clean descriptions (HTML in description is common).
  • Optional: CSV to Excel for stakeholders, or join to other business keys.
  • Keep the original KML if you still need paths/polygons visually in Earth.

Example placemark XML (simplified)

Real files nest more folders and styles — converters look for Placemark nodes:

<Placemark>
  <name>Store 12</name>
  <description>Open 9–6</description>
  <Point>
    <coordinates>-0.1276,51.5072,0</coordinates>
  </Point>
</Placemark>

Example CSV row

KML coordinates are lon,lat[,altitude] — label columns explicitly:

name,description,longitude,latitude,altitude
Store 12,Open 9–6,-0.1276,51.5072,0

Coordinate Order and Sanity Checks

Same trap as GeoJSON: swapped lat/lon misplots cities.

  • KML <coordinates> order is longitude, latitude, optional altitude.
  • After conversion, spot-check a landmark you recognize on a map.
  • UK national grid and other projected CRSs are not lon/lat — reproject in GIS first if your KML used a non-WGS84 workflow (uncommon in Earth exports, common in professional GIS).
CityLongitudeLatitude
London-0.1351.5
New York-74.040.7
Sydney151.2-33.9
Toronto-79.443.7
Berlin13.452.5

Paths and Polygons

Not every KML geometry becomes one tidy CSV row.

  • Point placemarks → one row each (best case).
  • LineString paths → either skip, summarize (start/end), or explode vertices to many rows.
  • Polygons → prefer GIS formats or WKT columns; centroid-only CSV loses boundaries.
  • Folders: flatten placemarks; keep a folder/path column if the converter provides it.

Descriptions, HTML, and Extended Data

Earth users paste rich notes into descriptions.

  • Strip or retain HTML depending on whether Excel consumers want tags.
  • ExtendedData / SchemaData key-value pairs should become columns when present.
  • UTF-8 matters for café names in Montréal, München, or São Paulo.
  • Very long description cells: fine in CSV with quoting; awkward in Excel UI.

Python sketch: points only

Production parsers should use a real KML/XML library; this shows the shape of the problem:

import csv
import xml.etree.ElementTree as ET

NS = {"kml": "http://www.opengis.net/kml/2.2"}
root = ET.parse("places.kml").getroot()

with open("places.csv", "w", newline="", encoding="utf-8") as out:
    writer = csv.writer(out)
    writer.writerow(["name", "longitude", "latitude", "altitude"])
    for pm in root.findall(".//kml:Placemark", NS):
        name = (pm.findtext("kml:name", default="", namespaces=NS) or "").strip()
        coord = pm.findtext(".//kml:coordinates", default="", namespaces=NS) or ""
        parts = coord.strip().split(",")
        if len(parts) < 2:
            continue
        lon, lat = parts[0], parts[1]
        alt = parts[2] if len(parts) > 2 else ""
        writer.writerow([name, lon, lat, alt])

Round-Trip: CSV → KML

When ops updates a spreadsheet of sites and needs Earth again.

  • Maintain columns name, longitude, latitude (or lat/lon — be consistent).
  • Use CSV to KML to rebuild placemarks.
  • You will not fully restore original styles, camera tours, or network links from a simple attribute CSV.
  • Validate a few pins in Google Earth after re-import.

Excel and CRM Handoffs

After KML to CSV, treat coordinates as numbers and store IDs as text.

  • European Excel: import comma CSV via the wizard if semicolons are default.
  • Join store_id keys carefully — Earth names are often not unique.
  • Power BI / Tableau: assign geo roles to lat/lon after load.
  • See GeoJSON to CSV when your source is a web FeatureCollection instead of Earth.

Common Mistakes

Map-room frequent flyers.

  • Trying to convert KMZ without unzipping.
  • Swapping lat and lon in CRM imports.
  • Expecting polygon territory files to become one row per region with full boundaries in two columns.
  • Editing coordinates in Excel with low precision and writing them back.
  • Assuming folder structure survives a flat CSV.

Best Practices

Pins in CSV; rich geometry in KML/GeoJSON.

  • Use KML to CSV for placemark attribute tables.
  • Keep authoritative geometry in KML/KMZ/GeoJSON.
  • Label lon/lat columns unambiguously.
  • QA with known landmarks after every conversion.
  • Version source KML alongside exported CSV.

Why Use Convert CSV Online?

Convert CSV Online is free, browser-based, and requires no account for everyday conversions. KML to CSV extracts placemark tables for Excel; CSV to KML rebuilds pins from spreadsheets. GeoJSON tools cover web-map twins. Client-side workflows fit US, UK, Canadian, Australian, and EU teams on Windows, macOS, and Linux browsers.

Convert a KML file now

Upload or open the KML, preview placemark rows, download CSV, and continue in Excel or your CRM.

Conclusion

KML to CSV turns Earth placemarks into spreadsheet rows when you respect lon/lat order and treat paths/polygons as special cases. Use it for pins and attributes; keep KML when the map itself is the deliverable.

FAQ

Can I convert KML to CSV?

Yes. Placemark points convert cleanly into rows with name, description, and coordinates. Paths and polygons need different strategies.

How do I convert KMZ to CSV?

Unzip the KMZ, find the .kml file inside, then run KML to CSV on that document.

What order are KML coordinates in?

Longitude, latitude, then optional altitude — matching the KML specification.

Can I open KML in Excel directly?

Not usefully as a table. Convert KML to CSV first, then open CSV in Excel or convert CSV to Excel.

How do I create KML from a spreadsheet?

Save a CSV with name and lon/lat columns, then use CSV to KML. Styles and folders may need Earth-side editing afterward.

Should I use GeoJSON or KML?

KML is common for Google Earth handoffs; GeoJSON is common for web maps. Both can flatten to CSV for attribute work.

References

Convert your CSV in the browser

Preview, clean, and convert CSV files free with Convert CSV Online—no installation and no account required for everyday conversions.