Open a GPX file from your watch, phone or bike computer to see the route on a map with its distance, moving and elapsed time, pace, speed, elevation gain and an interactive elevation profile. Hover the chart or the track to see the values at any point. Everything stays in your browser.
Last updated:
Basemap tiles could not be loaded (offline or blocked); the track is drawn on a plain grid.
Splits
Details
Advertisement
Advertisement
How to use the GPX Viewer
Open your GPX file: press Open GPX file or drop it on the map. A sample trail run is loaded so you can explore first.
Read the summary: the cards show distance, moving and elapsed time, pace, speed and elevation gain.
Explore the profile: hover or tap the elevation chart to see the distance, height, time and speed at that point; the orange marker shows where it is on the map.
Change the view: switch to the Speed or Heart rate chart, color the track by speed or elevation, and pick metric or imperial units.
Check your splits per kilometer or mile, then download the points as CSV or the track as GeoJSON if you need them elsewhere.
How the GPX statistics are calculated
Statistic
Method
Distance
Sum of haversine distances between consecutive points: d = 2R·asin(√(sin²(Δφ/2) + cos φ₁·cos φ₂·sin²(Δλ/2))) with R = 6,371,008.8 m
Elapsed time
Last timestamp minus first timestamp
Moving time
Sum of intervals where distance ÷ time ≥ 0.28 m/s (about 1 km/h or 0.6 mph)
Average pace / speed
Moving time ÷ moving distance, and its inverse
Max speed
Highest speed averaged over a window of at least 10 seconds, which filters single-point GPS spikes
Elevation gain / loss
Elevation smoothed with a 5-point moving average; climbs and descents are counted once they exceed 2 m (hysteresis). The raw sum of all positive and negative steps is shown too
Splits
The track is cut exactly at every full kilometer or mile by interpolating between points; time is moving time within each split
What is inside a GPX file
A GPX file has three kinds of data. Waypoints (<wpt>) are single named places such as a trailhead or a campsite. Routes (<rte>) are planned paths made of turn points, usually without times. Tracks (<trk>) are what your device recorded: one or more segments (<trkseg>) of track points (<trkpt lat="…" lon="…">) with optional <ele> in metres and <time> in UTC. Fitness devices add sensor data inside <extensions>, most commonly Garmin's TrackPointExtension with hr, cad and atemp.
A new segment starts when recording was paused and resumed or the GPS signal was lost; the distance across the gap is not counted.
Recording interval matters: watches in smart or 1-second recording mode give smoother profiles than phones that log every few seconds.
Planned routes exported from route planners have no timestamps, so only distance and elevation can be shown.
Frequently asked questions
What is a GPX file?
GPX (GPS Exchange Format) is an XML format for GPS data. It stores waypoints, routes (planned paths) and tracks (recorded paths), where each track point has a latitude and longitude and usually an elevation and a timestamp. Garmin, Strava, Komoot, AllTrails, Suunto, Wahoo and most fitness and mapping apps can export GPX.
How is the distance calculated?
Each step between consecutive track points is measured with the haversine great-circle formula on a sphere with the mean Earth radius of 6,371 km, and the steps are added up. Gaps between separate track segments are not counted. Results can differ slightly from your device, which may use barometric data, filtered points or a different point density.
Why is my elevation gain different from Strava or Garmin?
Elevation gain depends heavily on noise filtering. Raw GPS altitude jitters up and down by a few metres, and adding every tiny climb inflates the total. This viewer smooths elevation with a 5-point moving average and only counts changes of at least 2 m, and it also shows the raw sum. Apps that use barometric altimeters or terrain models will report different totals.
What is the difference between moving time and elapsed time?
Elapsed time runs from the first to the last timestamp, including stops. Moving time only counts the intervals where you moved faster than about 1 km/h (0.28 m/s), so waiting at traffic lights or taking a break is excluded. Average pace and speed use moving time; the overall speed below it uses elapsed time.
Is my GPX file uploaded?
No. The file is parsed in your browser and never sent anywhere, which keeps your home address and routines private. The only network requests are for the OpenStreetMap background tiles of the area you are viewing; untick Basemap to stop them.
Can it open FIT, TCX or KML files?
TCX files from Garmin open directly. FIT files are binary and need to be exported as GPX from Garmin Connect, Strava or your app first. KML is Google Earth's format and should be converted to GPX.
Are all the tools on FreeToolCabin tested for quality and accuracy?
Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.