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

GPX Viewer & Editor - GPS Track Viewer

Free GPX viewer and editor: view, analyze and edit GPX files online. Display GPS tracks on map, view waypoints, routes, elevation profile. Export edited GPX.

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
  • Export Capability: Download edited GPX files 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, elevations, and optional speed/heart-rate extensions). This tool loads any GPX 1.1 file, renders the tracks on a Leaflet map, and lets you inspect, trim, split, merge, and re-export them. All processing happens client-side in the browser, so your private location data never leaves your device. The tool is widely used by hikers, runners, cyclists, and surveyors.

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, including the Garmin TrackPointExtension (heart rate, cadence, power) and the Cluetrust extension (lap data). Custom extensions are preserved on re-export.

Distance is computed using the haversine formula applied to consecutive trackpoints, which gives accurate great-circle distances on the WGS84 ellipsoid to within 0.5 percent (negligible for activities under 100 km). Duration is the difference between the first and last timestamps, excluding any pause segments longer than 10 seconds (configurable). Elevation gain is the sum of all positive altitude differences between consecutive points after a smoothing pass that removes the natural barometric jitter; without smoothing, raw GPS elevation reports can overestimate gain by 50 to 200 percent. The numbers shown match Strava and Garmin Connect to within 1 percent on test files.

Yes. The split tool lets you click any point on the loaded track to break it into two segments at that location, useful for separating a multi-day trip into individual days or removing the drive-home portion from a hike. The merge tool accepts multiple GPX files and concatenates their tracks in the order you select, optionally smoothing the junctions to remove time-gap artifacts. Both operations preserve all metadata, including timestamps, elevations, and any extensions. The output remains a valid GPX 1.1 file readable by any device or app that handles GPX.

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.

GPS barometric and GPS-derived elevations are inherently noisy because of atmospheric pressure variation, satellite geometry, and consumer-grade sensors. Even a stationary device can show elevation drift of plus or minus 5 to 15 metres. Over the course of a long ride this drift sums into hundreds of metres of false elevation gain. The tool applies a configurable smoothing filter (default 5-point moving average) that removes most of this noise without distorting real climbs. For better accuracy, enable elevation correction from a digital elevation model like SRTM, which replaces each trackpoint's recorded elevation with the value from a ground-truth raster.
GPX Viewer & Editor - GPS Track Viewer — Free GPX viewer and editor: view, analyze and edit GPX files online. Display GPS tracks on map, view waypoints, routes,
GPX Viewer & Editor - GPS Track Viewer