Skip to content

Convert GPX to KML

Your recorded track in Google Earth, with waypoints and elevation. Free, and the file never leaves your browser.

or drop several GPX files here

How the conversion works

  1. 1

    Choose a .gpx file from a Garmin, a watch, Strava, Komoot or any phone app, drop it here, or paste the GPX text.

  2. 2

    Each waypoint becomes a Placemark with a Point, each route a Placemark with a LineString, each track a Placemark with one LineString per segment. Name, description, comment, symbol and time go into the placemark and its ExtendedData; elevation is kept as the third coordinate.

  3. 3

    Download the .kml and open it in Google Earth Pro, Google Earth on the web, Google My Maps or QGIS.

How each part is mapped

Everything GPX 1.1 carries at the waypoint, route or track level. Per-point times are read for the track's timestamp; see the limits.

GPXKML
wptA Placemark with a Point. name becomes the name, desc the description, ele the altitude.
rte with rteptA Placemark with a LineString.
trk with one trksegA Placemark with a LineString.
trk with several trksegA Placemark with a MultiGeometry of LineStrings, one per segment.
cmt, type, symExtendedData fields comment, type and symbol, shown in the balloon.
timeThe waypoint's TimeStamp, or the track's first point time as the track's timestamp.

What it does not do

  • Per-point timestamps and heart rate, cadence or power extensions are not carried into the KML: a KML path has no place for them. The track keeps its first timestamp.
  • No styles: the paths take Google Earth's default line. Set colours there.
  • Files up to 50 MB of GPX text, which is a long ride.

Questions people ask

Does my GPX get uploaded?
No. The conversion runs in your browser tab. Nothing is sent.
How do I get my track out of Strava or Garmin?
Strava: open the activity, the three-dot menu, Export GPX. Garmin Connect: the activity's gear menu, Export to GPX. Komoot: the tour, Export GPX. Then drop the file here.
Is the elevation kept?
Yes. Each ele value becomes the third coordinate of the KML point, and Google Earth can show the path clamped to the ground or at its recorded height.
Can I load the KML into Google My Maps?
Yes, import it as a layer. My Maps caps a layer at 2,000 features and 5 MB; a long track is one feature, so that is rarely a problem.
Why is my track one placemark with several parts?
The GPX had several segments in one track, typically where the recording paused. KML keeps them as a MultiGeometry under one placemark, exactly as the GPX had them.

Next, open it in QGIS

Every one of these files loads in QGIS in one dialog. Once the points or polygons sit on your imagery, the two TerraLab plugins take over: AI Segmentation detects the objects the file is missing, AI Edit renders a project on the map.