File Formats
  • Audio
  • Video
  • Images
  • 3D & CAD
  • Documents
  • Data
  • Code
  • System
Data
  • Structured text
  • Binary serialisation
  • Databases
  • Scientific
  • Geospatial
  • Machine learning
  • Messages & calendars
  • Compression
  • Archives
  1. Home
  2. Data
  3. Geospatial
  4. GPX
.GPX
  • Overview

.GPX

GPS Exchange Format

Introduction

GPX is the common format for GPS data: places to visit, planned routes and recorded tracks. It is an XML schema published by TopoGrafix; version 1.1, from 2004, is the one in use today. GPS devices, sports watches, fitness apps and mapping software import and export it, which makes it the usual way to move a hike or a ride from one service to another.

Software

  • Garmin BaseCamp (Windows, macOS)
  • GPXSee (Windows, macOS, Linux)
  • Google Earth Pro (Windows, macOS, Linux)
  • QGIS (Windows, macOS, Linux)
  • GPSBabel, which converts between GPS formats
  • Strava, which imports and exports activities as GPX (web, mobile)

Structure

The root element is <gpx>, with a version and a creator attribute. Inside it, after optional <metadata>, come three kinds of element:

  • <wpt>: a waypoint, a single named place
  • <rte>: a route, an ordered list of <rtept> points to travel through
  • <trk>: a track, a recorded path made of one or more <trkseg> segments of <trkpt> points

Every point carries lat and lon attributes in decimal degrees, and may hold an elevation (<ele>), a time (<time>) and a name. Devices add their own data, such as heart rate, inside <extensions> elements.

© 2026 fileformats.org About Contact Made by Lewpen