KML or KMZ to GPX

Drew the route in Google My Maps or Google Earth? Export it and drop it here. This is the most faithful conversion of the three: a KML already holds the line you drew, so there are no roads to rebuild and nothing to guess.

Your file never leaves your browser. The conversion runs on this page, in JavaScript: nothing is uploaded, nothing is stored, and we never see the file. Open your browser's network panel while you convert - there is no request to look at.

These tools run in your browser, so they need JavaScript. With JavaScript off there is nothing we can do here - but the same conversions run server-side on motogpx.org, which works without it.

In Google My Maps: open the map, the three-dot menu next to the title, Export to KML/KMZ. Both .kml and .kmz work.

How to export from Google My Maps

  1. Open your map at mymaps.google.com.
  2. Click the three-dot menu next to the map title, then "Export to KML/KMZ".
  3. Tick "Keep data up to date" off, choose the whole map, and download.
  4. Drop the downloaded file here.
Google My Maps with the three-dot menu open next to the map title. The menu lists New map, Copy map, Open a map, Move to Trash, Set default view, Embed on my site, Export to KML/KMZ and Print map; Export to KML/KMZ is highlighted.
The menu opens from the three dots next to the map TITLE — not from anywhere on the map itself, which is where most people look first.The interface is shown in English: in your language the labels change, the positions do not.
The Export to KML/KMZ dialog in Google My Maps, with a dropdown set to Entire map, two unticked checkboxes, and the Download and Cancel buttons.
Leave "Entire map" as it is. The second checkbox decides whether you get a .kmz or a .kml: for this tool it makes no difference, it reads both.The interface is shown in English: in your language the labels change, the positions do not.

Questions

My map has several layers. What happens?

Pieces that touch end to end are treated as one route and joined - that is how a "directions" layer exports, one piece per leg. Genuinely separate lines are not joined, because that would invent a straight leg between two unrelated routes; the longest is kept and the page lists what was left out.

What about my pins and markers?

Pins are not part of the track, so they are left out of the line. A GPX track and a set of places are two different things, and mixing them would give your sat-nav a route that jumps between points of interest.

Does KMZ work too?

Yes. A KMZ is just a zipped KML, and your browser unzips it here on the page. On a browser more than a few years old the unzipping may not be available - in that case rename the .kmz to .zip, extract doc.kml and drop that in instead.

Why is this conversion "the most faithful"?

Because nothing is reconstructed. A Google Maps link gives us stops and leaves the roads to a routing engine; a KML contains the actual drawn geometry. What you drew is what you get.

The other tools

GPXGoogle Maps

You have the GPX and you want the route on your phone. Get a ready-made Google Maps link, plus a KML that keeps every single point for Google My Maps.

in your browser
Google MapsGPX

You planned the route on Google Maps and your sat-nav wants a GPX. The roads between your stops are rebuilt point by point, and you can correct them on the map.

needs our server
GPXKML

You want the track in Google My Maps or Google Earth, with every point kept - not the eleven stops a Maps link can hold.

in your browser
GPX / KML / KMZ

You just want to see what is in the file: the track on a map, its distance, its points, and the time it took.

in your browser