How to Open KML Files in Google Maps (with My Maps)
By the Places Export editorial team · · 7 min read
The way to get a KML file into Google Maps is through Google My Maps. On a computer, create a map at mymaps.google.com, click Add layer, then Import, and upload your .kml or .kmz file. The map then appears in Google Maps under Saved, then Maps on a computer, or under You, then Maps in the phone app.
Why the import happens in My Maps
Google Maps is where you browse places and keep your lists; My Maps is Google's tool for building custom maps from your own data. Google documents KML and KMZ import on the My Maps side, and a My Maps map can then be opened inside Google Maps. Think of My Maps as the door and Google Maps as the room where you look at the result.
Two things follow from that:
- You need a computer for the import. Google's Android help says My Maps isn't available for Android. Once the map exists, though, you can view it in the Google Maps app on your phone.
- The map is yours. It sits in your Google Account like your other maps, and you choose who can see it.
Import a KML or KMZ file into My Maps
- On a computer, go to mymaps.google.com and sign in.
- Click Create a new map, or open an existing map.
- Click Untitled map at the top left and give the map a name and description.
- In the map legend on the left, click Add layer and name the new layer.
- Under that layer, click Import.
- Upload your .kml or .kmz file and click Select.
Your placemarks appear on the layer as places, and lines and shapes come through as map features you can style. The same Import button also accepts CSV, TSV, XLSX, Google Sheets and GPX files, which helps if your data arrives in another format.
View the imported map in Google Maps
- On a computer: open Google Maps, sign in, click Saved, then Maps. Google says you'll see your 5 most recent maps there. To edit one, choose it and click Open in My Maps.
- On Android or iPhone: open the Google Maps app, tap You, then Maps, and tap the map you want.
To close a custom map in the Android app, tap a place, line or area on it, tap the My Maps icon at the bottom, then View Map Legend, and Close.
Limits to check before you import
Google's My Maps help lists these limits:
| What | Limit |
|---|---|
| Unzipped KML or KMZ file | Up to 5 MB |
| Other import files (CSV, XLSX and so on) | Up to 40 MB |
| Rows in an imported file | Files with more than 2,000 rows can't be imported |
| Layers per map | Up to 10 |
| Lines, shapes or places per layer | 2,000 |
| Lines, shapes or places per map | Up to 10,000 |
| Total points in lines and shapes per map | Up to 50,000 |
The 5 MB limit applies to the unzipped size, so packing a big KML into a KMZ doesn't get it past the limit. Split it into smaller files and import each into its own layer instead.
What may not survive the import
Google lists KML features that may not import into My Maps:
- Info balloons containing HTML or JavaScript
- KML tours
- Time-based elements
- Image overlays and screen overlays
- MultiGeometries
- 3D models
- Folders
Folders are the one that surprises people most. A KML with "Hotels," "Restaurants" and "Viewpoints" folders can arrive as a single pile of points. If the grouping matters, save each folder as its own KML file and import each one as a separate layer, staying within the 10-layer limit.
When Google Earth is the better choice
If My Maps can't handle your file, Google Earth is the other official option. On the web, use New, then Import file to map project to bring a file from Drive or your device into a project saved in Drive; that requires signing in. Google says projects handle about 10,000 features or 250,000 vertices, and larger files automatically become read-only data layers instead.
There's also a local option: Open local KML editor, then Open KML from device, which doesn't require signing in and keeps the file on that device only. In the Google Earth mobile app, the Local tab offers New Local KML editor and Open KML/Z from device, which makes Google Earth the way to look at a KML file directly on a phone.
Example: a club's trailhead file
A hiking club emails members a KML file of 60 trailheads, sorted into three folders by region.
- A member opens My Maps on her laptop, creates a map called "Club trailheads," and adds a layer.
- She imports the KML. The trailheads appear, but the three folders have merged into one layer.
- Wanting the regions back, she deletes that layer, asks the club for one KML per region, and imports each into its own layer: North, Central, South.
- She colors each layer differently, then opens Google Maps on her phone, taps You, then Maps, and has every trailhead with her on the trail.
Turn your own Google Maps saved places into a KML
KML also works the other way: it's a good way to take your Google Maps lists and rebuild them as a styled, printable My Maps map. Export your lists with Google Takeout (our guide shows the exact steps), then open the zip in Places Export, which converts a list to KML in your browser. Nothing is uploaded, and Places Export is an independent tool that isn't affiliated with Google. Places without coordinates in the export are kept in the CSV download but not in the KML, so the tool tells you how many made it onto the map. For a very large list, remember the 2,000-feature limit per layer.
From there, import the KML into My Maps, color it, and print it or share it. To learn how lists work in the first place, see our guide to Google Maps lists. Need the same places on a GPS device? See KML to GPX.
Common mistakes and fixes
- Trying to import on a phone. My Maps import is done on a computer. On a phone, view the finished map in Google Maps, or open the KML in the Google Earth app's local editor.
- The file is over 5 MB unzipped. Split it into smaller files, one per layer.
- The upload window can't reach Google Drive. Google's troubleshooting tip for Chrome is to allow mymaps.google.com to open your Drive.
- A KMZ holds more than one KML. Google's KMZ guidance calls for a single .kml at the top level, and Google Earth opens the first one it finds. Unzip the KMZ and import each KML separately.
- Popups look broken. Balloons built with HTML or JavaScript may not import. The names and positions still come through; rewrite key details as plain text.
FAQ
Can I open a KML file in the Google Maps app on my phone?
Not as a direct import. Import it into My Maps on a computer, then view it in the Google Maps app under You, then Maps. To open a KML directly on a phone, use the Google Earth app's local KML editor.
Does My Maps accept KMZ files?
Yes. My Maps imports both KML and KMZ, up to 5 MB unzipped.
How do I get a KML back out of My Maps?
Open the map, click Menu in the left panel, and choose Export to KML/KMZ. Individual layers can also be exported as CSV.
Why do I only see a few of my maps in Google Maps?
On a computer, Google Maps shows your 5 most recent My Maps. Open My Maps itself to see all of them.
Sources
- Import map features from a file (Computer) - My Maps Help — read November 12, 2026
- Import map features from a file (Android) - My Maps Help — read November 12, 2026
- Create or open a map - My Maps Help — read November 12, 2026
- Use map layers - My Maps Help — read November 12, 2026
- Draw lines and shapes in My Maps - My Maps Help — read November 12, 2026
- Share, download, or print your map - My Maps Help — read November 12, 2026
- View your My Maps using Google Maps (Computer) - Google Maps Help — read November 12, 2026
- View your My Maps using Google Maps (Android) - Google Maps Help — read November 12, 2026
- View your My Maps using Google Maps (iPhone and iPad) - Google Maps Help — read November 12, 2026
- Import data into Google Earth - Google for Developers — read November 12, 2026
- KMZ Files - Keyhole Markup Language - Google for Developers — read November 12, 2026