Understand GPS files
How to open a GPX file when double-clicking does nothing
Updated
You downloaded a GPX, double-clicked it, and nothing useful happened. Maybe the computer asked which program to use, maybe it opened a wall of text in your browser. Nothing is broken. Your computer simply has no program set up for this kind of file, and a GPX isn’t meant to be “opened” the way a photo is. It’s meant to be loaded into something that draws it on a map.
First, what are you trying to do?
The right tool depends on the goal:
- See the line on a map: use a map website or a route app.
- Add it to your training history or follow it: use the sport platform or watch app you already have.
- Check what is inside: use a plain text editor.
Option 1: a map website
Map tools that accept file imports will draw the track for you. Google My Maps is one whose help page we checked: its list of importable files includes GPX, alongside KML, KMZ, CSV and others.
The steps, from Google’s help, on a computer:
- Sign in to My Maps and open or create a map.
- In the map legend, click Add layer.
- Give the new layer a name.
- Under the new layer, click Import.
- Upload your file and click Select.
Your route appears as a line on the map. It’s a quick way to check that the file is the one you expected before you send it anywhere.
Option 2: the sport app you already use
Many sport platforms and watch apps have an “upload” or “import” option for files, and many route planners let you import a GPX to follow it. The exact location varies from one service to another, so search your app’s help pages for “import GPX” or “upload file”. If the app asks whether to import it as a track or a route, read track vs route vs waypoint, explained before choosing.
One thing to keep in mind: uploading to a training platform adds an activity to your history. If the GPX belongs to someone else and you only want to look at it, a map website is the better choice.
Option 3: a text editor, to peek inside
A GPX is plain text, so any text editor can open it: Notepad on Windows, TextEdit on a Mac, or any code editor. Right-click the file, choose “Open with”, and pick the editor.
You will see lines like <trkpt lat="..." lon="...">. Each of those is one point of a track, usually followed by <ele> for elevation and <time> for the moment it was recorded. A few things you can check this way:
- Is it empty? If there are no
trkpt,rteptorwptlines, there is no position data. Indoor activities often export like this. - Does it have times? Without
<time>, it is probably a planned route, not a recorded track. - Does it have heart rate? Look for an
extensionsblock inside the points.
Be careful not to save changes unless you know what you’re doing; one missing bracket can make the file unreadable.
For a gentle tour of what all those tags mean, see what is a GPX file.
If it still won’t open
- The file ends in
.zip. Unzip it first and open the GPX inside. - It’s actually a FIT, TCX or KML file. Different formats need different tools. GPX vs FIT vs TCX vs KML explains which is which.
- You don’t have the file yet. Start with how to download the GPS file of your activity.
Beyond looking at it
Seeing the line on a flat map is a start. Trazo, at trazo.run, opens that same GPX and turns it into a 3D map video, horizontal or vertical, at the length you choose. It also reads FIT, KML, KMZ and GeoJSON by converting them to GPX, and lets you trim, reverse, fix or join tracks first.