Skip to main content

Free GeoJSON ↔ KML ↔ GPX Converter

Convert map data between GeoJSON, GPX, and KML — waypoints, tracks, and routes — right in your browser, with coordinate ordering handled for you. Copy or download the result. Nothing is uploaded.

Works offline once loaded

Drop a file here, or click to browse

GEOJSON, JSON, GPX, KML · processed on your device

or press Ctrl+V to paste from your clipboard

Browse files
GPX output
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="LibraTool" xmlns="http://www.topografix.com/GPX/1/1">
  <wpt lat="37.7749" lon="-122.4194"><ele>16</ele><name>Summit</name></wpt>
  <trk><name>Trail</name>
  <trkseg>
    <trkpt lat="37.77" lon="-122.42"></trkpt>
    <trkpt lat="37.78" lon="-122.41"></trkpt>
    <trkpt lat="37.79" lon="-122.4"></trkpt>
  </trkseg>
  </trk>
</gpx>

💡 Converts Points and LineStrings (waypoints, tracks, and routes) between GeoJSON, GPX, and KML — the geometry in the vast majority of real files from GPS devices, Google Earth, and mapping apps. Coordinate order is handled for you. Everything runs in your browser.

How It Works

Converts map data between the three most common formats — GeoJSON, GPX, and KML — entirely in your browser, handling the coordinate-order differences between them for you.

  1. 1
    Pick formats and paste
    Choose the source and target format, then paste your data (or load the example).
  2. 2
    Conversion via a GeoJSON hub
    Points and LineStrings (waypoints, tracks, and routes) are parsed into a common model, then re-serialized into the target format with correct lon/lat ordering.
  3. 3
    Copy or download
    Grab the result as text, or download it with the right extension and MIME type for the target format.

Parsing and conversion happen entirely in your browser. Your map data is never uploaded.

Related Tools

Frequently Asked Questions