GPX Viewer
Open a GPX file to see the route, elevation and every climb on a map. Free, no sign-up, and it works in your phone browser with no app. Your file stays on your device.
- Free
- No sign-up
- Works on iPhone and Android
What you see when you view a GPX file
A GPX viewer opens a GPS track file and shows the route on a map with distance, climbing and time. GPX Editor's free GPX viewer also lists every climb and lets you edit the route on the same page.
- Distance.
- The track length, with a figure for each track or segment.
- Elevation gain and loss.
- The climbing and descending along the route, worked out by the elevation rules.
- Time and moving time.
- Time runs from the first to the last timestamp. Moving time follows the moving time rule.
- Speed or pace.
- Average speed, or pace per km or mile. Both need timestamps, so a planned route shows distance and climbing only.
- Climbs.
- Each climb gets a row with its length, gain and average and maximum grade. Click a row and the map highlights it.
- Splits.
- A table per km or per mile with the time, pace and gain of each split.
The sample climbing ride has three climbs: +469 m in the first 8.6 km, +390 m from km 14.5 to 21.3 and +366 m from km 27.8 to 34.5.
File check lists the point count, sampling interval, missing times or elevation, pauses and GPS jumps, and marks the jumps on the map.
How to view a GPX file
You can see your route on a map from a phone or a computer. No file yet? Choose a route next to Try a sample.
For a bigger map on any device, use Full screen. Exit full screen brings the page back.
On an iPhone or iPad
- Save the GPX to the Files app. In Mail, touch and hold the attachment, then choose Save to Files.
- If it came through AirDrop, WhatsApp or another app, make sure you can see it in Files.
- Open this page in Safari, tap Open a file and pick the GPX. Your route appears on the map.
On a Mac, Windows PC or laptop
- Find the GPX you downloaded or received, for example in your Downloads folder.
- Drag it onto the box at the top of this page, or choose Open a file. The map and numbers appear together.
On an Android or Samsung phone
- Download the GPX from your email, chat or trail app. The Files app shows your downloads.
- Open this page in Chrome, tap Open a file and choose the GPX. Your route appears on the map.
Can't open a GPX file? Match the message
Find your case below to get a missing route or number back on screen. A route you already opened stays there while an error shows.
| What you opened | What you see | Next step |
|---|---|---|
| A download that was cut off | We could not read this file | Download it again, then open the new copy. |
| A saved web page with a .gpx name | We could not read this file | Use the Export or Download GPX option in the source app. |
| A ZIP archive | We could not read this file | Unzip it, then open the GPX inside. |
| A CSV without position columns | We could not read this file | Label the columns latitude and longitude, then open it again. |
| An empty export | This file has no track points to draw | Export the whole activity or route again. |
| A track with some heights missing | Elevation gain and loss and Climbs are hidden | Check Missing elevation in File check, then press Add elevation. |
| A track with some times missing | Time, Moving time and Speed or pace are hidden | Check Missing times in File check, then export a fresh copy. |
| Waypoints or a planned route | A notice that time and speed are not shown | For your pace and times, open the recorded activity instead. |
To see whether your download really is GPX, compare it with the parts of a GPX file. On an iPhone, start with the Files app steps.
Who opens a GPX file, and what to check
Find your activity below and get the answer you need from your route.
Hikers: preview a hiking trail
Size up Saturday's walk before you leave home. Open a trail GPX from a friend, AllTrails or Komoot, then read Elevation gain and loss.
See where the long hills are in the Climbs list, and spot steep parts with Slope beside Color the route by. For walking time, choose Naismith or Tobler on the Time card. Back before dark compares your finish with today's sunset.
Cyclists: find the steepest climb on a bike route
Know which hill will bite hardest before you ride. On our sample ride, Max grade reaches 21.4% on climb 3, against 15.5% on climb 1.
See where you slowed after the ride. Open your Strava or Garmin Connect GPX and read Splits. In the sample, km 6 takes 5:40 and gains 105 m.
Runners: check a race course
Learn the course length and climbing before race day. Open the organiser's GPX and read Distance and Elevation gain and loss, or practise with the City marathon sample.
Next, see how your run compares by opening the GPX from your Forerunner or running app. Files open one at a time, so note the course figures first.
On a phone, switch files with the Open a file button at the bottom of this page. For a gap in climbing figures, see what causes it.
Group leaders: check a route before sending it
Give your members a route you have already looked over. Before sharing Sunday's hike, bike ride or motorcycle run, open File check and look at GPS jumps.
Select any jump to inspect that spot, and use a clean file if the line is wrong. Then fill missing heights with Add elevation, so members can see the climbing.
Why your elevation gain differs from Strava
Elevation gain is not fixed by the file alone. Two choices change it: the threshold, which is the smallest rise that counts, and where the elevation numbers come from. We ran our three synthetic sample files at 0, 2 and 5 m, then again with fresh terrain data.
| Sample route | Distance | Gain, 0 m threshold | Gain, 2 m | Gain, 5 m | Terrain data, 0 m | Terrain data, 5 m |
|---|---|---|---|---|---|---|
| Hike loop | 4.69 km | 99 m | 81 m | 71 m | 109 m | 72 m |
| City marathon | 42.19 km | 345 m | 220 m | 123 m | 432 m | 163 m |
| Climbing ride | 36.00 km | 1,818 m | 1,667 m | 1,518 m | 1,954 m | 1,550 m |
Terrain data columns use AWS Terrain Tiles at zoom 14. Each route was measured from the same points in every column. Add elevation on this page reads zoom 12 tiles, so its totals can differ.
The 0 m column is the raw sum of every rise. For the original files, the 5 m column matches this viewer, which follows its elevation gain rule.
- On all three original files, each higher threshold gave a lower elevation gain.
- The flatter the route, the larger the share lost: 64% for the marathon, 28% for the hike and 17% for the climbing ride.
- Swapping in terrain data raised the 0 m totals by 7% to 25% on these three files.
Strava says it uses the elevation in your file when the device has a barometric altimeter. Otherwise it looks heights up in its own basemap (Strava: Elevation). It counts a climb only after more than 2 m with barometric data, or more than 10 m without it (Strava: Elevation FAQs).
How this GPX reader calculates the numbers
Every number is worked out in your browser from the points and timestamps in your file.
- Distance.
- The great-circle (haversine) distance between each pair of points, added up along the track.
- Elevation gain.
- A rise is added only once it reaches the 5 m threshold from the last counted point. Smaller wiggles are skipped, which keeps GPS noise out of the total.
- Moving time.
- Time between points where you moved at 0.3 m/s or faster. Gaps of 120 seconds or more are left out.
- Speed and pace.
- Both come from your timestamps; see which results need them.
- Climbs.
- A climb gains at least 50 m at an average grade of 3% or more, and ends after a drop of 30 m.
- Added elevation.
- Add elevation reads heights from AWS Terrain Tiles, an open elevation dataset on the AWS Registry of Open Data.
Adding elevation replaces the heights already in your file. The viewer shows a before and after chart first, and nothing changes until you apply it.
How to read a GPX file, part by part
You can tell what a file will show by reading a few names inside it. A GPX file is plain text, so a text editor displays them.
| Name in the file | What it holds | Where it shows here |
|---|---|---|
| trkpt, inside trk and trkseg | One track point, with lat and lon | The line on the map, and Distance |
| ele | Height in metres | Elevation chart, gain, loss and Climbs |
| time | Date and clock time | Time, Moving time, Speed or pace |
| rtept, inside rte | One point of a route | The map line, and Distance when there is no track |
| wpt | A single saved place | A marker on the map |
| creator, on the gpx tag | The app or device that wrote the file | Recorded by, in File check |
For a real example, press Download sample GPX before you open a file. Its first track point has lat 51.559546 and lon -0.160605, with ele 95.1 and time 2026-05-16T08:30:00Z. The closing Z means that time is in UTC.
You can get a map line and distance from a track holding only lat and lon.
Files you can open
The viewer opens seven formats. A file ending in .txt or .xml is read by content, but a KML named .gpx will not open. See the FAQ for the free file size limit.
| Format | What it is | Where it usually comes from |
|---|---|---|
| GPX | Tracks, routes and waypoints | Most apps, watches and route planners |
| FIT | Garmin's activity format | Watches and bike computers |
| TCX | Garmin Training Center format | Garmin Connect exports |
| KML / KMZ | Google Earth format, KMZ is zipped | Google Earth and Google My Maps |
| GeoJSON | Web map format | GIS tools and web maps |
| CSV | A table of points | Spreadsheets with latitude and longitude columns |
These files come from three places: watches and bike computers, fitness apps, and map or GIS tools. Here is how to get a file out of three common sources.
- Strava.
- On the Strava website, open your activity, choose the ⋯ menu and pick Export GPX.
- Garmin Connect.
- Open the activity, click the gear icon and choose Export to GPX, or Export File for the original FIT.
- Suunto app.
- Open a workout, tap the three dots at the top right and choose GPX. Workouts without GPS cannot export GPX (Suunto: export files).
After viewing: edit, convert, send to your watch
View the file, add missing elevation, trim the start and end, then export it for your watch.
- Edit this route in the GPX editor to trim, reverse or add points.
- Join several rides or days into one track before you export.
- Open the route in Google Earth or My Maps as a KML file.
- To get KML without leaving this page, choose the File menu (an icon on phones), then Export.
- Make a course file for Garmin or Wahoo from the same GPX.
GPX viewer FAQ
What is the best free GPX viewer?
A good free GPX viewer opens files without uploading them, works in a phone browser and shows elevation and climbs. GPX Editor's viewer does all three, with no account. If you only need a quick look on Android, a viewer app such as GPX Viewer: Hike & Bike also works.
Viewing is free for files up to 20 MB. Pro costs $6.99 a month or $39 a year and adds larger files and batch tools.
How do I open and view a GPX file online?
You can open and view it right on this page, following the steps for your device.
How do I view a GPX file on my iPhone?
Safari is all you need to view it, so there is no app to install: see the iPhone steps.
How do I open a GPX file on my computer without installing anything?
A browser on Mac or Windows can open it with nothing to install: see the computer steps.
What do distance, elevation gain and moving time mean in a GPX file?
Each number is explained under what you see. The exact rules are under how the numbers are calculated.
Does the GPX viewer work offline?
Partly. Once a file is open, its stats, chart and climb list stay on screen without a connection. The map background needs a connection to load new areas.
How do I use a GPX viewer?
First open your file, then check what each result means. Press Open in editor to carry on with edits and exports. To keep looking on your phone, scan the QR code to open this page there.
What app should I use for GPX files?
To view one, a browser is enough. To follow the route outdoors, export a FIT course for your watch or import the GPX into Komoot.
Open a GPX file and see every climb
Free, no sign-up, and your file stays on your device.