mapverter

GPX to KML Converter

Convert GPX waypoints, routes and tracks to KML in your browser. Mixed groups get their own folders, and elevation stays in the coordinates.

  1. Add file
  2. Review
  3. Download

Drag your map file here

SHP (zip, or .shp with .shx, .dbf, .prj), KML, KMZ, GeoJSON, GPX, CSV

Free · one dataset at a time · up to 20 MB

Converting several datasets at once?

Waypoints, routes and tracks

mapverter reads a GPX file as up to three layers: waypoints, routes and tracks. When more than one of them has data, the KML gets a folder for each, named waypoints, routes and tracks; a GPX with a single group is written without folders. Waypoints become points, routes and tracks become lines, and a track with several segments becomes a MultiGeometry of lines.

What carries over

  • Elevation from <ele> is kept as the third value of each coordinate.
  • The GPX name becomes the placemark name. Other values, such as desc, time, sym and type, are stored as ExtendedData.
  • The list of times recorded at each track point is not carried over, so the KML holds the path but not its timing.

Coordinates

GPX and KML both use WGS 84 longitude and latitude, so the target coordinate system is locked and coordinates are written as they are. A GPX that is UTF-8 or declares a legacy encoding in its XML header is read correctly, and the KML is written in UTF-8.

Frequently asked questions

Is the elevation kept?
Yes. Elevation values become the altitude part of each KML coordinate for waypoints, routes and tracks.
Are timestamps kept?
A waypoint's time is kept as an ExtendedData value. The individual times recorded at every track point are not carried over.
Why is the waypoint description in ExtendedData?
GPX stores descriptions in a desc element. mapverter keeps it as an ExtendedData value named desc, next to the other GPX values.
Is my GPX uploaded?
No. The file is converted in your browser and never sent to a server.