If you have downloaded a hiking trail, received a cycling route from a friend, or exported
a GPS recording from a watch, you have almost certainly encountered a GPX file.
The extension .gpx stands for GPS Exchange Format — an open
standard that lets devices and apps share location data in a way any compatible tool can read.
What does a GPX file contain?
Most GPX files include one or more of these elements:
- Tracks — a path made of GPS points, often recorded during a hike or ride.
- Routes — a planned path with key turns for navigation.
- Waypoints — points of interest such as summits, campsites, or parking.
- Elevation data — height above sea level at each point.
- Timestamps — when each point was recorded.
A dedicated app like GPX Viewer renders that data as an interactive map. See how to view GPX on a map for the full workflow.
GPX tracks vs. routes
A track is something you have already traveled — your device logged every GPS fix. A route is planned in advance, connecting waypoints where you intend to go. Both work the same way in GPX Viewer: import the file and follow the line on the map.
GPX vs. KML, TCX, and FIT
Outdoor apps use several GPS file formats. Here is when GPX is the right choice:
- GPX — best for sharing hiking and cycling routes between apps and phones.
- KML — common in Google Earth; less ideal for turn-by-turn trail navigation.
- TCX — Garmin training format with heart-rate and cadence data.
- FIT — binary activity recordings from Garmin watches; not meant for route sharing.
For trail following and route planning on your phone, GPX is the format to use.
GPX Viewer opens .gpx files directly — no conversion step.
How to open a GPX file
Import a GPX file on iPhone or Android using the share sheet from Mail, Files, or Safari. Our guide on opening GPX files on iPhone and Android covers every import method step by step.