A GPX viewer answers a simple question: what is in this track file? Choose the file and see the path on a map, with the number of points and the track length. The same page converts the file to KML or GeoJSON without sending it anywhere.
How to open a GPX file
- Open the file. Choose one
.gpxfile with the file box above the map. KML, KMZ, GeoJSON and CSV point files open there too. - Check the list. A file can hold several tracks, routes and waypoints. The list under the map names each one and its type.
- Read the stats. The panel shows the file name, the number of points, lines and polygons, and the total track length in feet or miles.
- Look at the route. The map zooms to fit everything in the file. Drag and zoom to look closer at a turn or a stop.
- Copy the summary. Copy result puts the item, point and distance summary on your clipboard.
- Convert the file. Press Export KML or Export GeoJSON to download everything in the file in that format.
Files are read on your device and never uploaded. Open a new file at any time to replace the one on the map.
Other files it opens
The same box opens KML and KMZ files, GeoJSON, and CSV files with a header row and latitude and longitude columns, so you can check a file before converting it. In a CSV, each row becomes a point, named from a name, label or title column when there is one.
What is a GPX file?
GPX stands for GPS Exchange Format. It is an XML file that holds tracks (recorded paths), routes (planned paths) and waypoints (single places). Each point usually has a latitude and longitude, and often an elevation and a timestamp. A watch, a phone app or a route planner can write one.
| Feature | GPX | KML |
|---|---|---|
| Main use | GPS tracks, routes and waypoints | Earth viewers and map presentations |
| Structure | XML with point lists | XML with placemarks and styling |
| Elevation and time | Common on every point | Optional and less consistent |
| Styling | Minimal | Colors, icons and descriptions |
| Best for | Activity files and analysis | Sharing a view in an Earth browser |
KML can hold the same line, but it is designed for presentation. GPX is the better source for statistics because the time and elevation fields are part of the format.
How the statistics are calculated
Distance is the sum of geodesic distances between consecutive points on the WGS84 ellipsoid. Every track and route in the file is added to the total. Each segment inside a track is measured on its own, so the gap in a paused recording is neither drawn nor counted.
Timestamps are not read, so the viewer shows no elapsed time, moving time, speed or pace. Your watch or tracking app shows those for the same activity.
Elevations are not read either, so there is no climb, descent or profile chart here. For the climb along the same track, open the file in the Elevation Profile tool, which samples a terrain model along the line.
Your watch or phone app may measure distance from a smoothed or denser set of points, so a small difference in length is normal.
Convert a GPX file
Choose KML for Earth viewers and Google Earth, or GeoJSON for GIS software and web maps. Each export holds every track, route and waypoint in the file.
Both formats keep the name and the longitude and latitude of every point. Elevations, timestamps and colors are not written, so keep the original GPX file if you need them.
Heart rate, cadence and other sensor extensions are not converted. The viewer reads only positions and names.
Understanding your result
| What you see | What it means | What to do |
|---|---|---|
| Track length | The summed length of every track and route in the file | Compare it with your app; small differences are normal |
| Points | How many positions were read from the file | A low count may mean a planned route, not a recording |
| A break in the line | The track has separate segments, for example from a paused recording | Nothing: the gap is not part of the length |
| Lines and polygons | Tracks and routes count as lines; polygons come only from KML or GeoJSON files | Check that the file holds what you expect |
| No track points were found | The file has no track, route or waypoint the viewer can read | Check that it is a GPX file, not a FIT file |
This viewer is for looking at and converting files. Check a route on a current map before you rely on it outdoors.
Privacy: what leaves your device
Your file stays in the browser. Map tiles are requested by area as you pan and zoom. Those requests carry normal web information such as an IP address, not your track or its name. Nothing from the file is stored, logged or sent to analytics.
To see a path you draw yourself, use the Map Distance Calculator. To view a KML or KMZ file, open the KML Viewer. For the climb on a route you draw, try the Elevation Profile. The Topographic Map shows the terrain under the track.