convert-csv.com logo convert-csv.com

Convert KML to CSV / Excel

Turn KML placemarks and geometry into CSV or Excel rows for mapping and analysis.

100% Secure - your files are processed in your browser and never sent to a server.
Drop your file hereor click to browseSupports KML or TXT files (.kml, .txt) (Max 100MB)

KML (Keyhole Markup Language) is an XML-based format for displaying geographic data in mapping applications like Google Earth, Google Maps, and ArcGIS. Each KML document contains Placemark elements with coordinates, names, descriptions, and optional styling. Converting KML to CSV extracts these geographic features into a tabular format with columns for latitude, longitude, altitude, name, and description. This tool parses KML files entirely in your browser using the DOMParser API. It extracts coordinates from Point, LineString, and Polygon geometries, placing latitude and longitude in separate columns. Placemark names, descriptions, and custom data elements (ExtendedData) are expanded into individual CSV columns. The tool handles KML files with hundreds of placemarks and supports nested folders and documents. All geographic data stays on your device during conversion, making it safe for sensitive mapping data from real estate surveys, environmental studies, or infrastructure assessments. The output CSV is ready for import into GIS software, spreadsheets, or spatial databases.

How to use the Convert KML to CSV tool

  1. Load your KML data: Drag and drop your .kml file, choose a file from your file explorer, or paste KML content directly into the paste area.
  2. Choose output delimiter: Select a delimiter for the output CSV: comma, semicolon, tab, or pipe.
  3. Convert to CSV: Click the "Convert Data" button to extract KML placemarks and geometry into CSV rows.
  4. Export results: Copy the results to your clipboard, download as a local file, or export to Excel format.

Frequently asked questions

What KML geometry types does the converter support?
The tool handles Point, LineString, LinearRing, and Polygon geometries. Coordinates are extracted and placed in latitude, longitude, and (when present) altitude columns.
Can I extract ExtendedData from KML Placemarks?
Yes. The parser extracts all ExtendedData elements and adds them as individual columns in the CSV output. Data values are placed in columns named after their Data element names.
Does it handle nested KML Folders and Documents?
Yes. The tool recursively processes Placemarks inside Folders and Documents, extracting all geographic features regardless of the nesting structure.
Is the output compatible with Google Earth or Google Maps?
The CSV output includes latitude and longitude columns that can be imported into Google Earth (via CSV import) or Google My Maps. You can also import the data into QGIS or other GIS software.
How does the tool handle KML files with styling information?
Styling elements (icons, colors, line widths) are ignored during conversion. The tool focuses on extracting geographic coordinates and descriptive data from Placemarks.

Related tools