GPX for cyclists

GPX files for cycling: what they are and how to use them

Understand what's inside a GPX file, then find, load, edit, share and forecast one for your next ride.

The short answer

A GPX file for cycling is a small, open-standard text file that stores a route or ride as a list of map points, each with latitude, longitude and usually elevation. You export one from a planner such as Strava, Komoot or Ride with GPS, then load it onto a bike computer or phone app to follow, edit or share.

Key takeaways

  • [object Object]
  • Use a GPX track to follow a ride; a GPX route makes your device fill in the line.
  • Strava, Komoot, Ride with GPS, Garmin Connect and the Wahoo app all import GPX files.
  • A recorded ride's GPX shows your real start point, so trim it before sharing.
  • A GPX holds the path, not the timing; add a start time and pace to forecast it.

Definitions

Track
An ordered list of points describing a path, usually the line you follow or the ride you recorded.
Route
In GPX terms, an ordered list of turn points that your device joins up itself to reach a destination.
Waypoint
A single named point, such as a café, water stop or summit, stored alongside the track or route.

What is a GPX file, in plain words?

A GPX file is a route or ride saved as a list of points on the map, in a format almost every cycling app and bike computer can read. It's how a GPX file for cycling moves a route from the planner where you drew it to the device that guides you.

GPX stands for GPS Exchange Format. TopoGrafix, which publishes the standard, describes it as a lightweight XML format for swapping GPS data between applications and web services. Version 1.0 arrived in 2002, and version 1.1, still the current one, in August 2004. It's open, so every major platform supports it.

What's inside a GPX file?

Points, grouped as tracks, routes and waypoints. Each point has a latitude and longitude, and usually an elevation and a time.

Here's a trimmed track from a recorded ride:

<gpx version="1.1" creator="Example">
  <trk>
    <name>Saturday loop</name>
    <trkseg>
      <trkpt lat="51.4545" lon="-2.5879">
        <ele>14.0</ele>
        <time>2026-09-13T07:02:11Z</time>
      </trkpt>
      <!-- thousands more points -->
    </trkseg>
  </trk>
</gpx>

The GPX 1.1 schema sets the rules. Latitude and longitude are decimal degrees on the WGS84 datum that GPS uses. Elevation is in metres. Times are in Coordinated Universal Time (UTC); the "Z" marks that.

Part What the GPX 1.1 schema calls it What it means for a rider
Track (trk) An ordered list of points describing a path The line you follow, or the ride you recorded
Track segment (trkseg) Points logically connected in order A continuous stretch; one track can hold several
Route (rte) A series of turn points leading to a destination Your device joins the dots, so the line can shift
Waypoint (wpt) A point of interest or named feature Cafés, water, summits, regroup points

Ride with GPS says a GPX route makes your device plot the path between cue points, so it may differ slightly from the plan. Most riders want a GPX track.

Want this for your own route? Windline shows the wind for every stretch, timed to your pace. Free. Make a free ride page →

Where do you get GPX files for cycling?

From the planner you use, from published route libraries, or from your event's organiser.

Export from your planner:

  • Strava: website only. Routes download from the down arrow icon, your own rides from Export GPX. See how to export a GPX file from Strava.
  • Komoot: open a saved route or activity and choose Download GPX file. The region where it starts must be unlocked. See how to download a GPX file from Komoot.
  • Ride with GPS: on the web, More, then Export as File; in the app, the three-dot menu, then Export GPX. Whole multi-day trips are covered in exporting a GPX file from Ride with GPS.
  • Garmin Connect: courses and activities export differently; see exporting a route from Garmin Connect as GPX.

Download a published route. EuroVelo has offered free GPX downloads of its long-distance routes across Europe since 2022, under an open-data licence since 2024. Cycling UK publishes routes with GPX files. In North America, the Adventure Cycling Association sells its routes as digital routes in Ride with GPS, with GPX downloads.

Ask the organiser. For a sportive or tour, use the official file.

How do you load a GPX file onto a bike computer or app?

Import it into the companion app or website, then sync.

  • Garmin Edge: upload the GPX to the Garmin Connect website, where it becomes a course. Garmin's Edge manual then says to choose Send to Device and sync.
  • Wahoo ELEMNT ACE, BOLT 3 and ROAM 3: open the file on your phone, choose the Wahoo app, confirm the import, then Send to ELEMNT from My Routes.
  • Komoot: Profile, Saved routes, Import. It takes GPX, TCX and FIT. If the file leaves known roads, choose to stick to the original line or match it to known ways.
  • Ride with GPS: Upload on the website takes GPX, TCX, KML, KMZ and FIT, several files at once.
  • Strava: on the website, Dashboard, My Routes, Create New Route, then the upload button.

