Convert GPX to CSV Online — Free & Instant
Extracting GPX data to CSV gives you GPS coordinates and attributes in a format that any spreadsheet or data science tool can read. This is useful for analysing GPS track data in Excel, calculating distances or statistics in Python, or importing GPS waypoints into a database or BI tool. Maparz exports all GPX geometry as X/Y coordinate rows with elevation and timestamp attributes.
File converter
When to convert GPX to CSV
- Analysing GPS track coordinates and elevation in Excel or Google Sheets
- Loading Garmin or Strava GPS data into pandas for data science work
- Exporting GPX waypoints to CSV for import into a database
- Calculating statistics on GPS tracks (distance, speed, elevation gain) in Python
How to convert GPX to CSV
- 1
Upload your GPX
Drop your .gpx file on the upload zone.
- 2
Select CSV
Click CSV in the format panel.
- 3
Open in Excel or Python
The CSV contains X (longitude), Y (latitude), elevation, and timestamp columns for each track point or waypoint.
About GPX
GPX (GPS Exchange Format) is an XML-based format for storing GPS data including waypoints, routes, and tracks. It is the de-facto standard for sharing GPS recordings from devices like Garmin, Suunto, and smartphones. GPX is natively supported by Google Earth, Strava, Komoot, Garmin Connect, and virtually every GPS application. A GPX file can contain three types of data: waypoints (individual points of interest), routes (ordered lists of waypoints for navigation), and tracks (continuous GPS recordings with timestamps). GDAL reads and writes GPX natively.
Strengths
- +Universal GPS device compatibility
- +Supported by Strava, Garmin, Google Earth
- +Contains timestamps and elevation data
- +Human-readable XML
About CSV
CSV (Comma-Separated Values) files containing geometry data typically include latitude and longitude columns (or X/Y columns for projected data). Many data providers distribute point datasets as CSV because they are easy to open in Excel, Python, and R. When converting from a vector format to CSV, Maparz outputs an X (longitude) and Y (latitude) column along with all attribute data. To convert CSV to GeoJSON, your file must have columns identifiable as longitude (x, lon, lng, longitude) and latitude (y, lat, latitude).
Strengths
- +Opens in Excel, Google Sheets, any spreadsheet
- +Human-readable and editable
- +Lightweight for point data
Frequently asked questions
Q.Are timestamps included in the CSV output?
Yes. GPX track point timestamps are exported as a column in the CSV, allowing time-based analysis.
Q.Is elevation data included?
Yes. If elevation data is present in the GPX, it is exported as an ele column in the CSV.
Q.Can I export a Strava or Garmin GPX to CSV?
Yes. Export your activity from Strava or your Garmin device as a .gpx file and upload it here.