How to create a GPX file with gpx.studio and 3D print the route
Draw a hiking, running or cycling route on gpx.studio, the free online GPX editor, export the GPX file, and upload it to TrailMark3D to make a 3D printable terrain map of the route.
By Carlo ·
In short
Open gpx.studio/app, zoom to the place, click the pencil (Plan or edit a route), set Activity to Run/hike or a bike, and click along the trail to add anchor points; the route snaps to the paths on the map. Then choose File, Export… and Download file to save the GPX. Upload that file on the TrailMark3D home page, frame the mountain, and click Generate 3D Model. gpx.studio and TrailMark3D are both free, with no account needed to draw or preview.
You don't need a GPS watch or a finished hike to make a 3D print of a trail. If the route exists only in your head, as a plan for next summer or as the hike you did years ago without tracking it, you can draw it as a GPX file on gpx.studio, a free online GPX editor that runs in the browser with no account and no install. This guide draws the classic Laguna de los Tres hike from El Chaltén, in Argentine Patagonia, to the lake at the foot of Monte Fitz Roy (about 11 km and 900 m of climbing one way), exports it, and turns it into a 3D printable terrain model in TrailMark3D.
Try the workspace with the sample trail first
Open gpx.studio and find the place
Go to gpx.studio/app. The map opens zoomed out on the whole world; zoom in with the mouse wheel or the + button, or click the magnifier at the top right and search for the start of your route, here El Chaltén. Zoom in until you can see the trails on the map: gpx.studio draws footpaths as thin dashed lines, and the route you draw will follow them. Nothing to sign up for: everything you draw stays in your browser until you export it.
Draw the route with the routing tool
Click the pencil in the toolbar on the left (Plan or edit a route). In the panel that opens, keep Routing on and set Activity to Run/hike for a hiking trail, or to one of the bikes for a ride. Then click on the map at the start of the route, here the trailhead at the north end of El Chaltén, and keep clicking along the trail: each click adds an anchor point, and gpx.studio fills in the path between them along the trails and roads. A few clicks are enough; put one at each fork so the route takes the branch you want. The elevation profile at the bottom shows the distance and the climbing as you go, here 10.9 km and 906 m up.

Export the GPX file
Open the File menu at the top and choose Export… (Ctrl+S). In the dialog, click Download file. The GPX downloads as New file.gpx; rename it to something you will recognize, such as laguna-de-los-tres.gpx. Leave OpenStreetMap data unticked: TrailMark3D only needs the track.


Upload the GPX to TrailMark3D
Open the TrailMark3D home page, click Upload GPX and pick the file, or drag it onto the page. The workspace opens with your route drawn on the map, inside a square tile that just fits it.

Frame the mountain
The first tile hugs the route, so the start and the end sit on its edges. Click the width under the tile and type a bigger one, here 14 km, then drag the round handle in the middle of the tile to slide it west until Fitz Roy and Laguna Torre are inside, with the trailhead still in. Keep both ends of the route a little inside the dashed line, or they are cut off by the edge of the print.

Open the tile shape picker · Open Trail Settings
Generate the 3D model and download it
Under Trail Settings, keep Raised trail so the route prints as its own piece on top of the terrain, and pick its color. Click Generate 3D Model. A minute later the model opens in the 3D viewer: the Fitz Roy massif along the back, the valley of the Río Blanco, and your route climbing from the town to the lake. Raise Vertical Exaggeration if you want the peaks steeper, then click Download 3MF for a multi-color print, or pick STL from the arrow menu.

Open the 3D viewer · Open the download
Frequently asked questions
Is it free?
Yes. gpx.studio is free and needs no account. In TrailMark3D, uploading a GPX, generating up to 5 models a day and downloading STL or 3MF files are free, with a free account for the download. Pro ($10 a month) adds unlimited models, high terrain detail and multi-day trips. See pricing.
Do I need an account on gpx.studio?
No. You can draw, edit and export routes without signing up. The route is kept in your browser, so export the GPX before you clear your browser data or switch computers.
Why doesn't my route follow the trail?
The routing tool only follows paths that are in OpenStreetMap, and only the ones open to the chosen Activity: a footpath is skipped when Activity is a road bike. Set Activity to Run/hike, add an anchor point on the trail at every fork, or switch Routing off for the stretches with no mapped path.
Can I edit a GPX I already have in gpx.studio?
Yes. Choose File, Open… and pick the file, or drop it on the map. You can then cut off the drive to the trailhead with the scissors tool, join two files, or reverse the direction, and export the result for TrailMark3D.
Can I draw a route on my phone?
Yes. gpx.studio works in a phone's browser: tap to add anchor points, and use File, Export… to download the GPX. Then open the TrailMark3D home page in the same browser and upload the file from your downloads.
What other ways are there to get a GPX file?
Export your own activity from Strava, Garmin Connect, Komoot or Wikiloc, as shown in how to export a GPX file. Or skip the GPX and search for a place by name on the TrailMark3D home page to print the terrain alone, as in 3D terrain map of any place.