Sample GPX files

GPX (.gpx) is an XML format for exchanging GPS data: waypoints, routes and tracks. Below are sample .gpx files to download and import into Garmin, Strava, OsmAnd and GIS tools

Sample file: Waypoints with elevation
Waypoints with elevation
407 bytes
Sample file: Route of several points
Route of several points
365 bytes
Sample file: Track with elevation and time
Track with elevation and time
2.7 Kb
Sample file: All together: metadata, waypoint, route, track
All together: metadata, waypoint, route, track
1.8 Kb
Sample file: Large track: 2000 points
Large track: 2000 points
254 Kb
Sample file: Empty GPX (metadata only)
Empty GPX (metadata only)
186 bytes

🧠 How GPX works

GPX is XML for GPS data. Three basic types: wpt (individual points), rte (a route of points) and trk (a recorded track of trkseg segments). Each point has latitude/longitude, often elevation (ele) and time (time). Everything lives inside the <gpx> root.

📍 Coordinates lat, lon, ele 🧭 wpt / rte / trk GPS objects 🧩 GPX (XML) inside gpx ⏱️ Metadata time, elevation 💾 .gpx ready file