Home
View a GPX Track on a Map

How to View a GPX Track on a Map Without Installing Software

The quickest way to view GPX on a map from a laptop or phone browser: no installs, no account. Plus fixes for files that won't open or show a blank map.

TrailX

7 min read

–
A hand holding a tablet showing a GPS map with a position arrow, in a sunlit pine forest
Photo: Vyacheslav Argenberg / Wikimedia Commons, CC BY 4.0
On this page
  1. 01The quickest way to view GPX on a map
  2. 02On a phone: the two-tap version
  3. 03Not a GPX file? The same page still works
  4. 04When the track won't show up
  5. 05Sharing a track so someone else can see it
  6. 06When an app is actually worth installing
  7. 07A quick checklist
  8. 08Where to next?

Someone sends you a GPX file. A friend's ride, a route from a forum, a track you recorded last summer and forgot about. All you want to know is where it goes. You don't want to install a desktop program, create an account or learn a mapping app just to view GPX on a map for thirty seconds.

Good news: you don't have to. A modern browser on a laptop or phone is enough. Here's the fastest way we know, what to do when the file is in a different format, how to share a track with someone else, and how to fix the files that refuse to show up.

If you're not sure what's inside a GPX file in the first place, our short explainer on what a GPX file is covers the basics.

The quickest way to view GPX on a map

Open TrailX's upload and analyse page in any browser and drop your file onto it. That's the whole process.

  1. Go to trailx.io/publish on your laptop or phone.
  2. Drag the GPX file onto the page, or tap to pick it from your files.
  3. The track appears on an interactive map. Pan, zoom and switch base layers to see the route over satellite imagery or a topographic map.
  4. Close the tab when you're done.

There's no login for viewing. The analysis runs in your browser, and your track only leaves your device if you decide to publish it. (The page does look up place names and water crossings online, so you'll see more than a bare line.)

You also get a few things for free while you're there: waypoints on the map, an elevation profile that follows your cursor along the route, total distance and ascent. We keep this post about speed, so if you want to dig into gradients, moving time and pace, our walkthrough on using an online GPX viewer for deeper analysis picks up from here.

The fastest viewer is the one already on your device. For most tracks, that's a browser tab.

On a phone: the two-tap version

Phones are where most GPX files arrive: a message attachment, an email, a download from a trail site. The trick is to stop your phone from trying to "open" the file with whatever app it guesses.

  • iPhone: tap the attachment, choose Save to Files, then open trailx.io/publish in Safari and pick the file from the Files browser.
  • Android: let the file save to Downloads, then open the page in Chrome and choose it from the file picker.

The map works with touch, so you can pinch to zoom and drag along the route. If you want the longer version with screenshots of each step and what to do with app-specific prompts, see our guide to GPX files on iPhone and Android.

Not a GPX file? The same page still works

Tracks travel in more than one format. Google Earth likes KML and KMZ, web developers use GeoJSON, older fitness devices export TCX, and some loggers produce CSV. The upload page accepts all of them:

FormatWhere it usually comes fromWorks on /publish?
GPXGPS devices, most outdoor appsYes
KML / KMZGoogle Earth, My MapsYes
GeoJSONWeb maps, developer toolsYes
TCXOlder fitness watches and bike computersYes
CSVData loggers, spreadsheetsYes
FITMany modern watchesNo, export as GPX from the watch app first

So you can drop a KMZ on the page exactly like a GPX. If you need the file itself in another format, say a device that only accepts GPX, use the free format converter. It runs in the browser too, handles any of those six formats to any other, and lets you rename the route before downloading. Our post on converting GPX files and the KML to GPX guide go into the details, and GPX vs KML explains why both exist.

When the track won't show up

Most "it won't open" problems come down to a handful of causes. Work down this list before giving up on the file.

The file has the wrong extension

Some apps and email clients rename files, so you end up with route.gpx.txt, route.xml or a file with no extension at all. Rename it back to .gpx and try again. If you open it in a text editor and the first lines mention <gpx, it's a GPX file whatever the name says.

It's zipped

Downloads from forums and route collections often arrive as .zip. Unzip it first (double-click on a laptop, or tap it in the Files app on a phone) and drop the GPX inside. KMZ is a special case: it's a zipped KML, and the upload page reads it directly, so you don't need to unzip that one.

It's a route, not a track

GPX files can hold three kinds of data: tracks (a recorded line of many points), routes (a planned line, often with only a few turn points) and waypoints (single named spots). The GPX format specification defines all three. Some files contain only waypoints, which shows up as a few pins and no line. Others contain a route with a handful of points, which can look like a jagged line cutting straight across hills. Neither is broken; that's just what the file holds. If you need a proper line that follows trails, planning your own route is often quicker than fixing someone else's.

It's empty or cut short

A recording that was stopped too soon, a download that failed halfway, or a "share" that sent a link instead of the file can all leave you with a tiny file. Check the size: a real track of a day out is usually tens or hundreds of kilobytes. A file of a few hundred bytes has almost nothing in it. Ask the sender to export it again.

The line is in the wrong place

A track drawn in the ocean or far off the trail usually means a GPS that hadn't locked on yet, or a file that was edited by hand. The first and last few points are the usual culprits. Our guide to precise GPX tracks explains how to avoid that when you're recording your own.

For more general troubleshooting across different programs, our how to open a GPX file guide covers desktop tools and apps as well.

Sharing a track so someone else can see it

Sending a GPX file to someone who doesn't know what to do with it tends to end in a confused reply. Two easier options:

Send them a link instead. Publishing a track from the upload page creates a public trail page with a map, elevation profile and details that anyone can open in a browser. Publishing needs a free account; viewing the page doesn't. Have a look at a published page like the Kahlenberg Hike in Vienna, an easy 2.1 km walk with 90 m of climbing, to see what your friend would get.

Embed it. Every trail page has embed code, so if you write a club newsletter, a blog or a trip report, you can drop the map straight into your own page. Readers get an interactive map without leaving your site.

And if you're the one looking for tracks to view, many of the ones on TrailX can be downloaded too. Our post on where to download GPX files covers the options, and browsing by destination is a good way to find routes near you, such as hiking trails in Austria.

When an app is actually worth installing

A browser is perfect for looking. It's not what you want on the trail itself. Install an app when you need any of these:

  • Navigation. Following a track with turn-by-turn voice guidance, getting to the trailhead, and being warned when you wander off route.
  • Offline maps. Signal disappears in exactly the places tracks lead. You want regional maps and the trail saved on your phone before you go.
  • Recording. Capturing your own track with pause and resume, and marking water crossings, camps or fuel stops as you go.

The free TrailX app on iOS and Android does all three, and it opens the same six formats, so a file you checked in the browser will load in the app too. If it's your first time navigating with a track on your phone, our safety guidelines are worth a read alongside it, and a paper map remains a sensible backup.

A quick checklist

When someone hands you a track, here's the order we'd go in:

  1. Save the file somewhere you can find it (Files on iPhone, Downloads on Android or a laptop).
  2. Open /publish and drop it in.
  3. Not showing? Check the extension, unzip it, and look at the file size.
  4. Need another format for a device? Use the converter.
  5. Heading out to follow it? Load it into the app and download the map for offline use.

That covers almost every situation we see. Most of the time, it's step two and you're done.

Where to next?

Filed underNavigationHiking
–

Written by

TrailX

Hikers, riders and drivers mapping the world's trails, and sharing what we learn along the way.

Responses