How it works
- Drop your .gpx file on the converter. Tracks, routes and waypoints are all read, in GPX 1.0 or 1.1.
- Choose KML, or KMZ if you want the smaller zipped file for sharing.
- Click Convert and the file downloads. Open it in Google Earth, or import it into a Google My Maps layer.
What ends up in the KML
- Paths: every track segment and every route becomes a line, with the original coordinates and no re-routing.
- Pins: every waypoint becomes a placemark with its name and description.
- Elevation: the altitude of each point is written into the file. Lines are clamped to the ground so they follow the terrain in Google Earth.
- KMZ: the same KML inside a zip archive, which is the format Google Earth shares by default.
Open the file in Google Earth or Google My Maps
In Google Earth, use File, then Open, or drag the file onto the globe. In Google My Maps, open a map, click Import under a layer and pick the file. Google states that unzipped KML and KMZ files can be up to 5 MB and that a file should not have more than 2,000 rows, so a long track with many waypoints may need to be split.
KML or KMZ?
KML is plain XML you can open and edit in a text editor. KMZ is the same file zipped, several times smaller, and the one to send by email or attach to a post. Both import the same way.
Need the other direction? KML to GPX
If you already have a KML or KMZ, for example a Google My Maps export, our KML to GPX converter turns it into a GPX for Garmin, Wahoo, Komoot and any GPS app.
Frequently asked questions
How do I convert a GPX file to KML online?
Drop the .gpx file on the converter above, choose KML or KMZ and click Convert. The file downloads in seconds and opens in Google Earth, or imports into Google My Maps.
Is the GPX to KML converter free?
You can start for free: each month you get 2 free conversions with a free account, or 1 without one. Pro Lifetime is a one-time payment for unlimited conversions in both directions.
Does the KML keep my waypoints and elevation?
Yes. Every waypoint becomes a pin with its name and description, and the elevation of each point is written as the third coordinate. Lines are clamped to the ground so they follow the terrain in Google Earth.
Why does Google My Maps show my track as several lines?
A GPX track can hold several segments, one for each time the GPS lost and regained its signal. My Maps does not import grouped geometries, so each segment becomes its own line, named "part 1 of 3" and so on.