View a GPX file in your browser
This tool loads a GPX file — the standard format exported by Garmin, Strava, Komoot and most GPS apps — and plots the route as a scaled track map with an elevation profile and summary stats. It is built for hikers, cyclists and runners who want a quick look at a recorded route without signing into a fitness platform.
How it works
The GPX file is XML, so the tool parses it with the browser’s built-in
DOMParser. It collects every trkpt (track point) across all trkseg segments and
all trk tracks, reading the lat and lon attributes and the optional ele
(elevation) child. The latitude/longitude pairs define a bounding box; the path is
then projected into that box and drawn as an SVG polyline so the shape stays accurate
at any size. Total distance is the running sum of Haversine great-circle distances
between consecutive points, and the elevation values are charted as a profile beneath
the map.
Notes
Everything runs locally — your track is never uploaded. The view is deliberately key-free and tile-free so it works offline and keeps your location data private. For ascent/descent totals and pace, see the GPX Elevation & Distance Stats tool.