How Do You Turn Waypoints into a Track or Route?
Load the GPX file into Waypoints to Track, choose the order the points should be joined in, and download. The tool writes one track with a point for every waypoint. For a route, load the same file into the Route Planner and click the waypoints in the order you want; each one joins the route with its name. Both run in your browser and nothing is uploaded. The result is a straight line from each point to the next, not a line that follows a trail, and the order of the points is the one thing that can go wrong: in the example below, the same five waypoints make a 13.8 km line in the right order and a 24.8 km tangle in the wrong one.
Track or Route: Which Do You Need?

Waypoints are separate marks on the map. Nothing in the file says they belong together or which comes first. A track and a route both add that: they are the same points, in an order, joined up. They differ in what a device does with them.
| You want | Make a | Because |
|---|---|---|
| A line on the map to follow by eye | Track | Every app and GPS unit can read a track and draws it exactly as it is in the file |
| The device to guide you from point to point | Route | A route is a list of points to navigate between, with the distance and direction to the next one |
| The name of each point to stay with it | Route | Route points carry names. Names on track points are valid, but many devices ignore them |
| Not to have to find out which your device wants | Both | One file can hold the same points as a route and as a track |
GPX Waypoints, POIs and Routes goes further into what each one is inside the file.
Order Is the Whole Job
Joining points is simple. Joining them in the right order is the part that needs your attention, because waypoints have no order of their own. The order in the file is whatever the app that wrote it chose: often the order you made them in, sometimes alphabetical.
Here is a file of five waypoints, marked on a walk from a trailhead to a camp and then exported by an app that sorts them by name:
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="example" xmlns="http://www.topografix.com/GPX/1/1">
<wpt lat="34.1040" lon="-116.1050"><ele>1012</ele><time>2026-10-17T17:40:00Z</time><name>Arch</name></wpt>
<wpt lat="34.0560" lon="-116.1100"><ele>905</ele><time>2026-10-17T15:35:00Z</time><name>Bridge</name></wpt>
<wpt lat="34.1100" lon="-116.1460"><ele>1040</ele><time>2026-10-17T18:20:00Z</time><name>Camp</name></wpt>
<wpt lat="34.0800" lon="-116.0900"><ele>948</ele><time>2026-10-17T16:30:00Z</time><name>Spring</name></wpt>
<wpt lat="34.0500" lon="-116.1500"><ele>880</ele><time>2026-10-17T15:00:00Z</time><name>Trailhead</name></wpt>
</gpx>
The same five waypoints, drawn to scale and numbered in the order they are joined. In file order the line runs to 24.8 km and crosses itself. Ordered by the time on each waypoint it is the 13.8 km walk that was made.
Waypoints to Track offers three orders, and shows the first waypoints in the order you picked before anything is converted:
- File Order joins them as they come in the file. Right when you made the waypoints in sequence and the app kept that sequence.
- By Name sorts them by name, and reads numbers as numbers: WP2 comes before WP10. A plain alphabetical sort would put WP10, WP11, and WP12 straight after WP1. Right when the names are numbered.
- By Time sorts them by the timestamp on each waypoint, which is usually the moment it was marked. Waypoints with no time go last. The choice is greyed out when no waypoint in the file has a time.
If none of the three gives the order you want, there are two ways out. Rename the waypoints with a number in front (01 Trailhead, 02 Bridge) in the Waypoint Editor and use By Name. Or skip sorting and click them in order on a map, which is the Route Planner method below.
Waypoints to a Track
- Load the file. Open Waypoints to Track and drop the GPX file on it. It reports what it found. For the example: 5 waypoints, 5 named, 5 with elevation, 5 with time.
- Choose the order and read the preview. For the example, File Order previews as Arch, Bridge, Camp, Spring, Trailhead, and By Time as Trailhead, Bridge, Spring, Arch, Camp.
- Name the track. The box is filled in from the file name, here
camp-loop_track. This is the name a device will list it under. - Decide what each point carries. Elevation and timestamps are kept unless you untick them. Waypoint names on track points are off unless you tick them. Minimum file writes positions only.
- Click Convert to Track. The new file downloads. Your original is not changed.
This is the whole of the example's output with By Time and Minimum file chosen:
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="GPXAnalyzer.com - Waypoints to Track" xmlns="http://www.topografix.com/GPX/1/1">
<trk>
<name>camp-loop_track</name>
<trkseg>
<trkpt lat="34.05" lon="-116.15"/>
<trkpt lat="34.056" lon="-116.11"/>
<trkpt lat="34.08" lon="-116.09"/>
<trkpt lat="34.104" lon="-116.105"/>
<trkpt lat="34.11" lon="-116.146"/>
</trkseg>
</trk>
</gpx>
Three things to know about the result:
- The file holds the track and nothing else. The waypoints are not copied into it. To have both in one file, add the original and the new file to the GPX Merger: for the example it gives one file with the 5 waypoints and the track.
- Timestamps become the track's times. If the waypoints were marked on a real trip, that is useful. If you made them at a desk, untick Include timestamps, or an app may work out a speed from the moments you happened to create them.
- Leave names off the track points unless you know your software reads them. They are valid GPX, but some devices and apps handle them badly.
Waypoints to a Route
There are two ways, and they suit different files.
Click them into a route on a map
Open the Route Planner and choose Load a GPX File. The waypoints appear as dots. Click them in the order you want to travel: each click adds that waypoint to the route at its exact position, with its name. Then choose Route, Track, or Both and download.
For the example, clicking Trailhead, Bridge, Spring, Arch, and Camp gives a five-point route of 13.83 km with all five names on the route points. The planner lists the length and bearing of each leg as you go, and with "Also save the named points as waypoints" ticked, as it is to begin with, the file holds the waypoints as well.
This is the method to use when the order in the file is wrong, when you want only some of the waypoints, or when the names matter. You can also click on the map between two waypoints to add a point and bend the line round something. The planner does not carry elevation over, and a route may have up to 1,000 points.
Convert the track
Make the track as above, then load it into GPX Track to Route and download. With fewer points than the limit you set, every point that bends the line becomes a route point: the example's five-point track becomes a five-point route. Elevation is kept and timestamps are dropped unless you choose otherwise.
Two things differ from the map method. Names do not come through, even if you wrote them onto the track points; the tool can number the route points RP001, RP002, and so on in their place. And a waypoint that lies exactly on the straight line between its neighbours is left out, because the line is the same without it. With real waypoints that almost never happens, but twelve test points in a perfectly straight row came out as a two-point route. If every waypoint has to be a stop on the route, use the map method.
This is the method to use for a long list that is already in order, and when your device limits how many points a route may have: set the limit and the tool keeps the points that hold the shape best.
Starting from a List, Not a GPX File
If the points are rows in a spreadsheet, there is no need to make waypoints first. CSV to GPX has a choice of Track or Waypoints for its output: choose Track and the rows are joined in the order they are in, top to bottom. How to Convert CSV to GPX covers the column names it looks for. If the positions are in UTM, MGRS, or degrees and minutes, convert them to decimal degrees first; How to Batch Convert a List of Coordinates shows how.
And if you have no points at all yet, draw the line directly in the Route Planner. How to Create a GPX File compares the ways of starting from nothing.
What the Line Is, and Is Not
- It is straight between points. None of these tools knows where the trail or the road goes. The line cuts across whatever lies between two waypoints.
- Its length is a minimum. The example measures 13.83 km in straight legs. The path on the ground between the same five places will be longer, by a little on open desert and by a lot on switchbacks.
- More points make a truer line. Where the way bends between two waypoints, add points on the bend. In the Route Planner, click the line to put a point into that leg and drag it into place.
- A device may redraw a route. A GPS unit set to follow roads works out its own way between each pair of route points. Set it to direct or off-road routing to get the straight legs you see here.
Check It Before You Rely on It
Load the new file into the GPX Analyzer. It draws the line and gives its length, and the length is the quickest test there is. The example in the right order shows 8.59 miles (13.8 km). Joined in file order it shows 15.42 miles. A distance far longer than the trip you had in mind means the order is wrong.
If a device or app refuses the file, run it through the GPX Validator. Every file made in this guide, the track, the minimum file, both routes, and the merged file, passes with no errors and no warnings.
Common Problems
"This GPX contains 1 route(s) but no waypoints"
The points in your file are already route points, not waypoints, so there is nothing for Waypoints to Track to join. If a route is what you wanted, you have it. To turn it into a track, load the file into the Route Planner, click Edit Its Route, choose Track, and download.
The line zigzags or doubles back
The order is wrong. Go back to the order choice and read the preview, or click the waypoints in order in the Route Planner.
The names have gone
A track is a line; most software shows no names along it. Keep the waypoints in the same file with the GPX Merger, or make a route in the Route Planner, where each point keeps its name.
The device loads only part of the route
Many GPS units limit how many points one route may have. GPX Track to Route fits a line to a limit you set, or splits it into several routes that each fit.
Frequently Asked Questions
Can I convert waypoints straight to a route?
Yes, in the Route Planner: load the file and click the waypoints in order. Waypoints to Track makes a track only, which GPX Track to Route can then turn into a route.
What order are the waypoints joined in?
The one you choose: the order in the file, by name with numbers read as numbers, or by the time on each waypoint. In the Route Planner it is the order you click them in.
Will the line follow the trail?
No. It runs straight from each point to the next. To follow a trail closely you need a point at every bend, or a track recorded on the trail.
Are my waypoints deleted?
No. Your file is never changed; you download a new one. The new track file does not contain the waypoints, so keep the original, or merge the two.
Is there a limit on the number of waypoints?
Waypoints to Track takes any file up to 25 MB. The Route Planner holds up to 1,000 points in a route. The tighter limit is usually the device's own, for routes.
Can I turn a route into a track?
Yes. Load it into the Route Planner, click Edit Its Route, choose Track, and download.
Is my file uploaded?
No. All of these tools read and write the file in your browser. The Route Planner and the Analyzer load map tiles, but your points are not sent anywhere.
Related Tools and Guides
GPX Waypoints to Track
Joins the waypoints in a file into one track, in the order you choose
GPX Route Planner
Click waypoints into a route on a map and keep their names
GPX Track to Route
Turns a track into a route within your device's point limit
Waypoints, POIs & Routes
What each of the three means inside a GPX file