GPX Editor: Merge, Trim and Hide Your Home (Clean Up Running, Cycling and Hiking Tracks Before Sharing)

Completely free, with no extra charges. You may freely use the output commercially.

About this tool

Before you post a running, cycling or hiking GPX track from Garmin, Strava or a phone app on social media or a blog, or hand it to friends as a course, this tool trims the area around the start and finish so your home cannot be located, joins recordings you paused partway, and cuts off parts you forgot to stop recording.

Merge several GPX files into one track in time order, and trim the start and end with sliders while watching the track shape and elevation profile. Around your home or workplace, choose a radius from the start and finish, or click the preview to place a circle, and the points inside are removed on export (the track is split so the circle is never crossed by a straight line). You can also remove timestamps, heart rate and other extension data, or elevation, round coordinates, simplify the track, reverse it and export it as a route. All processing happens entirely in your browser (no data is sent), so your location history is never handed to an outside service.

Open GPX files

Drop GPX files here or choose them. If you choose several, they are merged into one track.

How to use it and how it works

Remove your home location before sharing

The start and finish of a GPS log are usually your home. Shared as is, anyone who lays the track over a map can guess your address. Choosing “Radius to remove around the start” and “Radius to remove around the finish” removes the points at the beginning of the recording until you move that far from the start, and the points at the end once you come that close to the finish. Pick a radius that hides your local streets: around 300–500 m in a city, more where houses are few. For commute logs that follow the same road every day, stacking several of them can reveal the direction from the roads outside the circle, so vary the radius or place a circle slightly off center.

If you pass your home, workplace or your children’s school partway through, turn on “Click to place a hidden area” and click that spot in the preview, or enter coordinates copied from a map app to place a circle. The points inside the circle are removed and the parts before and after it become separate segments, so no straight line is drawn across the circle that would reveal the road you took.

Join paused recordings and cut off extra parts

If you paused recording for a break or the battery died and the activity was split into two files, choose them together and they are joined into one track in order of their start time. “Keep separate segments” does not count the gaps as distance traveled, which keeps the activity record accurate. To load it into a device as a navigation course, choose “Join into one line”. For parts such as the train ride home when you forgot to stop recording, move the start and end with the trim sliders, check the grayed-out parts in the preview and the elevation profile, then save.

How distance, elevation gain and moving time are calculated

  • Distance is the sum of the great-circle distances between neighboring points on a sphere (haversine formula, Earth radius 6,371 km). Gaps between segments are not bridged.
  • Elevation gain and loss count only rises or drops of 5 m or more from the last counted elevation, so small ups and downs in GPS elevation are ignored. Recording apps and services apply their own corrections, so their values can differ slightly.
  • Moving time is the total of the parts where the speed between neighboring points is at least 1.8 km/h (0.5 m/s) and the interval is 10 minutes or less. Waiting at traffic lights and breaks are not included.
  • Simplification uses the Douglas–Peucker algorithm and removes points as long as the deviation from the original line stays within the tolerance. The “… points or fewer” options automatically find the smallest tolerance that fits that number of points.

Notes

  • Supported input is GPX 1.0 / 1.1 tracks (trk), routes (rte) and waypoints (wpt). Export FIT, TCX and KML files to GPX from the app or service that recorded them first.
  • The preview draws only the shape of the track, with no background map (no map tiles are loaded from outside, so the area you view is not shared either). To check a place, open the coordinates in a map app.
  • Files are saved as GPX 1.1. Heart rate and other extension data are carried over exactly as written in the original file (unless you choose to remove them).
  • Fixing a recording here does not change data you have already published on Strava or another service. Also check the privacy settings on that service, such as the area where the map is hidden.
  • To remove location data from photos, use the EXIF and Photo Metadata Editor. How decimal places relate to coordinate precision is explained in How many decimal places do coordinates need?.