About 🚴

gpx.studio is a free online GPX viewer and editor which allows to:
  • visualize multiple traces in different colors and aided by many different maps (cycling, hiking, satellite, etc)
  • edit traces by adding, inserting, moving or deleting track points
  • reverse traces
  • add or change the timestamps of a trace
  • view, add, edit and remove waypoints
  • reduce the number of track points
  • view and rework the structure of the file
  • automatically add elevation data to traces if missing
  • merge multiple traces, extending time, heart rate, cadence, power and temperature data where needed
  • extract segments from traces and perform any other action while maintaining the segments' structure within files
  • save the result on your computer or to your Google Drive™ to get a shareable link and embedding code
It is a one-person side project created after messing with GPX files for some time. The project source code is publicly available on GitHub. Follow us on Facebook and Twitter to be notified about updates of the tool.

Mapbox Community 🤝

Mapbox is the company providing some of the beautiful maps on this website. They created a program called Mapbox Community to support non-profits, educational institutions, and positive-impact organizations (see the official page where they showcase some of their collaborations). We are very lucky to have joined this program and to benefit from a great discount on all API rates.

I am (and all users of the website can be) very grateful for their support and availability.

Support 💬

The Help dialog and the User Guide should answer most questions about the functionalities, but feel free to ask for help, report any issues or send suggestions on the Facebook or Twitter page, or by email at hello@gpx.studio.

For developers, the Github repository is also a good place to report issues or share ideas.

Help keep the website free (and ad-free) 🙏

Each time you add or move a track point, we make a request to our servers to retrieve a route on the road network. We also rely on APIs from Mapbox to load beautiful maps, retrieve elevation data and process geocoding requests (looking for a place in the search bar).

Unfortunately this is very costly so if you like the tool and use it frequently, please consider making even a small donation so that this website can stay free to use and ad-free. Thanks for your support!

Translation 🗣️

The website is translated by volunteers on a collaborative translation platform. You can help complete and improve the translations by joining the Crowdin project. Get in touch on Facebook, Twitter, by email or on GitHub if you would like to start the translation in a new language. Apart from a good understanding of gpx.studio, some basic knowledge of HTML can be useful. Any help is greatly appreciated!

User Guide 🎓

Click on a topic to learn more!

Create a new GPX file
  1. In the top toolbar, click on New GPX. A new tab called "new" appears above the bottom panel.
  2. Place anchor points on the map by clicking at the locations you want to go through.
  3. If routing is enabled, select the appropriate activity type in order to take the most suitable roads. Disabling the routing will allow you to draw straight lines freely on the map.
  4. You can drag a point or the line itself to re-route the trace through a new location.
  5. If you make a mistake or change your mind about the itinerary, you can:
    • use the undo and redo buttons.
    • click on an anchor point and use Remove point to remove it, or simply Shift+click on it.
Load existing GPX files
There are two options:
  • Click on Load and select one or more GPX files to load.
  • Drag and drop GPX files in the window.
Export GPX files
There are two options:
  • Click on Export and then choose whether to:
    • merge all open GPX files as tracks into one file, or export them separately.
    • include time, temperature, heartrate, cadence, power and surface data or not.
    Then, click on Download to download the files on your computer or on Save to Google Drive to save it in the cloud.
  • Drag and drop a tab (below the bottom panel) onto your desktop.
Share a GPX file
gpx.studio does not provide GPX file hosting. However, it integrates smoothly with Google Drive. To share GPX files:
  1. Click on Export and then choose whether to:
    • merge all open GPX files as tracks into one file, or export them separately.
    • include time, temperature, heartrate, cadence, power and surface data or not.
  2. Click on Save to Google Drive.
  3. Connect to your Google account.
  4. Select the folder where you want to save the files.
  5. When the files are uploaded, click on Copy link and send it to your friends!
If you want to use gpx.studio to open GPX files stored on your Google Drive, you can install the Google Drive Add-on.
Edit the track points of a GPX file
Click on to enter the edition mode. Depending on the zoom level, a set of anchor points appears. The more you zoom in, the more anchor points appear.
You can then:
  • add track points at the end of the trace by clicking on the map at the locations you want to go through.
  • drag an anchor point or the line itself to re-route the trace through a new location.
  • click on an anchor point and use Remove point to remove it, or simply Shift+click on it.
  • click on an anchor point or on the line and use Split here to split the trace at a chosen location.
  • click on an anchor point or on the line and use Start loop here to make the loop start at a chosen location.
If you make a mistake or change your mind about the itinerary, use the undo and redo buttons.

If routing is enabled, select the appropriate activity type in order to take the most suitable roads. Disabling the routing will allow you to draw straight lines freely on the map.

