Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A way to convert between GPX and CSV files

Project description

GPX to CSV Converter

A handy tool for converting GPX files exported from Strava, WatShout, etc into easily readable CSV files

I made this tool to make it easier to perform calculations on large amounts of GPX data collected from a GPS. Rather than manually copy and paste files into an Excel spreadsheet this module simple inputs the GPX file (as a string, for now) and exports a nicely-formatted CSV file.


For now the module exports the following GPX tags to the CSV file:

  • Date
  • Time
  • Latitude
  • Longitude
  • Elevation
  • Heart Rate


  1. Install module using pip
pip install gpx-csv-converter
  1. Import module within Python file
from gpx_csv_converter import Converter
  1. Currently the module takes two inputs: the GPX string itself and the desired file name (file parsing coming soon)
Converter(my_gpx_string, 'my_csv_file.csv')

This will output a CSV file to the current directory


If you have any questions or concerns please shoot me an email at

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gpx-csv-converter, version
Filename, size File type Python version Upload date Hashes
Filename, size gpx_csv_converter- (2.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size gpx_csv_converter- (2.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page