Ride with GPS, Komoot and Strava can also send routes to Garmin devices without a file. GPX is the fallback when services don't connect.

GPX, FIT or TCX: which should you use?

Use GPX to move a route between apps, and a course file (FIT or TCX) when you want turn cues on a bike computer.

Ride with GPS explains that its GPX track carries only the GPS points, while its TCX and FIT course files carry the cue sheet, and some Garmin devices require FIT. Strava suggests GPX for devices with base maps and TCX for those without. For a forecast or a planner, GPX is all you need. See GPX vs FIT vs TCX for the full comparison.

How do you edit, trim or split a GPX file?

Open it in an editor, change it and export a new file.

The open-source browser editor gpx.studio handles most jobs. Its Crop tool keeps only the part of a trace you choose. Its Split tool cuts a trace at any point, into two GPX files or into separate tracks or segments in one file. That's how you trim a home start, or cut a 600 km (373 mile) tour into daily stages.

Planners edit too. Komoot Premium can turn a long imported route (seven hours or more) into a multi-day route. Choosing where each day ends is covered in how to split a GPX route into stages.

Can a GPX file give away where you live?

Yes, if it's a ride you recorded from home. Your own export is the whole file, with every point and timestamp from your front door.

Strava hides the first and last 200 m (656 ft) of new activity maps by default, and you can hide more within a 1-mile (1.6 km) radius. But Strava says those settings aren't shared to other services, and hiding a spot doesn't make it impossible to work out. Before you share a recorded ride:

  1. Trim the ends. Crop the first and last kilometre (0.6 miles) or more.
  2. Share a planned route instead. It carries no ride history. Ride with GPS says its app GPX export is coordinate-only.
  3. Check the times. Timestamps show when you were where, which matters if you ride the same way every week.

How do you turn a GPX file into a route-timed forecast?

Add a start time and a pace. A GPX shows where the road goes, not when you'll be there.

A route-timed forecast splits the route into stretches, works out when you'll reach each one, and shows the weather for that place at that hour. For a flat 90 km (56 mile) loop at 24 km/h (15 mph) from 08:00, with no stops:

Distance, km (miles) You arrive Forecast hour to read
0 (0) 08:00 08:00
30 (19) 09:15 09:00
60 (37) 10:30 10:00 to 11:00
90 (56) 11:45 11:00 to 12:00

The last third sits in late-morning weather, when the wind often builds, which a breakfast forecast for your start town misses. Then compare the wind with each road's direction, as in our guide to cycling in the wind.

Planning in Strava? See [the weather along a Strava route](/blog/strava-route-weather/).

Which apps and devices handle GPX, and how?

All the main ones. This is what each platform's help pages said on 19 September 2026.

Platform Imports GPX? Exports GPX? Worth knowing
Strava Yes, as a route (website) Yes, website only Others' rides lose performance data
Komoot Yes, one at a time Yes, website and app Export needs the start region unlocked
Ride with GPS Yes, several at once Yes, web and app Course files carry cues
Garmin Connect Yes, as a course (website) See our Garmin guide Send to Device, then sync
Wahoo app Yes, on ELEMNT ACE, BOLT 3, ROAM 3 Not covered here Phone needs data to convert it
gpx.studio Yes, in the browser Yes Crop, split and merge

Which GPX terms should you know?

These come up whenever you move a route between apps.

  • GPX: GPS Exchange Format, an open XML format for waypoints, routes and tracks.
  • Track point: one point on a track, with latitude, longitude and optional elevation and time.
  • Cue sheet: turn-by-turn instructions stored in a course file, not in a GPX track.
  • Course: Garmin's name for a route loaded onto a device to follow.
  • WGS84: the coordinate system GPS uses, and GPX coordinates follow.
  • UTC: Coordinated Universal Time, the clock GPX timestamps use.

How do you put it all together for a real ride?

Get the file, check it, forecast it, then load it.

  1. Get the right file. Export a planned route where you can, or download the organiser's official GPX.
  2. Check it. Compare its distance and start with what you expect.
  3. Forecast it. The night before, run a route-timed forecast with your real start time and pace, and read a cycling weather forecast stretch by stretch.
  4. Load it. Import it into Garmin Connect, the Wahoo app or your phone app, sync, and check the device shows it.
  5. Share one link. For a group, send one forecast link rather than a file, as in our checklist for organising a group ride.

Compare forecast tools in the best weather apps for cycling.

Frequently asked questions

What program opens a GPX file?

Almost anything. A GPX file is plain XML text, so any text editor shows the raw points. To see it on a map, open it in a browser editor such as gpx.studio, or import it into Komoot, Ride with GPS, Strava or Garmin Connect. Phones usually offer to open a downloaded GPX in a compatible app.

