Guide

What Is a GPX File? Waypoints, Tracks and Routes Explained

Updated · 5 minute read

A phone and a handheld GPS on a truck dashboard with a dawn trailhead through the windshield.

The short answer

A GPX file is a plain-text file in the GPS Exchange Format, an open standard for sharing location data. It can hold waypoints, tracks and routes, each stored as latitude and longitude with optional elevation, time and names. Because most mapping apps and handheld GPS units read and write it, GPX is the usual way to move your points and paths from one to another, back them up or send them to someone.

What GPX is

GPX stands for GPS Exchange Format. It is an open format, which means no single company owns it and any app or device maker can support it. The file name ends in .gpx.

Inside, a GPX file is XML, a kind of structured plain text. You can open one in a text editor and read it. Each location is written as a latitude and longitude in decimal degrees, using the WGS 84 datum that GPS itself uses. A point can also carry an elevation, a timestamp, a name and a description.

Because the format is simple and widely supported, it has become the common language for GPS data. If two tools cannot talk to each other directly, they can usually both read a GPX file.

Waypoints, tracks and routes

A GPX file can hold three kinds of data. One file can contain any mix of them.

  • Waypoint: a single named location. A truck, a stand, a gate, a water source. It has coordinates and usually a name, and it may have a symbol, a note and an elevation.
  • Track: a record of where something actually went. It is a long list of points in order, often one every few seconds or every few yards, each usually with a timestamp. Drawn on a map it shows the exact path walked or driven. A track can be split into segments, for example where recording was paused.
  • Route: a plan of where to go. It is a short list of points to travel between in order. A route says "go from here to here to here" and leaves the path between points to the device or the person.

The short version: a waypoint is a place, a track is a path you took, and a route is a path you intend to take.

What GPX is useful for

  • Moving between apps: export your waypoints and tracks from one mapping app and import them into another. You keep years of marks when you switch tools or use more than one.
  • Moving between a phone and a GPS unit: most handheld GPS units import and export GPX, so points made on one show up on the other.
  • Backups: a GPX file saved to a computer or cloud drive is a copy of your data that does not depend on any one app or account.
  • Sharing: send a file to a hunting partner and they see the same parking spot, access trail and stand locations you do.
  • Other software: desktop mapping programs and many online tools read GPX, so you can view a season of tracks on a large screen.

Be deliberate about sharing. A GPX file of your stands and sign is a complete record of where you hunt, and anyone you send it to can pass it on.

What a GPX file carries and what it leaves out

GPX is built for location data and little else. Knowing its limits saves confusion after an import.

Carried reliably: coordinates, point names, descriptions or notes, elevations, timestamps, and the order of points in a track or route.

Carried sometimes: waypoint symbols and colors. The format has a field for a symbol name, but apps use their own symbol sets, so an icon from one app may arrive as a default pin in another. Line colors and styles are extensions that many apps ignore.

Not carried: the map itself. A GPX file has no imagery, no topo lines and no property boundaries. It also does not hold photos. A point can include a link to a photo, but the picture stays wherever it was. Folders, drawn shapes and measured areas from an app usually do not survive either.

Common problems and how to handle them

  • Duplicate points: importing the same file twice, or exporting and re-importing, often creates a second copy of every waypoint. Check what an import will do before you confirm it, and clean out old copies first if the app does not merge them.
  • Times that look wrong: GPX stores time in UTC. An app that shows it without converting to your local time zone will be off by several hours. The data is fine. The display is the issue.
  • Huge tracks: a full day recorded at one point per second produces tens of thousands of points. Large files can be slow to import, and some devices cap the number of points per track. Many tools can simplify a track by removing points that add little detail.
  • Missing icons and colors: expect to reassign symbols after moving between apps.
  • Tracks that zigzag: poor GPS reception under heavy cover or in deep canyons records scattered points. That noise is in the file, and it inflates the distance.
  • A file that will not open: it may be a different format with a similar purpose, such as KML or KMZ. Converters between these formats are widely available.

Questions and answers

What is a GPX file?

A GPX file is a plain-text file in the GPS Exchange Format, an open standard for GPS data. It stores waypoints, tracks and routes as latitude and longitude, with optional elevation, time and names. Most mapping apps and GPS units can read and write it.

What is the difference between a track and a route in a GPX file?

A track is a record of a path that was actually traveled, stored as many closely spaced points, usually with timestamps. A route is a planned path, stored as a short list of points to travel between in order.

How do I open a GPX file?

Import it into a mapping app, a handheld GPS unit or a desktop mapping program that supports GPX. Most have an import option in their menu or will open the file when you select it. You can also read the raw contents in any text editor.

Does a GPX file include the map?

No. A GPX file contains only location data such as waypoints, tracks and routes. It has no imagery, topo lines or property boundaries. The app or device you open it in supplies the map underneath.

Why are the times in my GPX file several hours off?

GPX files store timestamps in UTC. If an app displays them without converting to your local time zone, they appear shifted by several hours. The recorded data is correct.

Can a GPX file hold photos?

No. A GPX file can hold a link to a photo along with a point, but it does not contain the image itself. Photos have to be moved or backed up separately.

A pickup at a trailhead at last light with the tailgate down and a hunter pulling on an orange vest.

inRange

Hunt anywhere. Stay in range.