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 CSV to KML converter turns spreadsheet rows with coordinates into KML placemarks for Google Earth and My Maps. Latitude and longitude columns are found by name (lat, latitude, y, lon, lng, longitude, x …) or picked by you, DMS and decimal commas are read, and other columns become ExtendedData.

Last updated:

How it works

  1. Open the CSV

    Press Open CSV file; the columns are detected and the points shown.

  2. Check the columns

    Correct Latitude column, Longitude column or WKT geometry column if needed; Rows become Points or One line.

  3. Convert

    Pick Name from and press Convert to KML.

Features

  • Smart column detection

    Names in several languages (Breite / Länge, latitud / longitud, latitudine / longitudine, szerokość / długość, Czech šířka / délka, Slovak šírka / dĺžka, широта / долгота or довгота) and abbreviations such as lat / lng are recognized, with or without accents; you can always choose the columns yourself.

  • Any coordinate notation

    Decimal degrees, decimal commas from semicolon CSVs and DMS such as 47°25′16″N are converted to decimal degrees.

  • Lines from rows

    One line joins the rows in order — a route of stops or a GPS log — into a single path.

  • Bad rows reported

    Rows without valid coordinates are skipped and counted in a note instead of breaking the file.

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 CSV is converted in your browser, never uploaded — see the privacy page. For GPS devices use CSV to GPX.

Example: you have a spreadsheet of 300 shop addresses with lat and lng columns from a geocoder. Convert it to KML with Name from set to the shop name and open it in Google Earth.

FAQ

What columns does my CSV need?

A latitude and a longitude column in decimal degrees or DMS, or one column with WKT geometry. Everything else is optional.

My coordinates use commas as decimals

Save as semicolon-separated CSV (as European Excel does); decimal commas are read then.

My CSV is not UTF-8 — will names come out right?

Usually, yes. A file that is not valid UTF-8, such as plain CSV saved by Excel on Windows, is read as Windows-1250, Windows-1251 or Windows-1252: the code page is guessed from the bytes, and the page language breaks a tie. A note names the one used. CSV UTF-8 is still the safest choice.

How do I name the placemarks?

Choose the column under Name from.

Can I import the KML into Google My Maps?

Yes, the KML can be imported into Google My Maps. My Maps also imports CSV directly, but KML lets you set colors and keeps all columns.

Can I convert KML back to CSV?

Yes, KML converts back to CSV with KML to CSV.

Related tools