GIS / GPS Tool

GPX Viewer

Upload a GPX file to visualize your track on an interactive map — elevation profile, distance, speed, duration, and waypoints. Runs entirely in your browser.

Drop your GPX file here
Supports tracks, routes and waypoints — GPX 1.0 and 1.1
Browse File
Track Map
Start End

Waypoints ()

Name Latitude Longitude Elevation Description

About This Tool

The GPX Viewer lets you upload any GPX file and instantly visualize it on an interactive OpenStreetMap. It parses GPS tracks, routes and waypoints, computes statistics like distance, elevation gain, speed and duration, and plots a full elevation profile — all locally in your browser with no data ever leaving your device.

How to Use

  1. Click Browse File or drag and drop a .gpx file onto the upload zone
  2. Your track appears on the map — green dot = start, red dot = end, yellow = waypoints
  3. Review the stats cards for distance, elevation, speed and duration
  4. Scroll down to see the elevation profile chart
  5. If the file has multiple tracks, use the tab bar to switch between them
  6. Click Load new file to reset and try another GPX

Algorithm & Logic

GPX is parsed as XML using the browser's built-in DOMParser — no server upload. Distance uses the Haversine formula on consecutive trackpoints. Elevation gain/loss is summed from signed altitude differences. Speed is derived from ISO 8601 timestamps when present. The elevation chart samples up to 600 points for performance and uses cumulative distance (km) as the X-axis.

Frequently Asked Questions

What is a GPX file?
GPX (GPS Exchange Format) is an open XML-based standard for storing GPS data including tracks, routes and waypoints. It is exported by most GPS devices, sports watches (Garmin, Suunto, Polar), and fitness apps (Strava, Komoot, AllTrails).
Is my file uploaded anywhere?
No. The file is read entirely by JavaScript in your browser using the FileReader API. Nothing is sent to any server. Map tiles are fetched from OpenStreetMap (the tile images, not your coordinates).
Why is elevation not shown?
Not all GPX files include <ele> elements. Many phone-recorded tracks omit altitude data. If elevation is missing, the elevation chart is hidden and all elevation stats show "—".
Why is speed not shown?
Speed requires <time> timestamps in each trackpoint. Files exported from mapping apps (routes drawn on a map) often lack timestamps, so speed cannot be calculated.
What is the file size limit?
There is no enforced limit — the file is processed in memory. Tracks with more than 100 000 points may be slow to render; the elevation chart automatically samples down to 600 points for chart performance.