GPX Viewer
Open a GPX file on a map and see each track's distance, ascent, descent and elevation profile, without uploading the file.
How to open a GPX file
Add the GPX file
Drop a GPX file on the map above or press Choose a file. Tracks, routes and waypoints all appear on the map. Several files open together, each as its own layer, so two rides or hikes can be compared.
Choose a track
The first track in the file opens by itself, or the first route if the file has no track; choose any other in the list. Its details give the distance; the ascent, descent, lowest and highest point when every point has an elevation; and the total time and moving time when every point has a time.
Read the elevation profile
Under the figures, the profile plots elevation against distance. Move the pointer along it, or select it with the Tab key and press the Left and Right arrow keys, and a marker shows that point on the map, with its distance and elevation under the profile.
Save or convert it
Use Export to save the file as GPX again, or as KML, KMZ, GeoJSON, CSV or a Shapefile ZIP.
GPX to KML and KML to GPX, with what each format keeps: KML to GPX converter.
Distance, ascent and descent
Distance is the sum of the straight lines between the track's points, each measured over the curve of the Earth. The straight lines cut the corners between points, so the figure depends on how often the device recorded a point: a track with a point every few seconds follows the bends of a path more closely than one with a point every minute.
Ascent and descent come from the elevations stored in the file. GPS readings vary from point to point, and adding up every small rise would count that variation as climbing. So the viewer first replaces each elevation with the middle value of itself and its two neighbors, then counts a climb or a drop only once it reaches 3 meters. Apps that use other rules, or that replace the recorded elevations with their own terrain data, give different totals for the same track.
Lowest and highest point are the file's own lowest and highest elevations, before any smoothing. When every point carries a time, the viewer also gives the total time, from the first point to the last, and the moving time, which adds up the time between points only where the position changed. There is no speed below which time counts as a stop, so a device that records small changes of position while you stand still counts that time as moving. Times are shown as hours, minutes and seconds; distances are in miles or kilometers and elevations in feet or meters, as the units button sets.
The elevation profile
The profile is drawn from the elevations in your file, along the distance of the track, in the track's details beside the map. A track with more than 2,000 points is drawn from 2,000 of them, taken at even steps along the track. GPX makes each point's elevation optional, so some files have none; if any point of the track has no elevation, there is no profile and no ascent or descent. The viewer does not look elevations up from a terrain service, because that would mean sending your track's coordinates to one.
Tracks, routes and waypoints
A GPX file can hold three kinds of data. A track is an ordered list of points describing a path, which starts a new segment where the GPS lost reception or was turned off. A route is an ordered list of waypoints, the turn points leading to a destination. A waypoint is a single point of interest or named place. The viewer draws tracks and routes as lines and waypoints as dots, and the panel lists each one with its name. A track with several segments is one entry in the list, and its distance adds up the segments without the gaps between them.
GPX coordinates are latitude and longitude on the WGS 84 datum, and its measurements, elevations included, are in meters. Each point can also carry a time, which is what the total and moving times are worked out from.
Base maps for terrain
The viewer starts on the Outline map, which shows country borders, coastlines and the names of 12 large cities only. For terrain in the United States, choose Topographic (United States), the U.S. Geological Survey's topographic map, or Satellite (United States) for aerial pictures; elsewhere, Streets from OpenStreetMap or Satellite (world). Each loads map pictures for the area on screen from that organization's server, and none loads until you choose it.
Your track stays on your device
A GPX track can record where you were and when. This viewer reads it in your browser, and the file never leaves your device. If you choose a remote base map, that server receives the addresses of the map pictures for the area on screen, never your track or its times. What a remote base map sends.
Frequently asked questions
What is a GPX file?
GPX, the GPS Exchange Format, is an XML format for exchanging GPS data (waypoints, routes and tracks) between devices, apps and web services. Its current version, 1.1, was released on August 9, 2004. Coordinates use the WGS 84 datum and measurements are metric.
How do I open a GPX file?
Drop it on this page and it opens on the map, with the first track's figures in the panel. Google Earth on the web does not import GPX: Google's help says to convert it to KML, GeoJSON, CSV or a Shapefile first, which GPX to KML does here.
Can I open a GPX file in Google Maps?
Through Google My Maps on a computer, which lists GPX among the files it imports (up to 40 MB). Once imported, the map shows in the Google Maps app on your phone under You, then Maps.
Why is there no elevation profile?
At least one point of the track has no elevation. GPX makes elevation optional for each point, and the viewer uses only what the file holds. It does not look elevations up online, which would send your track's coordinates to another server.
Why is the ascent different from my app's?
Each app has its own rule for small ups and downs in GPS readings, and some use their own terrain data instead of the recorded elevations. This viewer uses the elevations in the file, smoothed over three points, and counts a climb only once it reaches 3 meters. How the figures are worked out.
Can I see several GPX files together?
Yes. Drop them at once: each file becomes a layer on the same map, listed in the panel under its own name with its tracks, routes and waypoints.
Is my GPX file uploaded?
No. The track is read in your browser and never leaves your device. Google Analytics, which counts visits, receives no file, point, name or time from it.