Does a GPX file include turn-by-turn directions?

Usually not. Ride with GPS says its GPX track holds only the GPS points that make the route line, while its TCX and FIT course files carry the cue sheet. Komoot says its GPX exports include only the route geometry, without planning waypoints or voice navigation. Many bike computers and apps work out their own turn prompts from the line instead.

Can you upload several GPX files at once?

It depends on the service. On the Ride with GPS website you can select several files in one go and save them as routes or activities. Komoot's help says only one route or activity can be imported or exported at a time, which matters for a multi-day tour with one file per day.

Why won't my GPX file upload as an activity?

Most likely it has no timestamps. A planned route is just a line on a map, but an activity needs time data to show speed and duration. Ride with GPS says activities without time data can't be uploaded, and it skips duplicates by their timestamps. Import the file as a route instead, or export the original recording from the device that made it.

Do you need to convert a GPX file to FIT for a Garmin?

Usually not. If you import the GPX into the Garmin Connect website, it reaches your device as a Garmin course. Komoot notes that some Garmin devices need FIT files when you copy a route straight onto the device by cable, so convert only for that manual method. See [GPX vs FIT vs TCX](/blog/gpx-vs-fit-vs-tcx/) for the differences.

Is a GPX file the same as a KML file?

No. Both are XML, but KML comes from Google Earth and is built for viewing places and lines on a globe. Ride with GPS offers KML as an export for Google Earth, not for navigation. Komoot doesn't accept KML uploads at all. For bike computers and cycling apps, GPX is the safer format to send and to ask for.

Can you follow a GPX route on your phone without a bike computer?

Yes. Komoot, Ride with GPS and Strava all import GPX files into their phone apps. Check what you'll pay for, though. Komoot needs the region you ride in to be unlocked to navigate, with one region free for new users. Ride with GPS says its turn-by-turn voice navigation in the app comes with a Premium membership.

Can you share a GPX file you downloaded from someone else?

Check the source first. EuroVelo's GPX tracks use the Open Database Licence, which lets you share and adapt them with credit and on the same terms. Paid routes and other riders' files may not allow it. For an organised event, point riders to the organiser's official file rather than your own copy.

Get the wind for your ride.

Upload a GPX, add your start time and pace, and see the headwind, gusts, rain and heat for every stretch of the route, timed to when you’ll be there. Free for riders.

Make a free ride page →

Sources and method

  1. TopoGrafix (2026). GPX: the GPS Exchange Format
  2. TopoGrafix (2004). GPX 1.1 Schema Documentation
  3. komoot Help Center (2026). Export and import Routes and Activities
  4. komoot Help Center (2026). Ways to connect Garmin to komoot
  5. komoot Help Center (2026). komoot plans: Maps and Premium
  6. Ride with GPS Help Center (2026). Export File Formats
  7. Ride with GPS Help Center (2026). Upload Activities, Routes & GPS Files
  8. Ride with GPS Help Center (2026). Send to Device on Mobile
  9. Ride with GPS Help Center (2026). Send to Device
  10. Strava Help Center (2026). How do I create a route from a GPX file?
  11. Strava Help Center (2026). How do I edit my map visibility on Strava?
  12. Strava Help Center (2026). How do I download a GPX route from other athletes' activities on Strava?
  13. Strava Help Center (2026). How do I export my Strava data?
  14. Garmin (2026). Edge 840 Owner's Manual, Following a Course From Garmin Connect
  15. Wahoo Fitness Support (2026). Import a FIT, GPX, or TCX route file via the Wahoo app for ELEMNT ACE, BOLT 3 and ROAM 3
  16. gpx.studio (2026). Crop and split (help)
  17. EuroVelo (2024). EuroVelo GPX tracks go open data
  18. Cycling UK (2026). Knowhow: How to use GPX files
  19. Adventure Cycling Association (2024). Rolling out Adventure Cycling digital routes on Ride with GPS

Every product step, menu name and file-format detail comes from the product's own help pages or manuals, opened on 19 September 2026 and logged in the evidence file. The GPX structure comes from the GPX 1.1 schema published by TopoGrafix. The timing example assumes a steady 24 km/h (15 mph) on flat roads with no stops: 30 km takes 1 hour 15 minutes. Conversions: 1 km = 0.621 miles, 1 mile = 1.609 km, 200 m = 656 ft, 1 m = 3.28 ft.

About the author

Wes Thomson, Founder, Windline. Wes Thomson builds Windline, live wind and weather forecasts timed to when riders reach each stretch of road. He built it for his own 2,093 km tour from Pont Drift to Cape Town, and writes these guides with the same focus: what the wind will do to your ride, and how to plan around it.