Google Maps to GPX

Turn a map to GPX for free, with no sign-up: paste a directions link, then download a file for your Garmin.

··

Add up to 3 Google Maps links to build one GPX for a long trip. More links need Pro.

Save a Google Maps cycling or walking route as GPX

Your GPX can follow roads and paths picked for cycling or walking. When a full directions link names driving, cycling or walking, GPX Editor sets Drive, Bike or Walk to match.

SwitchLink may sayRoute is calculated forYou can avoid
Drivetravelmode=drivingA carHighways, tolls, ferries
Biketravelmode=bicyclingA regular bicycleFerries
Walktravelmode=walkingA hiker on footFerries

Check the switch after pasting and before you press Convert to GPX. The cases below show when you need to set it yourself.

Coordinates only
They carry no travel mode. The page starts on Drive, so choose Bike or Walk yourself.
Short link
The page opens it only when you convert. Set the switch yourself first.
Several links
One mode covers the whole file. The first full link naming a mode sets the switch, so make changes after your last paste.
Another mode
Pick it and convert again. That counts as a new conversion.

To draw a new route instead, open the bike route planner or the hiking route planner.

Why the GPX may not match Google exactly

GPX Editor reads the start, stops and travel mode from your link. It then rebuilds the line along OpenStreetMap roads and paths, without calling Google. The result can take a different street than the blue line in Google Maps.

It does not copy Google's drive times, live traffic or toll data. The estimated time comes from our own routing for your travel mode.

For cycling, this can help. Bike mode routes on the OpenStreetMap cycling network, so it can use bike paths and quiet roads. To check a route, open Google Maps next to the result and compare the turns, then drag any part of the line to fix it.

Track or route: which GPX to choose

A GPX file can store your line in two ways. The GPX 1.1 standard describes a track as points along a path, and a route as turn points leading to a destination.

TrackRoute
Saved asTrack points (trkpt)Route points (rtept)
Best forComparing with a recording, course importNavigating stop to stop on a device
Line on screenDrawn as savedGuided point to point

Pick Route when your device navigates between points and should lead you to each stop. Pick Track when you want the line you checked here, or plan to compare it with a recorded ride or walk.

What your Google Maps GPX track contains

Learn what your file carries before you load it on a device. To turn Google Maps directions into a GPX track, keep Track, the default, and convert.

A file from GPX Editor's Google Maps to GPX converter holds coordinates, plus elevation on road routes, but no time stamps. The table covers a file you haven't edited on the map.

DetailIn the GPX file?
Line along roadsYes with Track; Route keeps the turn points
ElevationYes, in metres to one decimal place, on road routes
Distance, climb and Est. timeNo, these figures stay on the page
Turn instructionsNo, but Pro turn cues go into a FIT course
Planned route
Without time stamps, your file shows where to go, with no record of a past ride.
Coordinate ends
If your start or end is a coordinate pair, the file is called Google-Maps-route.gpx.
Straight-line result
The track or route holds only your stops, with no elevation.
Switching type
Swap Track and Route at any time. Route uses the routed turn points, so map edits stay in the Track file.

Send the route to your watch or bike computer

The simplest workflow is convert, check, then export for your device brand.

  1. Convert the link and check the stops and climbs on the elevation chart.
  2. Fix anything on the map, or keep editing in the full GPX editor.
  3. Click Export to watch and choose your brand.

Garmin takes GPX through Garmin Connect, imported as a new course. For turn cues, Pro exports a FIT course that you copy to the Garmin/NewFiles folder over USB. COROS and Suunto take GPX, and Wahoo takes a FIT course.

Already have a GPX from another app? Turn it into a FIT course file for your watch.

Who turns a Google Maps route into a GPX, and for what

Pick your device or trip to see what your new file can do.

Garmin Edge and watch owners

Your Edge or Garmin watch can carry a trip you set up in Google Maps. With place names in your link, the file is named after them, start first.

Pick track or route for the way you navigate, then bring the file into Garmin Connect.

iPhone and Android planners

Plan in Google Maps and finish the file on the same phone. Paste the whole shared message into the link box, and this page picks out the web address.

After Download GPX, look in the Files app under Downloads on iPhone. On Android, open your browser's download list.

Trip itineraries with several legs

