Free GPX to KML converter online Convert GPX files to KML for Google Earth in your browser. Nothing is uploaded.

Convert GPX to KML
in your browser.

Drop a .gpx file from your watch, Strava, Komoot or Garmin to convert it to KML. You get the tracks as paths and the waypoints as placemarks, ready to open in Google Earth.

The conversion happens on your device. Open the 3D preview if you want to see the route on terrain; that step sends the route to AvoMap, the download does not.

Kilometers0km
Miles0mi
Free converterGPX to KML
01

How to convert a GPX file to KML online

Four steps. The last one is optional.

Step 1

Pick the GPX file

Drag the .gpx onto this page or click Select GPX file. Exports from Strava, Garmin Connect, Komoot, Wahoo and any GPS logger work.

Step 1: Pick the GPX file
Step 2

Check the outline

The page draws the track, measures it and names the start and end point, so you can see it read the right file.

Step 2: Check the outline
Step 3

Download the KML file

Click Download KML file. The conversion runs on your device and the KML is saved to your downloads folder.

Step 3: Download the KML file
Step 4

Optional: see it in 3D

Open 3D preview shows the same route on satellite terrain in the AvoMap editor, where you can render a video of it.

Step 4: Optional: see it in 3D
02

What the GPX to KML conversion keeps

GPX and KML overlap on the geometry and differ on everything else. This is what happens to each part of the file when you convert.

TracksEach track becomes a placemark with a path. A track with several segments becomes a MultiGeometry with one line per segment.
RoutesBecome paths, the same as tracks.
WaypointsBecome point placemarks with name and description.
ElevationKept as the third coordinate. Google Earth drapes the line on the terrain by default; the values are in the file for any tool that wants them.
TimestampsNot carried over. KML keeps time only in gx:Track, which this converter does not write. Keep the GPX if you need the times.
Heart rate, cadence, powerDropped. These live in GPX extensions and KML has no place for them.
Line styleA 4 px blue line is written so the track shows up in Google Earth instead of the thin white default.
Names and descriptionsKept.
03

GPX to KML for Google Earth, Strava and Garmin exports

Where the GPX files come from and where the KML file goes.

Google Earth

Google Earth Pro on the desktop opens GPX directly, but the web and phone versions import KML and KMZ only. Convert here, then use Projects, New project, Import KML file from computer. The track lands on the terrain as a blue path.

Strava

On an activity page open the three-dot menu and choose Export GPX. Convert the file here and open it in Google Earth to see the ride or run over satellite imagery. Heart rate and power do not make the trip; the track and elevation do.

Garmin Connect

Open an activity, click the gear icon and choose Export to GPX. Courses export the same way from the course page. Waypoints you added on the device come across as placemarks.

Komoot

On a tour page choose Download GPX. Komoot files carry elevation but usually no timestamps, which suits KML fine since KML does not keep them anyway.

Google My Maps

My Maps imports GPX directly, so you rarely need KML for it. Convert when a GPX with several tracks confuses the import, or when you want the same file to open in Google Earth as well.

04

GPX vs KML

What a GPX file and a KML file each hold, and which one the app you are heading for expects.

What is a GPX file?

GPX is the plain XML format GPS devices and sports apps trade files in. It holds tracks (what you recorded), routes (what you plan to follow) and waypoints. Every point has latitude and longitude, and can carry elevation and a timestamp. Garmin, Wahoo, Strava, Komoot, AllTrails and OsmAnd all import it.

What is a KML file?

KML is Google Earth's file format. Besides lines and points it stores how things look: icons, line colours, folders, pop-up descriptions with HTML, even camera positions for a fly-through. Google Earth, Google My Maps, QGIS and ArcGIS read it. Sports apps mostly don't.

GPXKML
Made forGPS devices and sports appsGoogle Earth and map presentations
HoldsWaypoints, routes, tracksPoints, lines, polygons, overlays, styling
Timestamps per pointYes, in tracksOnly in gx:Track
StylingNoneIcons, colours, widths, HTML pop-ups
Opens inGarmin, Wahoo, Strava, Komoot, OsmAnd, AllTrailsGoogle Earth, My Maps, QGIS, ArcGIS

Animate the GPX file as a 3D map video in the AvoMap editor

The converter shows you the outline. The editor puts the same track on satellite terrain, flies a camera along it and exports an MP4 in up to 4K.

The editor is free to use. You pay per exported video, and that pays for the free tools on this site.

Create a video from a GPX file

Videos Made With AvoMap

Explore the full range of AvoMap features in action with these videos, all created using the easy-to-use editor.

See all videos
Motorcycling · Mountain Pass · Switzerland · Italy

Splügen Pass to Italy 🇮🇹

