More games at WuGames.ioSponsoredDiscover free browser games — play instantly, no download, no sign-up.Play

GPX Viewer & Editor - GPS Track Viewer

Free online GPX viewer: load a GPX file, see tracks on a map, read an interactive elevation profile, distance, duration and total elevation gain instantly.

Upload
Click or drag GPX file here
GPX format only

What is a GPX File?

GPX (GPS Exchange Format) is an XML-based file format for storing GPS data including waypoints, routes, and tracks. It's the standard format used by GPS devices, fitness trackers, and mapping applications to share location data.

GPX files are widely used for outdoor activities like hiking, cycling, running, and geocaching. They allow you to record your journey, share routes with others, analyze performance, and plan future trips.

Common uses of GPX files:

  • Recording GPS tracks from hiking, cycling, or running activities
  • Sharing routes and waypoints with other outdoor enthusiasts
  • Analyzing workout performance and elevation profiles
  • Planning routes for future trips and adventures
  • Geocaching and treasure hunting activities
  • Importing/exporting data between different GPS devices and apps

How to View and Edit GPX Files

This GPX Viewer allows you to upload and visualize GPX files directly in your browser. You can view tracks on an interactive map, analyze elevation profiles, examine waypoints, and see detailed statistics about your GPS data.

Features of this GPX Viewer:

  • Interactive Map Display: View your tracks and waypoints on a detailed map
  • Track Statistics: Distance, elevation gain/loss, min/max altitude
  • Elevation Profile: Visualize elevation changes along your route
  • Waypoint Management: View all waypoints with coordinates and descriptions
  • Privacy Focused: All processing happens in your browser, no uploads to servers
  • Download: Save the loaded GPX file for use in other applications

GPX File Structure

A GPX file contains three main types of data:

  • Waypoints: Single points of interest with coordinates (latitude, longitude, elevation)
  • Routes: Planned paths consisting of waypoints in sequence
  • Tracks: Recorded paths with timestamped track points showing your actual journey

Each element can include additional information like name, description, timestamp, elevation, and metadata.

Compatible Devices and Apps

GPX files are supported by:

  • GPS Devices: Garmin, TomTom, Magellan, Suunto
  • Fitness Apps: Strava, Komoot, AllTrails, MapMyRun, Runkeeper
  • Mapping Software: Google Earth, QGIS, BaseCamp, Gaia GPS
  • Smartphone Apps: OsmAnd, Locus Map, ViewRanger, GPS Tracks
  • Cycling Computers: Wahoo, Hammerhead, Bryton

Tips for Working with GPX Files

Best practices:

  • Always backup original GPX files before editing
  • Use descriptive names for tracks and waypoints
  • Include elevation data for accurate profile analysis
  • Remove unnecessary track points to reduce file size
  • Add timestamps for time-based analysis and replay
  • Test edited files in your target application before field use

Frequently Asked Questions

GPX (GPS Exchange Format) is an open XML schema published in 2002 by Topografix for sharing GPS data between devices and applications. A GPX file contains waypoints (named points), routes (ordered lists of waypoints), and tracks (recorded paths with timestamps and elevations). This tool loads any GPX 1.0 or 1.1 file, renders the tracks on a Leaflet map, draws an interactive distance-versus-elevation profile, and reports total distance, duration, and per-segment elevation gain and loss. All processing happens client-side in the browser, so your private location data never leaves your device. It is widely used by hikers, runners, cyclists, and surveyors who want to inspect a route before committing to it.

GPX always stores coordinates in WGS84 longitude-latitude (EPSG:4326), the same CRS used by GPS satellites and required by the GPX specification. Latitude and longitude are decimal degrees with at least seven decimal places of precision (roughly 1 cm at the equator). Elevation, when present, is in metres above the WGS84 ellipsoid, although some devices misreport this as height above mean sea level. If you need projected coordinates for area or distance calculations, use a separate converter to reproject to UTM (one of EPSG:32601 to 32660) or your local national grid; this tool will accept reprojected data for editing then export back to WGS84.

A waypoint is a single named point with coordinates (and optional metadata like name, description, symbol). A route is an ordered list of waypoints representing a planned path, intended for turn-by-turn navigation; it has no timestamps because it has not been travelled yet. A track is the actual recorded path, stored as a sequence of trkpt elements with latitude, longitude, optional elevation, and a timestamp for each point. The track captures what really happened, including pauses and detours, while a route describes what should happen. Tracks can be subdivided into trkseg (track segments) where a GPS signal was lost.

Almost every consumer GPS device made since 2005 exports GPX, including Garmin (Edge, Fenix, eTrex), Wahoo (Bolt, Elemnt), Sigma, Polar, Suunto, Lezyne, and Apple Watch (via third-party apps). On mobile, Strava, Komoot, Gaia GPS, AllTrails, MapMyRide, OsmAnd, Locus Map, and OruxMaps all export GPX. Web platforms like Wikiloc, RouteYou, and OpenStreetMap also serve GPX downloads. This tool reads any well-formed GPX 1.0 or 1.1 document and plots its tracks, waypoints, and elevation. Files that include Garmin TrackPointExtension data (heart rate, cadence, power) load fine; those extra channels are not charted, but they are kept intact in the original file you download.

Distance is computed with the spherical great-circle haversine formula applied to consecutive trackpoints using an Earth radius of 6371 km. This is the standard method and is accurate to within about 0.3 percent of the true ellipsoidal distance, which is negligible for any real activity. Duration is the elapsed time between the first and last trackpoint timestamps in the file. Elevation gain and loss are summed per segment only: the tool adds up positive and negative altitude differences within each track segment but never bridges across a trkseg or track boundary, because those breaks mark GPS signal loss rather than real climbs, which would otherwise inflate the total.

Small differences are normal and expected. This tool sums the spherical haversine distance between every consecutive trackpoint, so the result depends entirely on how densely your device logged points. A watch recording every second produces a slightly longer total than one recording every five seconds, because more points capture more of the path's wiggle. Strava and Garmin Connect apply their own smoothing, dead-band, and GPS-correction algorithms that can nudge the figure up or down by one to three percent. None of these numbers is wrong; they are just different conventions. To compare like-for-like, look at the same source file in each app rather than re-recorded versions.

Yes, completely. The entire GPX file is parsed in the browser using a DOMParser, rendered with Leaflet client-side, and edited entirely in JavaScript memory. No data is transmitted to any server, no network calls are made after the page loads, and no cookies or tracking analytics are installed for the location data. You can verify this by opening the network tab of your browser developer tools while editing; you will see zero outgoing requests. The tool also works fully offline once the page is cached. This is especially important because GPS tracks often reveal home address, workplace, and daily routines.

Load your file and the tool draws an interactive elevation profile of cumulative distance against altitude; hover anywhere on the line to read the exact distance and elevation at that point. The numeric Elevation Gain and Loss values above the chart are summed per segment, so a clean recording gives a trustworthy total ascent figure. If the profile looks jagged, that is real GPS noise: barometric and GPS-derived elevations drift by plus or minus 5 to 15 metres because of atmospheric pressure changes, satellite geometry, and consumer sensors, which can add false gain on long routes. For a ground-truth ascent figure, compare against a digital elevation model such as SRTM in dedicated GIS software.
GPX Viewer & Editor - GPS Track Viewer — Free online GPX viewer: load a GPX file, see tracks on a map, read an interactive elevation profile, distance, duration
GPX Viewer & Editor - GPS Track Viewer