If you edit a GPX file containing time, temperature, heartrate, cadence or power data, new track points will automatically contain the average value for each of those fields.
Crop a GPX file
There are three options:
  • Use the slider in the bottom panel to move the start and end points of the trace. Click on to validate the selection. You can choose whether you want to keep cropped parts in separate files.
  • Enter the edition mode by clicking on . Then, click on an anchor point or on the line and use Split here to split the trace at a chosen location.
  • Click on and select an area containing the track points you want to keep or delete. Uncheck the box Waypoints if you do not want to remove waypoints at the same time. Then, choose whether you want to delete track points inside or outside of the selection. Finally, click on Proceed.
Split a GPX file
There are two options:
  • Use the slider in the bottom panel to move the start and end points of the trace. Click on to validate the selection. Check the box Keep cropped parts in new files and then click on Proceed.
  • Enter the edition mode by clicking on . Then, click on an anchor point or on the line and use Split here to split the trace at a chosen location.
Change the starting point of a loop
Enter the edition mode by clicking on . Then, click on an anchor point or on the line and use Start loop here to make the loop start at a chosen location.
Add timestamps to a GPX file
  1. Click on .
  2. Enter the average speed.
  3. Select the start time.
  4. Click on Ok.
If the GPX file has no timestamps, a constant speed is applied to the whole GPX file by default. You can check the box Experimental to generate timestamps which make the speed vary depending on the slope.
If the GPX file already has timestamps, they will be shifted and compressed to match the chosen speed and start time.
Change the date of a GPX file
  1. Click on .
  2. Change the start time.
  3. Click on Ok.
Change the speed of a GPX file
  1. Click on .
  2. Change the average speed.
  3. Click on Ok.
If the GPX file has no timestamps, a constant speed is applied to the whole GPX file by default. You can check the box Experimental to generate timestamps which make the speed vary depending on the slope.
If the GPX file already has timestamps, they will be shifted and compressed to match the chosen speed and start time.
Merge multiple GPX files
To merge two GPX files:
  1. Below the bottom panel, select the tab of the first GPX file you want to merge.
  2. Click on (available only when more than two files are open).
  3. Click on the tab of the second GPX file to merge or on the trace itself. The track points of the second GPX file will come after those of the first GPX file.
You can also use the file structure tool:
  1. Below the bottom panel, select the tab of the first GPX file you want to merge.
  2. Click on .
  3. Drag the tab of the file you wish to merge into the first one and drop it in the file structure.
If you want to merge all open GPX files at once:
  1. Below the bottom panel, put the tabs in the order you want them to appear in the merged GPX file.
  2. Click on Export.
  3. Check the box Merge all traces.
  4. Click on Download to download the files on your computer or on Save to Google Drive to save it in the cloud.
When merging multiple GPX files: missing time, temperature, heartrate, cadence or power data will be automatically extended with the average value across merged files. If some GPX files contains timestamps, it is ensured that the timestamps of the merged file are strictly increasing (the timestamps of some files are shifted if necessary).
Extract tracks or tracks segments of a GPX file
To extract all tracks or tracks segments from a trace, click on (available only if the file has more than one track or track segment). If the GPX file contains waypoints (points of interest), they are kept in the files for which the traces pass closest.

To extract a specific track or track segment:
  1. Click on .
  2. Drag the track or track segment you wish to extract from the file structure to the tabs above the elevation profile.
Change the structure of a GPX file
Click on and then you can:
  • Drag and drop tracks and track segments to rearrange them, or drop them in the tabs above the elevation profile to extract them.
  • Drag and drop traces from the tabs above the elevation profile to merge them with the current trace.
  • Assign a different color to each track.
  • Rename each track.
  • Select a set of tracks or track segments to delete or merge them.
Copy a GPX file
Click on to duplicate a GPX file.
Change the color, opacity and width of a GPX file
  1. Click on .
  2. Click on the color to open the color picker.
  3. Move the opacity slider to change the opacity.
  4. Move the width slider to change the width.
  5. Click on Ok.
You can optionally apply the chosen color, opacity and width to all traces by using the checkboxes.
For traces with multiple tracks, the file structure tool can be used to assign a different color to each of them.
Add waypoints (points of interest) to a GPX file
  1. Click on .
  2. Click on the map at the location you want to place it.
  3. Fill in some data about the waypoint (you can use HTML to format information, or even link images).
  4. Click on Ok.
If you want to reuse a waypoint at another location or for another trace, click on the waypoint and press inside the popup. Then, click on the map to add a copy of the waypoint at the chosen location.
Edit a waypoint of a GPX file
To change the location of a waypoint, you can simply drag it to a new location. When dragging a waypoint close to the trace, it is automatically attracted so that you can place the waypoint perfectly on the trace. Zoom in or out to change the distance at which the waypoints are attracted.
To edit the data of a waypoint, click on it and press inside the popup. Change the information and then click Ok.
Remove waypoints of a GPX file
To remove a single waypoint, click on it and press inside the popup, or simply Shift+click on it.
To remove all waypoints inside or outside an area, click on and select an area containing the waypoints you want to keep or delete. Uncheck the box Track points if you do not want to remove track points at the same time. Then, choose whether you want to delete waypoints inside or outside of the selection. Finally, click on Proceed.
Reduce the number of track points of a GPX file
  1. Click on .
  2. Use the slider to choose the number of track points to keep. You can see a live preview of the GPX file with the reduced number of points.
  3. Click on Ok.
