GPX to KML
Your watch or bike computer logged the trip as GPX. Turn it into KML to look at it in Google Earth or share it as a map layer.
How it works
- Drop your file in the box above, or click it to pick one.
- Pick the output format and press Convert.
- Download the result. Nothing was uploaded on the way.
Is it safe?
A GPS log says where you've been, so it's worth knowing this one stays put: your browser converts it and nothing is uploaded.
Want to check? Open your browser DevTools, switch to the Network tab and convert a file. Or convert a small file once, because each converter downloads its code the first time, then go offline and convert your real file.
From the device to the globe
GPX, the GPS Exchange Format, has been the common language of GPS gear since 2002. Garmin Connect, Strava, Komoot and most hiking and cycling apps export activities and planned routes as .gpx. KML is the format of Google Earth, built for looking at things in 3D rather than for navigating.
Google Earth Pro on the desktop can import GPX on its own. The browser version of Google Earth and a lot of other map viewers take KML or KMZ, and that's where this page comes in.
Pins, paths and what falls off
- Waypoints become pins with their name, description and time. Extra fields such as the symbol name or comment go into ExtendedData.
- Tracks and routes both become paths. A track with several segments (you paused the recording twice) becomes one placemark with several lines.
- Elevation stays in the coordinates as altitude. The path is drawn on the terrain, which is what you want for a hike anyway.
- Track colour set by an app in the GPX's line style is kept as the line colour.
- Per-point times don't make it. The KML gets the shape of the track, not when you passed each point, so there's no replay and no speed.
- Heart rate, cadence, power and other device data sit in GPX extensions and aren't written to KML. You get a note when the file has them.
Need the timing after all? GPX to CSV gives you a row per point with its time.
Questions about this format
Can Google Earth open a GPX file directly?
Google Earth Pro on the desktop can import GPX. The web version of Google Earth imports KML and KMZ, and so do many other viewers, which is the gap this converter fills.
Will the KML show my speed or pace?
No. Speed needs a time for every point, and those times are not written to the KML. The route shape and elevation are all there.
My Strava export has heart rate data. Does it survive?
Not in KML. It's stored as a GPX extension, and KML has no slot for it.
Can I merge several GPX files into one KML?
Not on this page: it converts one file per run, and each GPX becomes its own KML. Google Earth can load several KML files side by side.
Last updated: