KML, GPX and GeoJSON Converter (Any Direction)

Detects KML, GPX or GeoJSON and converts to another of the three, keeping names, descriptions, elevations and extra properties where the target allows.

Use the tool

Why this tool exists

Maps, GPS devices and web tools each prefer a different file. This converter reads KML Placemarks (points, lines, polygons with holes and multi-geometries), GPX waypoints, routes and tracks, and GeoJSON, and writes any of the others.

Things that do not fit are dropped: KML styles, GPX timestamps on track points, and GeoJSON polygons become GPX lines (their outer ring). Output was parsed back with Python ElementTree and gpxpy to check it is well formed.

How to use it

  1. Paste the file text.
  2. Choose the target format.
  3. For GPX, decide between tracks and routes.
  4. Copy or download the result.

Frequently asked questions

Are track timestamps kept?

Not in this version.

What happens to KML styles?

They are ignored.

Can it read gx:Track?

No.

Is the file uploaded?

No, it is parsed in the page.