Your multi-day itinerary can become one GPX. Copy a directions link for each leg, press Add another link and paste them in travel order.

If the next leg starts with the same place name, that stop is listed once. Tick Avoid highways in Drive mode to route around motorways. The FAQ shows how many links you can join.

Bikepackers planning overnight stops

Give each riding day its own file. Press Keep editing, choose Crop or split and click the line where each night ends.

Mark camps and water taps with Create and edit points of interest. Finish with File, then Export all, to download your days.

Strava route builders

Your Google Maps trip can sit in My Routes, ready for the next ride or run. Download the GPX here first.

In Strava on the web, open Dashboard, then My Routes and Create New Route. Click the upload button, choose your file and select Save.

Google Maps to GPX not working? Common fixes

Get your file by matching what you see to a fix below.

Only one place
Your link holds a single pin or search result. Open Directions in Google Maps, add a second place, then copy that link.
Start is missing
A trip that begins at Your location may carry no start. Set a street address as the start and share the trip again.
Public transit link
Switch the trip to driving, cycling or walking in Google Maps and paste the new link.
Short link fails
Load it in your browser yourself and paste the long address it lands on.
Wrong town on a stop
Pick another match from the list beside Found, or type latitude,longitude over the name. Then convert again.
Straight lines, no roads
Routing was busy, your daily route plans ran out, or no road route was found. Press Try again when it appears, or put an off-road stop on a road. Straight-line results don't use a route plan.
No waypoints in the file
Your stops shape the line but aren't saved as named waypoints. Mark them as points of interest in the editor.

Apple Maps, Bing, Komoot, Strava

This page reads Google Maps links only. For a route in another app, download its file and open it in GPX Editor, or rebuild the trip in Google Maps.

AppGPX downloadWhat to do
Apple Maps, Bing MapsLinks not supported hereRebuild in Google Maps
KomootYesExport needs a purchased region
StravaYes, GPX or TCXFrom the route page online
Google My MapsKML or KMZConvert the KML file to GPX
Mapy.com, OsmAndYesUse the app's Export or Share

Any GPX from these apps opens in the GPX editor. To check a file in the GPX viewer first, drop it there.

Looking for MapsToGPX? An alternative that also adds elevation and watch export

MapsToGPX (mapstogpx.com) is a separate site and is not part of GPX Editor. It turns a Google Maps link into a GPX file with track or route points.

GPX Editor's Google Maps to GPX converter does that first step too. It then adds an elevation chart, total climb, editing on the map and export presets for Garmin, COROS, Suunto and Wahoo.

Google Maps to GPX FAQ

What is the best way to convert Google Maps to GPX?

Paste the directions link into a converter, pick driving, cycling or walking, and download the GPX. GPX Editor's Google Maps to GPX converter also shows elevation and exports for your watch. MapsToGPX is another option.

Can Google Maps export a route as GPX?

No. Google Maps itself has no GPX export. Copy the directions link instead and paste it into a converter such as this one.

How can I convert a Google Maps route to a GPX file for free?

Paste the link above and click Convert to GPX. Each conversion uses 1 route plan, with up to 100 a day without an account and up to 300 with a free account. Joining up to 3 links is free too.

How do I convert Google Maps directions to a GPX file for my Garmin?

Convert the link, click Export to watch and choose Garmin. Import the GPX in Garmin Connect as a new course, then sync your watch.

How can I export a Google Maps cycling route to GPX?

Paste the link and choose Bike before you convert. Bike mode follows OpenStreetMap cycle paths and roads, so the line can differ from Google's. Walking routes work the same way with Walk.

Does it work on my phone?

Yes, it runs in Safari or Chrome: see the iPhone and Android steps.

How many stops can one link have?

A Google Maps link holds up to 9 stops between the start and the end, or 3 when opened in a mobile browser. For longer trips, join up to 3 links for free, or more with Pro.

Can I see elevation for the route?

Yes. The result shows an elevation chart, total climb and an estimated time for your travel mode.

Do I need an account?

No. Converting, editing and downloading work without signing up. A free account raises your daily route plans from up to 100 to up to 300.

Is this the same as mapstogpx.com?

No, GPX Editor is a separate tool with its own Google Maps to GPX converter. It adds elevation, editing and watch export.

Turn a Google Maps link into a GPX file

Check your stops, then download. Free, no sign-up.