GeoJSON to GPX Converter

Convert GeoJSON Features and FeatureCollections to valid GPX 1.1

Ad placeholder (leaderboard)

GeoJSON (RFC 7946) is the standard format for web maps and GIS, while GPX is what Garmin devices, Strava, Komoot and most GPS hardware import. This free converter remaps GeoJSON features to GPX in your browser, so you can take a route designed in a web tool and load it onto a device without uploading your private geographic data anywhere.

How it works

The converter normalises the input and rebuilds it as GPX 1.1:

  1. The JSON is parsed and reduced to a list of features, whether you paste a FeatureCollection, a single Feature, or a raw geometry.
  2. Each geometry is mapped:
    • Point → a waypoint (wpt),
    • LineString → a track with one segment,
    • MultiLineString → a track with one segment per line,
    • Polygon → a track built from its outer ring (GPX has no polygon type).
  3. Coordinates are read as [lon, lat, ele]longitude first per RFC 7946 — and written into GPX’s separate lat/lon attributes with an ele child when a third value is present.
  4. properties.name and properties.desc carry over as the GPX name and description.

Tips and example

A GeoJSON point feature with "coordinates": [16.3738, 48.2082] becomes:

<wpt lat="48.2082" lon="16.3738"></wpt>

The first array element is longitude, not latitude — a frequent source of mirrored maps. This tool always reads index 0 as longitude. If a converted track appears in the wrong place, check that your source GeoJSON itself used the correct [lon, lat] order.

All processing is local; your GeoJSON never leaves your browser.

Ad placeholder (rectangle)