# GPX — GPS Exchange Format

> GPX (GPS Exchange Format): XML format for exchanging GPS waypoints, routes and tracks with WGS 84 coordinates, elevation and timestamps. Specs, software and free sample files; convert GPX to 39 formats online.

- Page: https://beta.mygeodata.cloud/formats/gpx



## What is a GPX file?

GPX (GPS Exchange Format) is an XML schema for exchanging GPS data between devices, applications and web services. It was created by TopoGrafix, which publishes the schema; version 1.1 is the current release. A GPX file is a single XML document containing waypoints (wpt), routes (rte) made of route points, and tracks (trk) divided into segments of track points. Each point stores latitude and longitude, optionally with elevation, a UTC timestamp, name, description and other defined elements.

The format is used by handheld GPS receivers, fitness and outdoor apps, and route-planning tools for recording and sharing trips. Coordinates are always WGS 84 in decimal degrees, which simplifies exchange but rules out other reference systems. Only point and line data are supported, with no polygons, and the attribute set is fixed by the schema; additional data such as heart rate or temperature is placed in vendor-specific extension elements that not all software understands.

GPX files usually come from handheld GPS units, cycling and hiking apps, or route planners, and are exchanged between them or uploaded to mapping tools. Check whether the data is waypoints, routes or tracks, because software treats them differently. Timestamps are in UTC. Extra sensor data such as heart rate sits in vendor extensions and may be dropped when converting to other formats.

### Technical details

| | |
|---|---|
| Full name | GPS Exchange Format |
| Data type | Vector · GPS & navigation |
| File extension | .gpx |
| Files | Single file |
| Media type | application/gpx+xml |
| Geometry types | Point, LineString |
| Multiple layers | Yes |
| Mixed geometry in a layer | No |
| Attribute names | No length limit (UTF8) |
| Coordinate system | Always WGS 84 (EPSG:4326) |
| Converter support | Read & write |
| Typical software | Garmin BaseCamp, GPSBabel, QGIS, GDAL/OGR, Google Earth Pro, Global Mapper |
| Specification | https://www.topografix.com/gpx.asp |

### Specifications & references

- https://www.topografix.com/gpx.asp
- https://www.topografix.com/GPX/1/1/
- https://gdal.org/en/stable/drivers/vector/gpx.html

### Sample GPX files — free download

- [Hike (track + waypoints)](https://beta.mygeodata.cloud/static/landing/samples/v1/gpx/st-helena-hike.gpx) — Hike from Jamestown up Jacob's Ladder to High Knoll Fort: 3.0 km, 513 track points (10 s) with elevation and time, 4 waypoints. GPX 1.1 with metadata, track with <ele> and <time>. (66.8 kB, EPSG:4326)
- [Places as waypoints](https://beta.mygeodata.cloud/static/landing/samples/v1/gpx/st-helena-places.gpx) — 58 places of Saint Helena (20 settlements, 17 peaks, 21 points of interest) with name, category, elevation from Copernicus DEM and OSM id. GPX 1.1 waypoints with elevation, symbol and type. (9.7 kB, EPSG:4326)
- [Planned route](https://beta.mygeodata.cloud/static/landing/samples/v1/gpx/st-helena-route.gpx) — The hike as a planned GPX route with 40 route points (simplified path). (4.4 kB, EPSG:4326)

### Convert GPX to other formats

- [GPX to KML](https://beta.mygeodata.cloud/converter/gpx-to-kml)
- [GPX to KMZ](https://beta.mygeodata.cloud/converter/gpx-to-kmz)
- [GPX to GeoPDF](https://beta.mygeodata.cloud/converter/gpx-to-geopdf)
- [GPX to CSV](https://beta.mygeodata.cloud/converter/gpx-to-csv)
- [GPX to XLSX](https://beta.mygeodata.cloud/converter/gpx-to-xlsx)
- [GPX to DXF](https://beta.mygeodata.cloud/converter/gpx-to-dxf)
- [GPX to SHP](https://beta.mygeodata.cloud/converter/gpx-to-shp)
- [GPX to SVG](https://beta.mygeodata.cloud/converter/gpx-to-svg)
- [GPX to GeoJSON](https://beta.mygeodata.cloud/converter/gpx-to-geojson)
- [GPX to MapInfo](https://beta.mygeodata.cloud/converter/gpx-to-mapinfo)
- [GPX to GML](https://beta.mygeodata.cloud/converter/gpx-to-gml)
- [GPX to MIF](https://beta.mygeodata.cloud/converter/gpx-to-mif)
- [GPX to GPKG](https://beta.mygeodata.cloud/converter/gpx-to-gpkg)
- [GPX to WKT](https://beta.mygeodata.cloud/converter/gpx-to-wkt)
- [GPX to TopoJSON](https://beta.mygeodata.cloud/converter/gpx-to-topojson)
- [GPX to DGN](https://beta.mygeodata.cloud/converter/gpx-to-dgn)
- [GPX to SQLite](https://beta.mygeodata.cloud/converter/gpx-to-sqlite)
- [GPX to FGB](https://beta.mygeodata.cloud/converter/gpx-to-fgb)

## Frequently asked questions

### What is the difference between waypoints, routes and tracks in GPX?

Waypoints are individual named points. Routes are ordered lists of points to follow, while tracks are recorded paths split into segments of timestamped track points. Tracks usually represent where you were, routes where you plan to go.

### Why is data such as heart rate or cadence missing after converting a GPX file?

The GPX schema has a fixed set of attributes, and sensor data is stored in vendor-specific extension elements. Many programs and target formats do not read these extensions, so the values are lost or ignored.

### Can a GPX file store polygons or areas?

No. GPX supports only points and lines, so polygon boundaries cannot be stored as areas. They can only be saved as a closed line, and converting polygon data to GPX loses the area geometry.

### What is a GPX file?

GPX (GPS Exchange Format) is an XML schema for exchanging GPS data between devices, applications and web services. It was created by TopoGrafix, which publishes the schema; version 1.1 is the current release. A GPX file is a single XML document containing waypoints (wpt), routes (rte) made of route points, and tracks (trk) divided into segments of track points. Each point stores latitude and longitude, optionally with elevation, a UTC timestamp, name, description and other defined elements.

The format is used by handheld GPS receivers, fitness and outdoor apps, and route-planning tools for recording and sharing trips. Coordinates are always WGS 84 in decimal degrees, which simplifies exchange but rules out other reference systems. Only point and line data are supported, with no polygons, and the attribute set is fixed by the schema; additional data such as heart rate or temperature is placed in vendor-specific extension elements that not all software understands.

### How do I open a GPX file?

GPX files can be opened in Garmin BaseCamp, GPSBabel, QGIS, GDAL/OGR and Google Earth Pro. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert GPX to?

Popular conversions are KML, KMZ, GeoPDF, CSV, XLSX and DXF. In total the Converter writes GPX data to 39 formats.

### How do I create a GPX file?

Convert existing data to GPX — for example from KML, KMZ, GeoJSON, CSV and MapSourceTXT. Upload the file, choose GPX as output and download the result.

### Which coordinate system does GPX use?

GPX always uses WGS 84 (EPSG:4326).

