Trail Notes

How to Edit GPX Waypoints

Rename a pin, move it, give it a symbol that shows. The rest of the file stays exactly as it was.

Edit Reading time: 6 minutes Updated By the GPX Analyzer project

How Do You Edit Waypoints in a GPX File?

Open the file in the GPX Waypoint Editor, select a waypoint on the map or in the list, change it, and download the result. You can rename a waypoint, drag it to a new position or type exact coordinates, give it a different symbol, edit its description, comment, and elevation, add new waypoints, and delete ones you do not want. The download is your original file with only those waypoints changed; tracks, routes, and everything else are saved exactly as they were. Because a waypoint is a few lines of plain XML, a text editor also works for a quick fix, as long as you keep the fields in the order the GPX format requires.

What You Can Change in a Waypoint

A weathered wooden signpost at a desert trail junction with blank direction boards, one of them newly replaced in pale wood

A waypoint is a <wpt> element with a position and a few optional fields:

<wpt lat="34.0625000" lon="-116.1585000">
  <ele>1291</ele>
  <name>Cottonwood Spring</name>
  <cmt>Pipe on north side</cmt>
  <desc>Reliable May to October. Treat before drinking.</desc>
  <sym>Water Source</sym>
</wpt>
FieldIn the fileWhat it is for
Positionlat, lonDecimal degrees, south and west negative. The only required part
Elevation<ele>Meters above sea level
Name<name>The label most devices and apps draw beside the pin
Comment<cmt>A second text field; some GPS units show this one in place of the description
Description<desc>Longer notes about the place
Symbol<sym>The name of an icon, not the icon itself

A waypoint can also carry a time, links, a type, and vendor extensions. The editor does not show these and saves them unchanged.

Common Edits, Step by Step

JobIn the Waypoint Editor
Rename a waypointSelect it, type the new name, and leave the field. Each change is applied when you leave the field
Move it on the mapDrag the waypoint to its new position
Move it to exact coordinatesType the latitude and longitude in the Selected Waypoint panel
Change the symbolPick one of 31 symbols, or none
Add a waypointChoose Add Waypoint and click the map, or type a position and choose Add at Coordinates
Delete a waypointUse Delete Waypoint in the panel or the × at the end of its row
Remove a fieldClear it. An empty field is removed from the waypoint
Build a file from nothingChoose Start with an empty map; the download is a new GPX 1.1 file

Undo and redo step through the last 200 changes. Tracks and routes in the file are drawn as background lines so you can place waypoints against them. When you download, every part of the file you did not edit is identical to the original, character for character, and the file you loaded is never modified.

Names That Work on a Device

  • Keep them short. Map screens have little room, and some older handhelds show only the first dozen or so characters. Put the part that distinguishes the waypoint first.
  • Keep them unique. GPX allows two waypoints with the same name, but some devices and apps treat the name as the identifier and rename or merge duplicates on import.
  • Avoid relying on special characters. An ampersand must be written &amp; inside the file. The editor does this for you; a text editor does not.
  • Use a prefix for the category. A name that starts with the type sorts into groups in any list and still says what the place is in an app that ignores symbols. Building a Route with Waypoints & POIs has a naming scheme for water, camps, junctions, and exits.

Symbols: Why the Name Has to Match

The <sym> field holds a name such as Campground or Summit. No picture is stored in the file. Each device and app looks the name up in its own icon set, draws its own icon for a name it knows, and falls back to a default pin for one it does not. Spelling and capitalization count.

The editor offers the 31 symbols of the MyGPSWaypoints iOS app, drawn with the same icons and colors, so a file edited in the browser looks the same on the phone. If a waypoint already has a symbol that is not in the list, the editor keeps it unless you choose another. If the file is going to a particular GPS unit and the icon matters, check the symbol names that unit uses and expect some to show as the default pin.

How Precise Do the Coordinates Need to Be?

The number of decimal places sets the smallest step a position can take:

Decimal placesStep in latitudeGood enough for
411 mA town or a trailhead; too coarse for a junction
51.1 mAnything located by consumer GPS
60.11 mMore precise than the GPS that measured it
71.1 cmWhat the editor saves, so nothing is lost to rounding

Steps in longitude are smaller away from the equator. Precision is not accuracy: seven decimals copied from a map click are still only as good as the map and the click. The editor takes decimal degrees, such as 34.0501, -116.1503. If your positions are in UTM, MGRS, or degrees and minutes, convert them first with the Coordinate Converter.

A moved waypoint keeps the elevation it had. The editor does not look heights up, because that would mean sending positions to an outside service. After a large move, correct the elevation or clear it.

Editing by Hand in a Text Editor

For one typo, opening the file in a plain text editor is quick. Four things go wrong:

  • Field order. The GPX format fixes the order of the fields inside a waypoint: elevation, time, name, comment, description, link, symbol, type. A file with <sym> above <name> is not valid GPX, and strict readers may reject it.
  • Unescaped characters. &, <, and > in a name or description must be written &amp;, &lt;, and &gt;. One bare ampersand makes the whole file unreadable as XML.
  • Mismatched tags. Every <name> needs its </name>, and every <wpt> its </wpt>.
  • Placement. Waypoints belong directly inside <gpx>, before any routes and tracks, never inside a track.

Run the edited file through the GPX Validator before loading it on a device. If a slip has left it unreadable, GPX Repair can usually recover it, and the guide to fixing corrupted GPX files explains the errors.

Many Waypoints at Once

A map editor suits a few dozen changes. For a list of hundreds of positions, a spreadsheet is faster: put names and coordinates in columns, save as CSV, and turn it into waypoints with CSV to GPX. That route carries names, positions, elevation, and time. It does not carry symbols or descriptions, so set those in the Waypoint Editor afterward. The editor handles files of up to 5,000 waypoints, and draws them as colored dots in place of symbol icons above 500 to keep the map responsive.

Frequently Asked Questions

Will editing waypoints change my track?

No. The Waypoint Editor rewrites only the waypoints you changed. Tracks, routes, metadata, and extensions are saved as they were. To trim or split the track itself, use the GPX Editor.

Why did my symbol turn into a plain pin?

The app or device did not recognize the symbol name in <sym> and used its default. The waypoint and its name are intact. Choose a symbol name that device knows, or put the category in the waypoint name.

How do I move a waypoint to exact coordinates?

Select it and type the latitude and longitude in decimal degrees. The position is saved to seven decimal places.

Why are some waypoints from my file not listed?

A waypoint with a missing or out-of-range latitude or longitude cannot be placed on a map. The editor reports how many there are and leaves them in the file untouched; the validator shows which lines they are on.

Can a waypoint store a radius or an alarm distance?

Not in standard GPX. Garmin's waypoint extension adds a Proximity distance, which rally devices use for a waypoint's clear radius. The editor keeps such extensions as they are. Rally Waypoints Explained covers how those radii are used.

Is my file uploaded anywhere?

No. The file is read and edited in your browser and the new GPX is generated on your device. The map loads background tiles from OpenStreetMap, but your waypoints are never sent anywhere.

Related Tools and Guides