Support GPX2Maps

We pay for Google Maps API costs to keep this service free. Help us make it sustainable with a small tip.

Maps to GPX: How to Export Routes from Various Map Services to GPX

Last Updated: March 16, 2025
Maps to GPX conversion illustration

Introduction

GPX (GPS Exchange Format) is a universal format for storing GPS data that works across various devices and applications. In this Maps to GPX guide, we'll show how to get GPX files out of popular mapping services. Whether you're planning a hike, bike ride, or road trip, converting your routes from map services to GPX format gives you flexibility to use that route data in GPS devices, fitness trackers, and specialized outdoor apps.

Google Maps to GPX

Google Maps is likely the most common mapping service you'll want to extract routes from. While Google doesn't provide native GPX export functionality, there are several reliable methods to convert your routes:

Method 1: Using Share Links with Online Converters

The simplest approach is to create your route in Google Maps, use the share function to get a link, and then use a third-party converter:

  1. Create your route in Google Maps by setting start and end points (plus any waypoints)
  2. Click the "Share" button to get a shareable link
  3. Copy this link and paste it into a converter tool like MapsToGPX
  4. Download the resulting GPX file

For step-by-step details on this method, see our detailed Google Maps to GPX tutorial.

Method 2: Using Google My Maps

Google My Maps allows more customization of your routes and can export to KML, which can then be converted to GPX:

  1. Create a custom map in Google My Maps
  2. Add your routes and waypoints
  3. Use the export option to download as KML
  4. Convert the KML file to GPX using a converter tool

Apple Maps to GPX

Apple Maps doesn't provide a native GPX export function, making this conversion more challenging. Here are some workarounds:

Using iOS Shortcuts

Some iOS users have created Shortcuts that can extract route data and save it to GPX format:

  • Search the Shortcuts Gallery for "GPX Export" shortcuts
  • These shortcuts typically work by capturing screen data or using the Share sheet
  • Results may vary depending on the specific shortcut and iOS version

Alternative Approach

A practical workaround is to recreate your Apple Maps route in Google Maps or another service that offers better export options. While not ideal, this may be the most reliable method for Apple Maps users.

Other Map Services to GPX

Bing Maps

Like Google Maps, Bing Maps doesn't offer direct GPX export. You can save routes to favorites in your Microsoft account, but to get GPX:

  • Create your route in Bing Maps
  • Take screenshots or manually recreate the route in a tool that supports GPX export

OpenStreetMap

OpenStreetMap-based tools often have better support for GPX:

Strava Routes

Popular with athletes, Strava offers direct GPX export:

  • Create a route in Strava's route builder
  • Use the export option to directly download as GPX

The Universal Approach

Regardless of the map source, one principle remains consistent: GPX is essentially a collection of latitude/longitude points. If you can extract your route from any map service in a standard format (even if it's not GPX, like KML or a series of coordinates), you can convert it to GPX using various tools.

This process typically involves:

  1. Extracting route data in whatever format is available (share links, KML, screenshots, etc.)
  2. Using a conversion tool to transform that data into the GPX standard
  3. Verifying the accuracy of the converted route

Recommended Tools for Maps to GPX Conversion

  • MapsToGPX.com - Specifically designed for converting Google Maps directions to GPX
  • GPS Visualizer - Extremely versatile tool that can convert many formats to and from GPX
  • GPX Studio - Browser-based editor that can import various formats and export to GPX
  • AllTrails - For creating and exporting hiking, running, and cycling routes

Note: These are third-party tools and their functionality may change over time.

Frequently Asked Questions

Can I save Google Maps directions as GPX?

Yes, though not directly. You'll need to use a third-party converter by sharing your Google Maps route link or using Google My Maps as an intermediary step.

Does Apple Maps export GPX?

No, Apple Maps doesn't have a native GPX export function. You'll need to use workarounds like iOS Shortcuts or recreate your route in another application.

What's the difference between KML and GPX?

KML (Keyhole Markup Language) is developed by Google and used in Google Earth/Maps. GPX is an open standard that's widely supported by GPS devices and apps. Both store geographic data but in different formats and with different capabilities.

How accurate are map-to-GPX conversions?

The accuracy depends on the original map data and the conversion method. Most conversions preserve route accuracy well, but complex routing instructions or traffic avoidance might not translate perfectly to GPX.

Conclusion

Converting "maps to GPX" is achievable for most platforms with the right approach. While some services make it easier than others, the tools and methods outlined above should help you extract route data from virtually any mapping service.

Which mapping service do you primarily use, and have you found other effective methods for extracting GPX data? Let us know in the comments!

If you found this helpful, you might also need to convert in the reverse direction someday – when you do, remember our GPX2Maps tool to convert GPX files for Google Maps.

Need to Convert GPX to Google Maps Instead?

If you already have GPX files and want to view them on Google Maps, our free converter makes it simple.

Try GPX2Maps Converter