GPX & GeoJSON Viewer
See GPS tracks and GeoJSON shapes with distance, elevation profile and stats.
How to use the GPX & GeoJSON Viewer
- 1Drop a GPX, KML, TCX or GeoJSON file.
- 2See the route drawn to scale with distance, climb, time and speed.
- 3Hover the elevation profile to find each point on the track.
About GPX & GeoJSON Viewer
The GPX & GeoJSON Viewer opens GPS tracks and shapes from GPX, KML, TCX and GeoJSON files, or pasted text, and draws them to scale. It calculates distance, total and moving time, average and maximum speed with pace, elevation gain and loss, the lowest and highest point, and average and maximum heart rate when the file contains it.
The track can be colored by elevation, speed, heart rate or gradient, with adjustable line width, an optional latitude and longitude grid and waypoints. Hover the elevation profile, or switch it to speed or heart rate, to find each point on the route. A climb threshold lets you ignore small ups and downs caused by GPS noise when counting elevation gain, and units switch between kilometers and miles. Files with several tracks can show or hide each one. The route can be exported as GeoJSON or saved as an SVG or PNG image.
This GPX viewer is useful for runners, cyclists and hikers reviewing an activity from a watch or bike computer, planners checking a route before a trip, and developers testing GeoJSON data. No background map is loaded, so your location data stays on your device.
Frequently asked questions
Why is there no background map?
Map tiles would have to be loaded from a third-party server, which would reveal where your track is. The viewer draws the route on its own so your location data stays private.
How is the distance of a GPS track calculated?
The distance between consecutive points is computed with the haversine formula on a sphere with the Earth's mean radius of about 6,371 km, and the segments are added up. Elevation changes are not included in the distance.
Why does elevation gain differ between apps?
GPS elevation is noisy, and every small up and down adds to the total. Apps filter this noise differently; here the climb threshold sets how much the elevation must change before it counts.
How do I convert GPX or KML to GeoJSON?
Open the file and click the GeoJSON export. Tracks, shapes and waypoints are written as GeoJSON features that mapping libraries and GIS tools can read.
More in File Viewers
Drop any file to look inside it, with the right viewer picked for you.
Browse JSON as a collapsible tree and find syntax errors down to the line.
Check YAML for indentation and syntax errors and explore it as a tree.