Field Tools

GPX File Editor

Add, remove, rename, and reorder the tracks, routes, and waypoints inside a GPX file

About This Tool

GPX File Editor is a free browser tool for changing what a GPX file contains. It lists every track, route, and waypoint in the file and lets you remove the ones you do not want, rename the ones you keep, edit their descriptions and other details, put them in a different order, and add tracks, routes, and waypoints taken from other GPX files. You can also add a waypoint by typing its coordinates, and edit the file's own name and description. The file is edited as text, so everything you leave alone is saved exactly as it was: every track point, timestamp, heart rate reading, and vendor extension. Nothing is uploaded; the file is read and rewritten entirely in your browser.

How to Use It

  1. Load a GPX file, or start a new, empty one. The file's tracks, routes, and waypoints appear on a map and in a list, each with its point count, length, and date.
  2. Remove what you do not want. Use Remove on a row, or tick several rows and choose Remove Selected. The box above each list ticks every row, and the filter narrows a long list by name first.
  3. Edit names and details. Edit opens a form under the row. Apply keeps the change; Cancel leaves the item as it was.
  4. Add from another file. Choose Add from Another GPX File, pick the file, and tick the tracks, routes, and waypoints to bring in. Repeat for as many files as you need.
  5. Add a waypoint. Choose Add a Waypoint and type its name and position.
  6. Change the order. The arrows on a row move it up or down among items of its own kind.
  7. Download. The Save card states what will change. Download GPX saves the edited file under the name you give it. Undo and Redo step through every change, and Discard Changes returns to the file as loaded.

What You Can Edit

ItemFieldsAlso shown
TrackName, type, number, description, commentSegments, points, length, start time
RouteName, type, number, description, commentPoints, length
WaypointName, position, elevation, symbol, type, description, commentPosition in decimal degrees
The fileName, description, keywordsGPX version and item counts

A field left empty is removed from the file. A new field is written in the place the GPX schema gives it, so the file stays valid. To check the result, run it through the GPX Validator.

Which Editor Do I Need?

You want toUse
Remove, rename, reorder, or add whole tracks, routes, and waypointsGPX File Editor (this tool)
Trim the ends off a track, cut a section out, or split it in twoGPX Track Editor
Place, drag, or re-symbol waypoints on a mapGPX Waypoint Editor
Draw a new route or track on a mapGPX Route Planner
Join several recordings into one trackGPX Merger

Frequently Asked Questions

How do I remove a track from a GPX file?

Load the file, find the track under Tracks, and choose Remove. The track and all its points are taken out; the other tracks, the routes, and the waypoints are left exactly as they were. Then choose Download GPX.

How do I remove all the waypoints from a GPX file?

Under Waypoints, tick Select all and choose Remove Selected. The same works for routes or tracks. To remove only some, type part of their name in the filter first: Select all then ticks only the rows shown.

How do I rename a track in a GPX file?

Choose Edit on the track's row, type the new name, and choose Apply. Only the track's name element is rewritten. Many devices and apps show this name, not the file name, in their list of tracks.

How do I copy a track or waypoints from one GPX file into another?

Load the file you want to add to. Choose Add from Another GPX File, pick the second file, tick the items to bring across, and choose Add. Each one is copied character for character, with its timestamps and sensor data. Added items are marked with the name of the file they came from.

What is the difference between this and the GPX Merger?

The GPX Merger takes whole files and can join their recordings into one continuous track, ordered by time. This tool keeps items separate and lets you choose them one by one, which suits building a file from parts: one track from here, six waypoints from there.

Does editing change my track points or sensor data?

No. The tool edits the file's text and touches only what you change. A track you rename keeps every point, timestamp, elevation, and extension, byte for byte. If you change nothing, the file that comes out is identical to the one that went in.

What happens to heart rate and other extension data in items I add from another file?

It comes with them. Extension data depends on namespace declarations at the top of the file it came from, so the tool writes the declarations an added item needs onto the item itself. The result is valid XML that reads the same as the original.

Can I mix GPX 1.0 and GPX 1.1 files?

Yes. Items are copied unchanged, and the tool tells you when the versions differ. Nearly all software reads the result. If a strict program objects, convert the older file first with the GPX Converter.

Why does a waypoint say "No usable position"?

Its latitude or longitude is missing or out of range in the file. You can give it a position with Edit, or remove it.

Is my file uploaded anywhere?

No. The file is read and rewritten by JavaScript in your browser. The map loads background tiles from OpenStreetMap, but your tracks, routes, and waypoints are never sent anywhere.

What are the limits?

Each file must be a .gpx file under 25 MB. A list shows its first 300 rows until you ask for the rest, and Undo keeps the last 50 changes.

Related Tools

To see distance, time, speed, and elevation for a file, use the GPX Analyzer. To strip timestamps, sensor data, or the area around your home before sharing, use the GPX Privacy Scrubber. To make a large file smaller, use the GPX Simplifier, and if a file will not load here because it is damaged, try GPX Repair first.

Learn More

Request a Feature

Have an idea that would make this tool better? Post it on the feature request board and vote on what gets built next.