Whether you are planning a Sunday coffee ride, a gravel adventure, or a sportive course, the workflow is the same: draw the route, save it as a GPX file, and load it onto whatever device you ride with. Learning to create a GPX route gives you full control over distance, elevation, and road choice — without depending on someone else's track.
This guide walks through planning a GPX cycling route on your phone, exporting the file, and using it on ride day. We will use GPX Viewer, which includes route creation and cycling mode on both iOS and Android.
Why cyclists work in GPX
Cycling routes are shared as GPX files because the format works everywhere. When you export a .gpx from GPX Viewer, you can open it on any phone, share it with riding partners, and follow the same route on ride day.
New to the format? Start with what is a GPX file to learn how tracks, routes, and waypoints differ.
Plan your ride before you draw
Good routes start with a clear goal. Decide what kind of ride you are building:
- Road loop — prioritize paved roads, minimize busy intersections.
- Gravel or mixed surface — check satellite imagery for unpaved sections.
- Point-to-point — plan transport back or a return leg.
- Climbing-focused — use elevation preview to target specific ascents.
Note your target distance and elevation budget before placing points on the map. You can always adjust, but a plan keeps the route focused.
How to create a GPX route in GPX Viewer
GPX Viewer lets you build routes directly on the map without a desktop browser. Here is the typical workflow:
- Open GPX Viewer and tap Create Route.
- Switch to cycling mode if prompted — this optimizes the map view for road riding.
- Tap the map to place waypoints along your intended path.
- Drag waypoints to refine corners, avoid unwanted streets, or add scenic detours.
- Review the distance and elevation stats as you add segments.
- Save the route with a descriptive name like "Sunday Gravel Loop 45km".
- Export the route as a .gpx file when you are satisfied.
The saved route appears in your library alongside imported files. Open it anytime to preview on the map using the techniques in our GPX map viewing guide.
Refining your GPX cycling route
Check elevation before ride day
The elevation profile updates as you add waypoints. Look for unexpected spikes that might indicate a stair-step climb on stairs or a ferry crossing you did not intend. Adjust waypoints to smooth the line along rideable roads.
Use the right map layer
Standard maps show road names clearly for urban planning. Satellite view helps identify gravel paths and unpaved connectors in rural areas. Switch layers while editing to catch mistakes early.
Add named waypoints
Mark cafe stops, regroup points, and tricky junctions. Named waypoints appear as labels on the map when you or your riding partners load the file — helpful during group rides where not everyone knows the local roads.
Export your GPX file
When the route is ready, use GPX Viewer's export function to generate a standard .gpx file. You can then:
- AirDrop or email the file to riding partners
- Share it via messaging apps — recipients open it directly in GPX Viewer
- Save a copy in Files for backup and reuse
- Re-import the route anytime from your GPX Viewer library
To share an exported file with a riding partner, follow our GPX import guide for iPhone and Android.
Using your GPX route on ride day
Load the route in GPX Viewer before you roll out. The app displays the full course with distance and elevation stats on an interactive map.
With GPX Viewer Pro, enable live location to see your position and heading on the map as you ride. Compare your dot to the route line at junctions — the same technique hikers use in our GPX viewer for hiking guide, adapted for faster-paced road and gravel riding.
Plan, ride, and share — all in GPX Viewer
Everything you need for cycling GPX routes lives in one app: create the route on the map, check elevation, save it to your library, and follow it with live location on ride day. Share the exported .gpx file with your group so everyone rides the same course.
Download GPX Viewer free on iPhone or Android and build your first cycling route in minutes.
Tips for better cycling GPX files
- Place waypoints at every turn — sparse routes can shortcut through impassable paths on some devices.
- Test ride a short segment first — verify the route before committing to a long sportive.
- Include a start waypoint labeled clearly — meeting points reduce confusion for group rides.
- Version your exports — name files with dates so you know which revision is current.
- Keep the original — duplicate before major edits so you can revert.
From plan to pedal
Creating and exporting a GPX cycling route takes minutes once you know the workflow. Plan on the map, check elevation, export the file, and share it with your group. On ride day, open GPX Viewer and focus on the road ahead — the app handles the map.