GPX Viewer
This tool visualizes GPX GPS tracks on an interactive map. Upload a .gpx file recorded by a hiking, cycling or running app and the track is drawn as a blue line with the map zoomed to fit it.
Alongside the map you get real statistics: total track distance (sum of great-circle segments between consecutive points), the number of track points and tracks, and — when the file contains
Distance is the sum of great-circle segments between consecutive track points. The file is parsed entirely in your browser and never uploaded.
How to use this tool
Click Upload .gpx file and choose a track exported from your GPS app, watch or device. It is read locally.
Each track segment is drawn as a line and the map fits to the full route so you can inspect the path.
Check total distance, point count and — if present — elevation gain and loss computed from the file's own data.
What people use this tool for
Upload the day's recording to see the actual route and how much climbing it involved, without signing up for a fitness platform.
Preview a GPX someone sent you to confirm it covers the area you expect and has no obvious GPS glitches.
When choosing between two recorded variants of a trail, the gain/loss figures show which one climbs more.
How it's calculated
The file is parsed as XML with DOMParser;
Related tools and resources
Frequently asked questions
How is the total distance calculated?
By summing the great-circle (Haversine) distance between every pair of consecutive track points. It reflects the recorded path, not a straight line between start and finish — so GPS noise and switchbacks both count.
Why does it say elevation is 'not recorded'?
Your GPX contains track points without <ele> (elevation) tags — common for files exported from apps that only log positions. The tool will not guess elevations; it reports exactly what the file contains.
Does it handle multi-day or multi-track files?
Yes. Every track segment is drawn and the statistics cover all of them combined, with the number of tracks shown next to the point count.
Is my location data sent to a server?
No. GPX tracks can reveal where you live and train, so this tool deliberately parses everything locally in your browser. Only the map background tiles are loaded from the network.
Data sources & methodology
- OpenStreetMap — Base map tiles.
- Leaflet — Interactive map rendering library.