FreeKML → GPX

KML to GPX Converter

Turn Google Earth and Google My Maps files into GPX for your GPS, watch or hiking app.

Runs in your browser. Files never leave your device.

GPX, KML, KMZ, GeoJSON, CSV, Excel, TCX or FIT · several at once · or drop them here

Converted on your device — files are never uploaded.

Quick answer

To convert KML to GPX, add the .kml or .kmz file, check the preview, keep GPX as the output and press Convert. Placemarks become waypoints, paths become tracks (with every part of a MultiGeometry), and elevations and gx:Track times are kept. Areas become closed tracks. It runs in your browser, nothing is uploaded.

Step-by-Step Guide

How to convert KML to GPX

1

Export the KML

In Google My Maps, open the map's menu and choose Export to KML/KMZ. In Google Earth, right-click a folder and save it as KML or KMZ.

2

Add the file

Drop the .kml or .kmz file onto the page. Several files can go together.

3

Check the preview

See the tracks and places drawn out with their distance and point counts.

4

Convert and download

Press Convert to GPX and save the .gpx file, or a ZIP of several.

From Google maps to any GPS device

KML is what Google Earth and Google My Maps save, but Garmin devices, Wahoo and Hammerhead bike computers, and apps like Komoot, OsmAnd, Gaia GPS and AllTrails expect GPX. This converter reads the KML (or the KML inside a KMZ) and writes a standard GPX 1.1 file: each placemark becomes a waypoint with its name and description, and each path becomes a track.

Complicated files come through whole. Folders are read at every level, a placemark with several lines (a MultiGeometry) keeps each one as a track segment, and gx:Track paths from Google Earth recordings keep their timestamps. Line colours are kept as GPX track colours. GPX can't store areas, so a polygon becomes a closed track around its outline, and extra placemark data, image overlays and network links are left out; the results tell you when that happens.

Elevation is kept when the KML has it. Paths drawn in My Maps usually have none, so the GPX will have none either.

Last updated

Why Use Ripify KML to GPX

KML and KMZ

Add either; the KML inside a KMZ is read for you.

Placemarks to waypoints

With their names and descriptions.

Paths to tracks

Every LineString, MultiGeometry part and gx:Track.

Times and elevation

Kept from gx:Track recordings and 3D coordinates.

All folders

Placemarks in nested folders are all converted.

No upload

Converted in your browser.

Frequently Asked Questions

KML to GPX FAQ

How do I get a KML file out of Google My Maps?▼
Open the map, click the three-dot menu next to its name and choose Export to KML/KMZ. Pick the whole map or one layer, and tick "Export to a .KML file" if you want KML instead of KMZ. Either file works here.
Will my Garmin read the GPX?▼
Yes. The file is standard GPX 1.1, which Garmin Connect, BaseCamp and Garmin devices import. Very long tracks may be more than an older device holds; Split GPX can cut them into parts of 500 or 10,000 points.
What happens to polygons and areas?▼
GPX has no areas, so each polygon becomes a closed track along its outline, which most apps show as a loop. Holes become extra segments.
Why does my track have no elevation?▼
The KML had none: paths drawn in Google My Maps and many Google Earth paths store only latitude and longitude. The converter keeps elevation whenever the file has it.

More Free Tools from Ripify