The Splügen Pass connects Switzerland and Italy, linking Splügen with Chiavenna. At 2,113 meters (6,929 feet), it provides a direct route through the Alps, offering impressive views of the surrounding mountains and valleys.

Desert · Ocean view · Nature · Extreme

Ride Through The Desert — Chile

Taking a motorcycle trip through the Chilean desert, starting from Combarbala and heading to La Serena on the coast.

Trail Run · Ultra · Mountains · Nature

UTMB Eiger Ultra 2024

With a distance of 101 km and an elevation gain of 6,700 meters, the Eiger Ultra 101 is a tough challenge for even the most seasoned trail runners. The route includes stunning viewpoints such as Grosse Scheidegg, First, Bachalpsee, Berghotel Faulhorn, Schynige Platte, Wengen, Männlichen, and the base of the legendary Eiger North Face.

Beach · Vineyards · Forest · Ocean view

Otter Trail — South Africa

The Otter Trail is a five-day hiking route in South Africa, starting at Storms River Mouth Rest Camp and finishing at the small resort village of Natures Valley in the de Vasselot section of the park.

Trail Run · Mountains · Forest · Nature

Kepler Track — New Zealand

The Kepler Track is one of New Zealand's Great Walks, renowned for its stunning natural beauty and varied landscapes. It's a 60-kilometer (37-mile) circular hiking trail located in Fiordland National Park on the South Island of New Zealand. The track typically takes around 3 to 4 days to complete and passes through diverse terrain, including beech forests, alpine meadows, and alongside pristine lakes and rivers.

Lakeside · Nature · Trail Run · Extreme

170 Miles Around Lake Tahoe

The Tahoe Rim Trail is a 170-mile long hiking path encircling the Lake Tahoe Basin in the Sierra Nevada, traversing parts of Nevada and California in the United States. It spans elevations from 6,223 feet at Lake Tahoe's outlet to 10,338 feet at Nevada's Relay Peak.

Ocean view · Nature · Trail Run · Extreme

The Grand Raid — La Reunion

The Grand Raid de la Réunion, known as La diagonale des fous, is an ultramarathon held annually in October on Réunion island, a French overseas department located in the Indian Ocean between Madagascar and Mauritius.

Extreme · Overlanding · Globe View · Multi Countries

Frankfurt To Dubai In 30 Seconds

As a break from my usual routine, I decided to embark on an epic journey by motorbike from Frankfurt to Dubai. It took me 62 days to complete the trip, and along the way I crossed through 11 different countries including France, Switzerland, Italy, Greece, Albania, North Macedonia, Bulgaria, Turkey, Georgia, Armenia and Iran.

Extreme · Mountain range · Trail · Forest

Zugspitze Ultra — Germany

The Zugspitz Ultratrail stands as Germany's premier trail running event. Drawing over 4400 participants, it features six distinct routes spanning from 16 to 106 kilometers in length.

Marathon · Flat Terrain · City · Checkpoints

San Francisco Marathon

The San Francisco Marathon is a renowned race featuring a full marathon, half marathon, and 5K. Held in late July, it navigates iconic landmarks like the Golden Gate Bridge and Fisherman's Wharf. The hilly terrain presents a challenge, but the stunning views and community support make it memorable.

Frequently asked questions

Is the GPX to KML converter free?

Yes. Converting, the outline and the 3D preview cost nothing, and there is no account to make. AvoMap charges for exported videos, and that pays for the free tools.

Is my GPX file uploaded when I convert it?

No. The file is read and converted in your browser. Two things do leave your device: the coordinates of the first and last point, which are looked up to show place names, and the whole route if you click Open 3D preview. The download itself stays on your device.

Can Google Earth open a GPX file directly?

Google Earth Pro on the desktop can. The web and mobile versions import KML and KMZ only, which is the usual reason for converting GPX to KML.

Are the timestamps kept?

No. KML stores time only inside gx:Track elements, which this converter does not write. The track, its elevation and the waypoints are kept. Keep the GPX if you need the times.

Why does the line sit on the ground instead of at the recorded altitude?

Google Earth drapes paths on the terrain unless the file says otherwise, and the converter leaves that default in place because recorded altitudes are often off by tens of metres and would float or sink. The elevation values are in the file for tools that read them.

What happens to a GPX file with several tracks?

Each track becomes its own placemark. A track with several segments becomes a MultiGeometry with one line per segment, so a paused recording keeps its gaps.

Can I convert KML back to GPX?

Yes, with the KML to GPX converter. For a zipped version of this output use the GPX to KMZ converter.

Is there a GPX to KML app for my phone?

You don't need one. This page is the app: open it in the browser on an iPhone or Android phone, pick the file from your files app, and the KML lands in your downloads. Nothing to install.