How to Convert Google Maps Routes to GPX
Learn how to export routes from Google Maps and convert them to GPX files for your GPS device. Use Google My Maps to create custom GPX tracks.
How do I export a GPX file from Google Maps? Standard Google Maps does not have a "Save as GPX" button. To get a GPX file, you must use Google My Maps to export as KML, then convert that file to GPX.
This guide walks you through the workaround to get your Google Maps directions onto your Garmin or GPS unit.
The Google Maps Limitations
Standard Google Maps (the app and website you use for driving directions) is a closed system. It wants you to use the app for navigation. It does not export files.
The Solution: Google's separate tool called Google My Maps.
Step-by-Step Guide
Step 1: Create a Map in Google My Maps
- Go to google.com/mymaps on your computer
- Click Create a New Map
- Click the "Add Directions" icon (Y-shaped arrow)
- Enter your Start and End points
- Drag the blue route line to customize your path
Step 2: Export as KML
- Click the map menu (three dots next to map title)
- Select Export to KML/KMZ
- Check the box "Export as KML instead of KMZ"
- Click Download
Step 3: Convert KML to GPX
Now you have a file, but it's in Google's format. GPS devices need GPX.
- Open the KML to GPX Converter
- Upload your exported KML file
- Click Convert
- Download your new GPX file
Step 4: Transfer to Device
Copy the GPX file to your GPS device (usually the NewFiles or GPX folder) or upload it to your fitness app.
Alternative Methods
Using Third-Party Tools
Some websites like Mapstogpx allow you to paste a Google Maps URL directly. However, these often break when Google changes their URL structure. The My Maps method above is the official, reliable way to get your data.
Using Route Planners
For cycling or hiking, dedicated route planners are often better than Google Maps:
- Komoot / Strava / RideWithGPS: These export GPX natively
- Gaia GPS / AllTrails: Best for off-road/hiking
Summary
| Platform | Native GPX Export? | Workaround Required? |
|---|---|---|
| Google Maps | ❌ No | ✅ Yes (My Maps -> KML -> GPX) |
| Google My Maps | ⚠️ KML Only | ✅ Yes (Convert KML -> GPX) |
| Komoot/Strava | ✅ Yes | ❌ No |