GPX to STL converter: turn a GPX track into a 3D printable terrain map
Convert a GPX file to STL in your browser. TrailMark3D builds the real terrain around your route and gives you Combined, Terrain and Trail STL files for any slicer. Free to start.
By Carlo ·
In short
Drop your GPX file on this page. TrailMark3D reads the route, builds the real terrain around it from elevation data and opens it in a 3D editor. Frame the area, pick a shape, click Generate 3D Model and download the STL files, either one combined STL or the terrain and the trail as separate STLs. It runs in the browser, works with GPX from Strava, Garmin, Komoot or any app, and the Free plan covers it.
Upload your GPX on the home page · Try the sample trail
A GPX file is a list of points: latitude, longitude and usually elevation. An STL is a solid 3D shape your slicer can print. TrailMark3D goes from one to the other in your browser. It reads your route, fetches the real terrain around it, raises the trail on top, and gives you STL files ready for PrusaSlicer, Cura, Bambu Studio or OrcaSlicer. Nothing to install, and no Blender or CAD skills needed.
Drop your GPX file
Drop the file on the box at the top of this page, or click it to choose the file. Any GPX works: a run or ride from Strava, a hike from Garmin Connect, a tour from Komoot or Wikiloc, or a route you drew in gpx.studio. The file only needs the track points. TrailMark3D takes the heights from terrain data, so a planned route with no elevations converts too.

Frame the area and pick a shape
The dashed outline on the map is the part that becomes your STL. Drag it to move it, drag a side to resize it, and turn it with the round handle. Square, circle, hexagon and octagon are free; Pro adds a free-form rectangle. Print Detail sets the print size (100 mm by default), the base and the vertical exaggeration, which makes the hills easier to see at a small scale.

Generate the model and download the STL
Click Generate 3D Model. In under a minute you see the terrain in 3D with your route on it, and you can turn it around before you download. Open the arrow next to the download button and pick an STL. Downloads need a free account.


Which STL file do I need?
- Combined STL: the terrain and the raised trail as one solid. Print it in one color, or change filament at a layer.
- Terrain STL: the landscape on its own, with the trail's groove in it when the trail is carved in.
- Trail STL: only the route, shaped to the terrain, to print in a second color and glue on, or to load as a second part in a multi-material slicer.
Printing in several colors? The 3MF on the main button keeps the terrain, water and trail as separate parts with their filaments already set. See GPX to 3MF and STL vs 3MF.
Frequently asked questions
Is the GPX to STL converter free?
Yes. The Free plan makes 5 models a day with standard terrain detail, areas up to 200 km across, the four basic shapes and STL and 3MF downloads for personal use. You need a free account to download. Pro adds unlimited models, high terrain detail, the rectangle shape, multi-day trips and commercial use. See pricing.
Does my GPX file need elevation data?
No. TrailMark3D takes the elevation from terrain data for the whole area, not from the GPX, so the trail sits exactly on the ground. Routes planned on a map, which often have no elevations, work as well as recorded activities.
Can I get only the route line as an STL, without terrain?
The Trail STL is the route on its own, shaped to the terrain. For a flat ribbon or an elevation profile of the route, with no landscape at all, GPXtruder is the better tool. Our comparison of GPX to STL converters covers both kinds.
How big is the STL, and can I change it?
The model is 100 mm across by default. Set Model Size in Print Detail to anything your printer fits and generate again. The file is scaled in millimeters, so it opens at the right size in any slicer.
Does it work with Strava, Garmin and Komoot files?
Yes. Export the activity or route as GPX and drop it here. How to export a GPX file shows where the export is in each app, and Strava to 3D print walks through a Strava route.
For every setting in detail, with a screenshot of each step, read the full guide: GPX to STL or 3MF, step by step.