Remove all track points and/or waypoints inside/outside an area
  1. Click on .
  2. Select an area containing the track points and/or waypoints you want to keep or delete.
  3. Choose whether you want to delete track points and/or waypoints, inside or outside of the selection.
  4. Finally, click on Proceed.
Remove GPX files
Below the bottom panel, select the tab of the file you want to delete and click on .
To remove all GPX files at once, click on Clear all in the top toolbar.
Open Street View
In the top-right corner, click on and then click on the map to open Street View at that location.
Center the map on a location
Hide a GPX file
To hide a GPX file, click on . To unhide it, click on .
A hidden trace will also unhide when adding a point in edition mode or when using most of the tools.
Hide the elevation profile
To hide the elevation profile, simply click on .
Show direction markers
To show direction markers, go in the map layers and check the box Direction markers.
Show distance markers
To show distance markers, go in the map layers and check the box Distance markers.
Show or hide map layers
  1. Hover over in the top-right corner.
  2. Click on .
  3. Select the layers you want to appear in the interface.
Add custom map layers
  1. Hover over in the top-right corner.
  2. Click on .
  3. Fill out the form to add or replace a map layer.
Map legends

Embedding 🗺

You are very welcome to display traces on your website with gpx.studio. There are two ways to do it: the first one with files stored on a server and the second one with Google Drive.
  • File URL: Add the link to the file in the urls attribute of the state parameter of the query string. Make sure to use https, to encode any special characters and that gpx.studio is allowed to request the files, otherwise the requests will be blocked by the CORS policy, i.e. you should set the following header in your server response:

    Access-Control-Allow-Origin: * or https://gpx.studio

  • Google Drive: Just save the files to your Google Drive when exporting and copy the code provided! If you want to display files that you already have on your Google Drive, add the ID of the file in the ids attribute of the state parameter of the query string and make sure they are available to all users with the link.

Choose the map shown by default with the parameter source among the following values:

  • outdoors: Mapbox Outdoors
  • satellite: Mapbox Satellite
  • osm: OpenStreetMap
  • otm: OpenTopoMap
  • ohm: OpenHikingMap

To use Mapbox maps, you need to specify the token parameter with a valid Mapbox token. You can also use a custom Mapbox style by directly specifying its URL with mapbox-style=<STYLE_URL>.

You can optionally add parameters to the source URL: imperial to get data in miles and feet, running to display the pace in minutes by unit of distance, distance to show distance markers, direction to show direction markers and slope to show the slope view of the elevation profile. Below is a playground to play with the parameters, see a preview and get the HTML code.

Parameters

File URLs (separated by commas)

Google Drive file IDs (separated by commas)

Running Imperial Distance markers Direction markers Slope

Default map

Mapbox token

Mapbox custom style URL

HTML code

Preview

Terms of Services 📖

Thank you for using gpx.studio. These terms of service (Terms) cover your use and access of our website and related software (our Services).

By accessing this website, you are agreeing to be bound by this website Terms of Services and to review our Privacy Policy. If you do not agree with any of these terms, you are prohibited from using or accessing this site.

Changes to the Services

We may change the features of our Services, withdraw or add new features from time to time.

Warranties

The services on the website are provided "as is". To the fullest extent permitted by law, we make no warranties either implied or expressed about the Services. We do not make any promise about the accuracy of specific functions of the services, their reliability or availability.

Changes to Terms

We reserve the right to modify these Terms at any time. We will notice you on the website so you can agree to the revised Terms.

Privacy Policy 🕵️

gpx.studio is an online GPX file editor which allows users to create, view and edit files. We respect the privacy of our users and do not collect any personal information.

The files created, visualized or edited on the website are only read once and never stored on a server. We only access the data contained in the files and handle all computations from your local browser (it is a pure client-side application).

Google Drive

The website offers the possibility to log in with Google Drive to upload and save files in order to facilitate the storage, versioning and sharing of GPX files. That service authenticates you directly with your Google account, and an authentication token identifying you as the file owner is stored in your local browser session profile. This information is used to browse GPX files in your Google Drive and to open only those you choose to open. Furthermore, it is used to automatically authenticate users visiting the website again but it is never stored on our side.

We use standard Google Drive sharing functionality when you decide to share the file, and standard Google Drive authentication, authorization mechanisms for access control. No other files than those you create with the tool or decide to open with it (either by opening from Google Drive or visiting its associated URL on the tool) will be accessed, and none will ever be stored.

gpx.studio's use of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements.

Last updated July 26, 2021.