GPX Validator
Validate a GPX file for XML integrity, track structure, waypoint coordinates, and elevation data.
Upload a GPX (GPS Exchange Format) file to validate its XML structure and GPS data integrity. The GDAL validator checks well-formed XML, valid track (<trk>), route (<rte>), and waypoint (<wpt>) elements, coordinate range plausibility, elevation value presence, and timestamp format correctness. Feature counts per layer type (tracks, routes, waypoints) are reported.
Drag file here to validate, or select file
Supported: .gpx • Max 50MB
What We Validate
- Well-formed XML and valid GPX namespace declaration
- Track (<trk>), route (<rte>), and waypoint (<wpt>) element structure
- Coordinate range plausibility (latitude -90 to 90, longitude -180 to 180)
- Elevation (<ele>) and timestamp (<time>) value formats
- Track segment (<trkseg>) and track point (<trkpt>) integrity
- Feature counts per geometry layer (tracks, routes, waypoints)
Common Issues Detected
- Missing GPX root element or incorrect namespace declaration
- Coordinates with swapped latitude and longitude values
- Track points with non-numeric or out-of-range coordinate values
- Invalid ISO 8601 timestamp format in <time> elements
- Empty track segments containing no <trkpt> children
Frequently Asked Questions
What GPS devices export valid GPX files?
Most modern GPS devices (Garmin, Suunto, Wahoo) and fitness apps (Strava, Garmin Connect, Komoot) export standard-compliant GPX files. The validator confirms the exported file meets the GPX 1.1 schema.
Are heart rate and cadence data validated?
Extended GPX data like heart rate or cadence is stored in vendor-specific extensions. The validator checks the core GPX structure; extension namespaces are noted but not deeply validated.
Why does my GPX file show zero features?
This occurs if the GPX contains only empty <trk> or <rte> elements without any child <trkpt> or <rtept> coordinates. Each track segment must contain at least one track point to be counted as a feature.