Google My Maps lets you mark places and export them as a KML file, which Excel opens as a table of names and coordinates. Here’s how, using the six municipal corporations of Kerala as the example.
Step 1: Create a map and add places
- Go to google.com/mymaps and sign in.
- Click Create a new map. Name the first layer, for example Municipal Corporations Kerala.
- Search for each place, click it, and choose Add to map.
To see what you’ve added, click the three-dot menu next to the layer name → Open data table.
Step 2: Export as KML
- Click the three-dot menu next to the map name → Export to KML/KMZ.
- Choose the layer instead of Entire map.
- Tick Export to a .KML file (instead of KMZ) and click Download.
Step 3: Open it in Excel
Quick method
Drag the KML file into Excel, or open it with File → Open (choose All files). Click Yes at the warning, then choose As an XML table. You get one row per place, with its name and a coordinates column.
Refreshable method: Power Query
Data → Get Data → From File → From XML and pick the KML file. Expand Document → Placemark to reach name and Point → coordinates.
Step 4: Split the coordinates
KML stores each point as longitude,latitude,altitude, longitude first. Split it into columns with Data → Text to Columns → Comma, or in Excel 365:
=TEXTSPLIT(C2,",")Swap the first two columns if you need latitude, longitude, the order Google Maps uses in its search box.
The other way: Excel to Google Maps
In My Maps, click Import under a layer and upload an Excel or CSV file with an address or latitude/longitude column. Every row becomes a pin.