KML / KMZ to GPX Converter
Convert KML or KMZ to GPX for a Garmin, a phone GPS app or a bike computer. A KMZ is just zipped KML, so drop it as it is: no unzipping, no separate KMZ to KML step.
Accepted: .kml, .kmz. Up to 20.0 MB, converted on your device.
Your file never leaves your device. Nothing is stored on any server.
Google Earth is handy for planning a route or marking sample points, but GPS receivers and most outdoor apps want GPX. This converter reads the KML or KMZ directly, unzipping the KMZ in your browser, writes every point as a GPX waypoint and every path as a track, keeps names, descriptions and elevation, and produces a file that Garmin devices and apps like OsmAnd, Locus Map, Gaia GPS and Komoot import directly. Want to check the result on a map? Open it in the GPX viewer.
How to convert KML to GPX
Drop a .kml or .kmz from Google Earth, Google My Maps or any other source. The preview shows the points and paths that were found.
Choose which attribute becomes the waypoint or track name if the file has more than one text field.
Click Convert and download the .gpx, then copy it to your device or import it into your GPS app.
What is a KML file?
KML (Keyhole Markup Language) is an XML format for geographic data made popular by Google Earth and Google Maps. It stores points, lines and polygons in WGS84 latitude and longitude, groups them in folders, and can carry attributes in ExtendedData elements or in HTML descriptions.
What is a GPX file?
GPX (GPS Exchange Format) is an XML format used by handheld GPS receivers, Garmin devices and outdoor apps. It stores waypoints (wpt), routes (rte) and tracks (trk) with optional elevation and timestamps, always in WGS84.
Why use this converter
Waypoints and tracks
Points become <wpt> waypoints and lines become <trk> tracks with one segment per part. Elevation from the KML is written as <ele> when present.
Names and notes kept
Placemark names and descriptions are written to the GPX name and desc elements, so the labels you see in Google Earth appear on the GPS too.
Works with common devices
The output is GPX 1.1 and has been checked with Garmin BaseCamp, OsmAnd, Locus Map, Gaia GPS and QGIS.
Nothing is uploaded
Everything runs in your browser. Your files are never uploaded, so confidential survey, cadastral or forestry data stays on your computer.
KMZ to GPX vs KML to GPX: what's the difference?
There is no difference in the result. KML is the plain-text XML file that Google Earth and Google My Maps use for placemarks and paths. KMZ is the same KML document zipped up, usually as a doc.kml with a folder of icons or photos beside it. Google Earth saves as KMZ by default and Google My Maps exports KMZ unless you tick "Export as KML", which is why most files you receive carry the .kmz extension.
This page accepts both. For a kmz to gpx conversion the file is unzipped in your browser, the doc.kml inside is read, and the waypoints and tracks are written exactly as they would be from a plain KML. You do not need to unzip the KMZ or convert it to KML first.
Frequently asked questions
Are attributes lost when converting KML to GPX?
GPX only has a few standard fields, so the placemark name goes to name, the description to desc and altitude to ele. Other ExtendedData fields are not part of the GPX standard and are not written; if you need them, convert to CSV or shapefile instead.
What coordinate system does the GPX use?
GPX is always WGS84 latitude/longitude, the same as KML, so coordinates are copied without transformation and match what your GPS shows.
My KML has folders, polygons and MultiGeometry. What happens?
Everything is written into one GPX. Points from all folders become waypoints and paths become tracks. Polygons have no equivalent in GPX, so their outer boundary is written as a track and a note tells you how many were converted that way.
Is the KML to GPX converter free, and is my file uploaded?
Free, no account, and the file stays in your browser. Nothing is uploaded, which also means it works on a weak mobile connection once the page is open.
Which devices and apps open the GPX?
Garmin handhelds and bike computers (via BaseCamp or by copying to the GPX folder), OsmAnd, Locus Map, Gaia GPS, Komoot, Strava, Wikiloc, Google Earth, QGIS and ArcGIS.
Should I create waypoints, routes or tracks?
Points are written as waypoints and lines as tracks, which every device supports. Routes (rte) are not generated because many devices recalculate them; if you need a route, most GPS apps can convert a track to a route on import.
Can I convert a KMZ file to GPX directly?
Yes. Drop the .kmz on the page and click Convert. The KMZ is unzipped and read in your browser and the GPX is written from the KML inside, so there is no need to extract the archive or run it through a KMZ to KML converter first.
My file is a KMZ from Google Earth, why does it work here?
Because a KMZ is only a zip archive containing a KML document, and this converter opens zip archives as part of reading the file. Google Earth saves as KMZ by default to bundle the KML with any custom icons, so the kmz to gpx case is in fact the most common one. Icons and images are ignored since GPX has no place for them; the placemarks and paths are what get converted.