Skip to content

GPX, GPS and maps

How do I open a GPX file on my Android phone or iPhone?

The short answer

Your phone can't show a GPX route by itself; you need a map or riding app that reads GPX. Save the file on the phone first, then either tap it and pick the app under Open with (Android) or the share button (iPhone), or open the app and use its own import button. The in-app import is the more reliable path. If the file shows up as code, is grayed out or the app is missing from the list, the cause is usually the file's location or its name ending, not the route itself.

Updated November 14, 2026

Smartphone showing a navigation route in a handlebar mount next to a motorcycle’s colour display
Photo: Cjp24 · CC BY-SA 4.0 · Wikimedia Commons · edited (cropped, logo added; previews with headline)

First find out where the file actually is

Most "my GPX won't open" problems start before any app is involved: the file is sitting somewhere the app can't see. Where it lands depends on how it reached you:

How it arrivedWhere it usually ends up
download in the browserAndroid: the Download folder in your file manager; iPhone: the Downloads folder in the Files app
email attachmentinside the mail app until you save or share it
messaging appinside the chat; save it as a file first
cloud storagein the cloud app, often not on the phone until you download it

On an iPhone, Apple says files downloaded from the internet go to the Downloads folder in the Files app, either in iCloud Drive or on the phone, depending on your Safari settings. On Android, the file manager is often just called Files, and the Download folder is the first place to look. Before you go further, make sure the file name still ends in .gpx. A name like ride.gpx.txt or ride.xml is a common reason an app ignores the file.

Two ways to get the file into an app

From the file. Tap the file. On Android, the system asks which app should open it; choose your riding or map app, just once or as the default. On an iPhone, tap the share button and pick the app from the row of icons, or from the list under it. CoMaps, for example, documents exactly these two paths, and notes that an iPhone may first show the file as raw code before you share it.

From the app. Open the riding app and look for import, usually in a menu for routes, tracks or saved places. The system file picker opens, you choose the file, and the app copies it in. OsmAnd documents an import option in its tracks folder, and BMW Motorrad's help for its Connected app on iPhone says to save the file on the phone or in iCloud Drive first, then use Route import.

The second way is often more dependable. The share sheet only lists apps that have declared they handle GPX, and that list can change after a system update; some iPhone users reported their usual app vanishing from Open with after an iOS 26 update. An app's own import button doesn't depend on that list.

On permissions: when you pick the file yourself in the system picker, the app only gets that one file. Android's developer documentation states that this way of choosing files doesn't require any system permissions.

What happens after the import

Riding apps rarely work on your original file. Most make a copy and store it in their own library, so later edits in the app don't change the file in your Downloads folder, and deleting the original doesn't remove the route from the app. Depending on the app, the GPX becomes:

  • a track: a fixed line on the map, sometimes with guidance along it,
  • a route: points the app reconnects with its own road choices, which can change the line,
  • several items, when the file holds more than one track; some apps ask which to bring in or offer to merge them.

Why the difference matters is explained in the motorcycle GPX guide. If you'd rather put the ride on a dedicated unit, see load GPX onto a motorcycle GPS.

When it still won't open

SymptomLikely causeFix
page of code appearstext preview, no app chosenshare from the preview or use the app's import button
file grayed out in the pickerstill in the cloud, or wrong name endingdownload it to the phone, rename to .gpx
app missing from Open withapp doesn't declare GPX, or a system update changed the listimport from inside the app
import fails or the app freezesvery large file with many pointsthin the track first, see edit a GPX file online
line shows, no promptsapp displays tracks only, or guidance is a paid featurecheck the app's help or choose another app

If the plan was to use Google Maps, read GPX in Google Maps first, because Google's app doesn't open GPX files at all. Which apps are worth installing for guidance on the road is covered in free motorcycle navigation apps.

A quick check before the ride

  • The route opens in the app and the line matches what you expected.
  • The map for the area is downloaded in case you lose signal (offline motorcycle navigation).
  • A second copy of the file sits in another app or in cloud storage.

When you download a ride from the Salomoto route planner, planned within Germany, on your phone's browser, the GPX lands in your downloads like any other file and opens with the steps above. Salomoto doesn't open GPX files from elsewhere and doesn't navigate; your riding app takes it from there.

Common questions

Why does my iPhone show a page of code when I tap a GPX file?

Because the Files app or your mail app is showing a text preview. GPX is plain text, so without a chosen app you see the raw contents. That's normal and nothing is broken. Tap the share button from that preview and pick your riding app, or open the app first and bring the file in with its import button.

Can I send a GPX file to my phone through a messaging app?

Usually yes, but send it as a file or document, not as a photo or link preview. Some messengers rename or wrap attachments, and then apps may not recognize them. On the phone, save the attachment to your files first, check that the name still ends in .gpx, and import it from there.

Do I need to give an app access to all my files to open a GPX?

No. When you pick a file through the system's file picker, Android grants the app access to just that file, and Android's developer documentation says this doesn't require any system permissions. iPhone apps work the same way through the Files picker. Be wary of an app that insists on broad storage access just to read one route.

My app shows the GPX line but gives no voice prompts. What's wrong?

Probably nothing. Many apps display a track as a line and only offer guidance once you start navigation along it, and some only do that on a paid plan. Others turn the track into a route first, which can change the line. Check your app's help for an option like navigate along track or follow track.

Sources

  1. How to import a GPX/KML track · CoMaps
  2. Manage tracks · OsmAnd
  3. BMW Motorrad Connected App Navigation: Import GPX files (iPhone) · BMW Motorrad
  4. Access documents and other files from shared storage · Android Developers
  5. Where to find downloads on your iPhone or iPad · Apple Support

Sources accessed November 14, 2026. Traffic laws, road closures and app features change; check current conditions with the responsible agency or the app's provider before you ride.

Planning a trip to Germany?

Lay out the route in Salomoto's route planner, check distance and riding time, and take it along as a GPX file.

Learn about the route planner

Free, no account needed. The planner currently covers routes within Germany only. A free account lets you save and share routes and log rides in RoadDex.