Sample GPX file
A GPX 1.1 file with one made-up track: a loop near Boulder, Colorado, with points every 6 seconds, each with elevation and a timestamp. Free, no sign-up. Updated 19 November 2026.
What these files are
A GPX 1.1 file with one made-up track: a loop near Boulder, Colorado, with points every 6 seconds, each with elevation and a timestamp.
The track is 7.22 km long by the haversine formula and lasts 29.9 minutes from the first point to the last.
Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.
About the format
GPX (GPS Exchange Format) 1.1 is an XML schema published by TopoGrafix in 2004. It has three kinds of data: waypoints (wpt), routes (rte) and tracks (trk), where a track is a recorded path made of segments (trkseg) of points (trkpt). Times are in UTC and written in ISO 8601, and elevation is in metres.
These files open in QGIS and most GPS and fitness apps. A web server should send them with the header Content-Type: application/gpx+xml.
1 file to download
| File | Size | What it is |
|---|---|---|
| sample-loop-track.gpx | 30 KB | one track, 300 points with elevation and time, a made-up loop near Boulder, Colorado points: 300; duration min: 29.9; distance km: 7.22 |
MIME type: application/gpx+xml. Total 30 KB.
Good for testing
- Fitness and mapping apps that import GPX
- Distance, pace and elevation calculations
- Converting GPX to GeoJSON or CSV
Check a file
python -c "import xml.etree.ElementTree as E; print(len(E.parse('sample-loop-track.gpx').findall('.//{http://www.topografix.com/GPX/1/1}trkpt')))"Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):
| File | SHA-256 |
|---|---|
| sample-loop-track.gpx | 132abcde1e307224fec617f25bed120a1cd4224f4794ff052e3a5a203336fae1 |