.GPX

GPX File

GPS Exchange Format
Ask a question
QUICK ANSWER

A GPX file stores GPS data - waypoints, tracks and routes - in plain XML. To view a route, drag it into Google Earth Pro or upload it to GPS Visualizer. To load it onto a Garmin, Wahoo or similar device, import it through that device's app or copy the file directly to the device via USB.

Developer: TopoGrafix (Dan Foster) Category: GIS Files Open standard MIME: application/gpx+xml
OPENS ON Windows macOS Linux Android iOS Web
Related: .GML · .KML · .SHP · .RTMAP

On this page

19k+ extensions indexed
Last reviewed Aug 8, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the GPX file format?

A .gpx file contains geographical data in the form of waypoints, routes, and tracks saved in an XML-based text format. .gpx files are used for exchanging GPS data between applications and web services over the network. The format was developed by TopoGrafix in 2002, and its current version, designated 1.1, was released two years later. The GPX specification is defined in the gpx.xsd schema file, publicly available at topografix.com. The .gpx file header contains file metadata - information about the given file. The main data types in GPX are:

  • wptType - waypoint - a point on the map described by its coordinates according to the WGS 84 standard; can also store additional data such as POI (Point of Interest), name, or description.
  • rteType - route - an ordered set of points that defines stages of a given route, such as a turn or roundabout.
  • trkType - track - an organized list of points which can also contain timestamps and elevations if the track was recorded during travel.

All GPX coordinates conform to the WGS 84 standard and are represented as floating-point numbers. Elevation above mean sea level uses meters as its unit, and dates use the ISO 8601 standard with UTC. Some software companies, for example Garmin, have extended the GPX format to accommodate additional information related to points - addresses, phone numbers, temperature, or water depth. Related formats include .kml (Google's keyhole markup language), .fit (Garmin's compact binary activity format), and .tcx (Training Center XML).

Security & safety

RISK: LOW

GPX is plain XML with no executable content, so the file format is harmless to open. The real concern is privacy: track files contain exact coordinates and timestamps and can reveal your home address, regular routes and when you're away. Before sharing GPX files publicly, trim the start/end near your home (most apps have a privacy-zone feature) and remove timestamps if you don't want to disclose your schedule.

Format details

in a nutshell
FULL NAMEGPS Exchange Format
DEVELOPERTopoGrafix (Dan Foster)since 2002 (GPX 1.0); GPX 1.1 in 2004
CATEGORYGIS Files
MIME TYPEapplication/gpx+xml
TYPEXML text (GPS data)
STANDARDOpen · royalty-free

Programs that open GPX files

Windows5 apps
Merkaartor Open-source Open the GPX as a layer over OpenStreetMap for inspection or editing.
EasyGPS Free Open the GPX to view and manage waypoints/routes/tracks; transfer to Garmin/Magellan units. (By TopoGrafix, the GPX authors.)
Garmin BaseCamp Free File > Import to load the GPX, view/edit waypoints, routes and tracks, then send to a Garmin device.
Google Earth Pro Free File > Import, choose the GPX, pick to create KML features - the track appears on the globe. (Free since 2015.)
GPXSee Open-source Open the GPX to view the track over maps with elevation/speed graphs. Free, cross-platform, made for GPX.
macOS3 apps
Garmin BaseCamp Free Import the GPX to view/edit and send routes to Garmin devices (macOS version available).
Google Earth Pro Free File > Import the GPX to view the route on the globe.
GPXSee Open-source Open the GPX to view tracks with elevation and speed profiles.
Linux3 apps
Merkaartor Open-source Open the GPX over OpenStreetMap to inspect or edit it.
GPXSee Open-source Open the GPX to view tracks over maps with analysis graphs.
GpsPrune Open-source Open the GPX to view, edit and trim tracks; export to KML/other formats.
Android1 app
OsmAnd Freemium Import the GPX as a track to view and navigate it offline over OpenStreetMap.
iOS1 app
OsmAnd Maps Freemium Open the GPX in OsmAnd to view and follow the track offline.
Web2 apps
GPS Visualizer Free Upload the GPX to draw it on a map or convert it to KML/plain text in the browser. No install.
Strava (Upload) Freemium Upload the GPX as an activity to view it on Strava's maps and analyse it.

Technical details

deep spec
MIME typeapplication/gpx+xml
File encodingUTF-8 (required by specification)
File structurePlain-text XML document; no binary sections
File identificationNo binary signature; identified by <gpx> root element and TopoGrafix namespace URI
GPX 1.1 namespacehttp://www.topografix.com/GPX/1/1
Coordinate systemWGS 84 (EPSG:4326); latitude and longitude stored as decimal degrees
Elevation storage<ele> element per point, value in meters above mean sea level
Timestamp formatISO 8601 date-time in UTC, stored in <time> elements within track points and waypoints
Core data typeswptType (waypoints), rteType (routes), trkType (tracks) - each with distinct XML element sets
Track segmentationTracks divided into <trkseg> segments, each containing an ordered list of <trkpt> track points
Extension mechanism<extensions> child element on any core element allows vendor-specific XML namespaces
Schema validationXSD schema in gpx.xsd; <gpx> root element requires version and creator attributes
Released2002 (GPX 1.0); GPX 1.1 in 2004
Open standardYes · royalty-free
Specificationwww.topografix.com

GPX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with GPX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about GPX files.

Frequently asked questions

How do I open a GPX file?
To view the route, drag it into Google Earth Pro or upload it to the free GPS Visualizer site. To use it on a device, import it into that device's app (Garmin Connect/BaseCamp, Strava, Komoot, OsmAnd). It's text, so a text editor opens it too.
How do I load a GPX route onto my Garmin?
Use Garmin Connect or BaseCamp to import the GPX and send it to the device, or copy the .gpx file into the GPX folder on the Garmin when it's plugged in via USB. For turn-by-turn on some units you may need to convert it to a FIT course first.
What's the difference between GPX and KML?
GPX is the open GPS-exchange standard used by fitness/outdoor apps and devices; KML is Google's format for Google Earth/Maps with richer styling. They convert back and forth easily (e.g. with GPS Visualizer).
Can I convert GPX to FIT?
Yes. GPSBabel converts GPX to FIT, and Garmin Connect can turn a GPX route into a FIT course to follow on a watch or bike computer.
Can I edit a GPX file?
Yes - it's plain XML. Use a dedicated editor like GpsPrune, BaseCamp or an online tool to add/remove points cleanly, or open it in any text editor for small manual fixes.
Why does my GPX have no heart rate or power data?
Standard GPX only models location, elevation and time. Heart rate, cadence and power live in <extensions> or in Garmin's FIT/TCX formats - export to FIT/TCX if you need that data.

References

1TopoGrafix - GPX: the GPS Exchange Formatwww.topografix.com
2TopoGrafix - GPX 1.1 Schema documentationwww.topografix.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BCBitComet Incomplete Download File
3.PARTPartial Download File
4.CRDOWNLOADChrome Partial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.MDMarkdown Document
7.EXEWindows Executable (Portable Executable)
8.RPMSGRestricted Permission Message
9.AVIFAV1 Image File Format (AVIF)
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.GMLGeography Markup Language
.KMLKeyhole Markup Language
.SHPEsri Shapefile (geospatial vector data)
.RTMAPCompeGPS / TwoNav Tiled Raster Map
.KMZKeyhole Markup Language Zipped (Google Earth)
.GDBGarmin MapSource GPS Database

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z