How to show a GPX route on a WordPress map (with elevation profile)

Upload a GPX from Strava, Garmin or komoot, or draw the route on the map, and show it in WordPress with distance, climb, a height profile and a GPX download.

3 min read · Updated 18 November 2026 · By Descent Digital

The short answerUse a WordPress route plugin that reads GPX files. With Pinscribe, open a post, upload the GPX (or click start and finish to draw it on the real roads and paths), and publish. Visitors see the line on the map, the distance, the climb, a height profile and a button to download the GPX.

A walk, ride or drive is much easier to follow as a line on a map than as a paragraph of directions. Here’s a real one: a section of Offa’s Dyke Path from Hay-on-Wye to Knighton, uploaded as a GPX.

A live route from a GPX file, with its height profile. Tap the line or the profile to see where you are on it.

Two ways to make a route

Upload a GPX file

Export the GPX from Strava, Garmin Connect, komoot, AllTrails, OS Maps or your watch, then upload it in the post’s Route box. The line, distance and climb are worked out for you.

Draw it on the map

No GPX? Click the start and the finish and the route follows the roads or paths that suit: a drive, a road ride, a ride on trails, or a walk. Drag the line to send it another way. The route finder is free and needs no key.

Step by step

  1. Switch on Routes

    In Pinscribe, open Routes and switch it on (or pick Routes in the setup).

  2. Open a post and add the route

    Upload the GPX or draw it. Choose walk, ride or drive so the right units show (km or miles, metres or feet).

  3. Add what’s along the way

    Mark warnings (steep sections, fords, closures), useful stops (parking, toilets, water, viewpoints) and places to stay. Overnight stays split a long route into days.

  4. Add a video, if you have one

    A YouTube or Vimeo link plays in the route’s card and guide, loading only when played.

  5. Publish

    The post shows the map and a full route guide: figures, the height profile, everything along the way in order, and the GPX download.

Many routes on one map

Show every route at once with [pinscribe routes="only"], only walks with mode="walk", or a set with route="12,34,56". Walks and trail rides use an outdoor map style with hill shading and contour lines, and waymarked walking routes can be shown as a layer.

Every walking route on this site: national trails and day walks in Wales.

Your GPX stays yours

Each route is also saved as a GPX file in your Media Library, so it stays with your site whatever happens to the plugin.

Common questions

How do I embed a GPX file in WordPress?

Install a GPX-capable map plugin such as Pinscribe, open the post, upload the GPX in the Route box and publish. The route shows on an interactive map with its height profile and a download button.

Can I show an elevation profile?

Yes. Every route shows a height profile, with the climb, descent and highest point. Tapping the profile shows that spot on the map.

Can I show Strava or komoot routes?

Yes. Export the GPX from Strava or komoot and upload it. Pinscribe’s importer can also bring in many GPX files at once, each becoming a route.

Can visitors follow the route on their phone?

Yes. Live mode follows the visitor along the route full screen, with what’s next, speed limits on drives, and a warning when they leave the route.

Make your own map, free.

Pinscribe is a free WordPress plugin. Answer six questions and your map is live, or ask your AI to build it for you.