Google Maps to GPX: Saved Places and Routes, Step by Step

By the Places Export editorial team · · 6 min read

Google's help pages don't describe a GPX export in Google Maps. The documented ways out are Google Takeout for your saved lists and My Maps' Export to KML/KMZ for custom maps, so getting to GPX takes one conversion step. For saved places, export them with Takeout and convert the file into GPX waypoints; for a route, build it in My Maps, export it as KML, and convert that to GPX.

First decide: places or a route?

GPX can hold three kinds of data, and knowing which one you need saves a lot of confusion. The GPX 1.1 schema defines:

  • Waypoints (<wpt>): single points, each with a latitude and longitude and optional details such as a name, comment, description, link and symbol. Saved restaurants, campsites and viewpoints belong here.
  • Routes (<rte>): an ordered list of route points leading to a destination, the shape a planned trip usually takes.
  • Tracks (<trk>): an ordered path made of track segments and track points, typically a recorded or traced line.

All of them use the WGS84 datum in decimal degrees. Google Maps saved places become waypoints. A road trip or hike you plan becomes a route or a track, depending on what your app or device expects.

Saved places to GPX

  1. Export your lists with Google Takeout. Google's help says to go to takeout.google.com, make sure Saved is checked, click Next Step, choose a destination, frequency and file format, and click Create Export. Our Takeout guide adds a few tips: click Deselect all first, then tick both Saved and Maps (your places), and choose a one-time .zip export.
  2. Download the zip when Google's email arrives. Google says the archive expires in about 7 days and each archive can be downloaded 5 times.
  3. Open Places Export and drop in the zip. There's no need to unzip it. Each list shows up separately, with an optional map preview.
  4. Pick a list and download the GPX. The tool writes one waypoint for each place it can locate (more on that below).
  5. Import the file into your GPS app or device using its usual import option.

Everything happens in your browser: the zip isn't uploaded and you never sign in to Google. Places Export is an independent tool, not affiliated with Google. Converting one list at a time is free; Pro ($4.99, one-off) merges every list into a single GPX file and removes places you saved more than once.

What the GPX file contains

Each place becomes a waypoint like this one:

<wpt lat="38.5733" lon="-109.5498">
  <name>Campground near the park entrance</name>
  <desc>Main St, Moab, UT · Book site 14 if free</desc>
  <link href="https://maps.google.com/?cid=1234567890"><text>Google Maps</text></link>
</wpt>

The name comes from your list, the description combines the address and your note, and the link opens the place in Google Maps.

Why some places may be missing

The CSV files that Takeout makes for each list hold names, notes and Google Maps links, but not latitude and longitude. Places Export fills in coordinates two ways, both on your device: from the link itself when it contains them (dropped pins usually do), and from your starred places file, Saved Places.json, when the same place is starred there. A place that stays without coordinates is kept in the CSV download but left out of the GPX, since a waypoint needs a position. The tool shows how many places made it in.

A route to GPX

Directions you look up in Google Maps aren't part of your saved lists. To get a route out, rebuild it in My Maps:

  1. On a computer, sign in to My Maps and open or create a map.
  2. Click Add directions and enter your start and end points. Click Add destination for more stops, and pick Driving, Bicycling or Walking. Each set of directions goes on its own layer.
  3. For a path that doesn't follow roads, such as a trail, use the Draw a line tool, choose Add line or shape, click at each bend, and double-click to finish.
  4. In the left panel, click Menu, then Export to KML/KMZ, and follow the prompts. If you end up with a .kmz, unzip it to get the .kml file inside.
  5. Convert the KML to GPX. With the free GPSBabel converter, the command is gpsbabel -i kml -f route.kml -o gpx -F route.gpx. Our KML to GPX guide explains the options and what gets lost.

GPSBabel reads waypoints, tracks and routes from KML, and its documentation notes that simple files with waypoints and paths convert cleanly. After converting, check whether your device wants the line as a track or a route.

Example: a Utah road trip

You've been saving places for a week in southern Utah.

  1. In Google Maps you have a list called "Utah parks" with 14 places: campgrounds, trailheads, a diner, two gas stations.
  2. You run Takeout with Saved and Maps (your places), drop the zip into Places Export, choose "Utah parks," and download the GPX. Thirteen places come through with coordinates. The fourteenth, a diner saved from a search result, has no coordinates in the export, so you note it from the CSV.
  3. In My Maps you add directions from Salt Lake City to Moab with a stop in between, export the map as KML, and convert it to GPX with GPSBabel.
  4. You load both files into your navigation app at home and check a few points on its map before leaving.

Check your GPX before you rely on it

  • Open it in a text editor. The root element should look like <gpx version="1.1" creator="..." xmlns="http://www.topografix.com/GPX/1/1">. The schema requires both version and creator.
  • Look at a few coordinates. Latitude must be between -90 and 90 and longitude between -180 and 180. A point at 0,0, off the coast of West Africa, usually means missing coordinates.
  • Count the waypoints. Compare the number with your list so you know what's missing.
  • Test the import at home, not at the trailhead with one bar of signal.
  • Keep the CSV as well. It has every place, including the ones without coordinates, plus their Google Maps links.

Common mistakes

  • Ticking only "Maps (your places)" in Takeout. That part holds your starred places only; your lists come from Saved.
  • Waiting too long to download. Takeout archives expire in about 7 days.
  • Expecting directions in Takeout's Saved data. Saved lists hold places. Build routes in My Maps instead.
  • Assuming every place will appear. Places without coordinates in the export can't become waypoints. Check the count.
  • Sending a track to a device that wants a route, or the reverse. If the import fails or looks wrong, convert again as the other type.

FAQ

Can Google Maps export GPX directly?

Google's help pages don't describe a GPX export. Saved lists come out through Takeout, and My Maps exports KML or KMZ; both can be converted to GPX.

Do I need to give Places Export my Google password?

No. You download your own data from Google Takeout and open the file in Places Export. There's no Google sign-in, and the file is processed in your browser.

Will my notes show on my GPS?

Your notes go into each waypoint's description. Whether a device or app shows that field depends on the device or app.

Can I put all my lists into one GPX file?

Yes, with Pro. It merges every list in your export into one file and removes duplicates. Without Pro, you can download one GPX per list.

Sources