KML to GPX Converter

Convert KML and KMZ route files to GPX. Preview tracks and waypoints before downloading.

Import files

GPXKMLKMZ

Converted files will appear here

Route preview

Map tiles are fetched from OpenStreetMap. Nothing is requested until the map loads.
Files0 0 km / 0 mi · 0 track points · 0 waypoints

Your statistics

0
Conversions
0
Files processed
0 km / 0 mi
Distance
-
Most used mode
0
Files merged
In browser
Processing

How to convert GPS routes

Docs

Click Select files and choose KML or KMZ files from your device. You can also drag files onto the page. Wait for each file to appear in the list. Your original files remain unchanged.

Route conversion options

KMZ input

Open a KMZ archive without unpacking it first. The converter reads the first KML entry it finds.

Route map

Check track lines and waypoint markers on street or topographic maps. Use Fit routes and Fullscreen for a closer look.

Distance and point counts

See the total track distance in kilometers and miles, alongside track-point and waypoint counts.

Show 3 moreShow less

Combine route files

Collect tracks and waypoints from several files into GPX and KML outputs. Separate tracks remain separate.

Separate track exports

Split a file into its parsed tracks or points. Multiple segments inside one track stay together.

Modes keep their own files

Switch between the four modes without mixing their file lists. Files remain available for this page session.

Frequently asked questions

How do I convert KML to GPX?

Add a KML or KMZ file in KML to GPX mode. Check its route on the map, click Convert and download the GPX result.

Can this converter open KMZ?

Yes. It opens the ZIP archive and reads the first KML file it finds. Images, overlays and 3D models inside the KMZ are not included in the GPX output.

Will my GPS app read the result?

The output uses GPX 1.1 with waypoints and tracks. Import rules vary between applications. Check the file in your target app, particularly if it requires timestamps or specific device fields.

Which route details are kept?

Each file can be up to 10 MiB. GPX output keeps coordinates, names, elevation and timestamps supplied by the parsed tracks and waypoints. Device extensions, KML styling, embedded images and polygons are not included in GPX output.

Show 2 moreShow less

What happens to KML polygons?

GPX output supports points and lines. Polygons and other unsupported geometry are skipped. A file containing only unsupported geometry cannot be converted to a usable GPX route.

Is my route uploaded to a server?

Route files are read and converted in your browser. The map preview fetches tiles from OpenStreetMap or OpenTopoMap, which receives your IP address and the map area requested. Conversion counters are stored in this browser.

Technical details

Parsing route files

GPX and KML XML are parsed into GeoJSON before conversion. GPX output writes points, lines and multi-line tracks. Unsupported geometry is skipped in that output.

Opening KMZ archives

JSZip reads the archive and uses its first KML file. Embedded images, overlays and models are not copied into the converted route.

Show 4 moreShow less

Merge and split boundaries

Merge keeps tracks and waypoints separate. GPX lists waypoints before tracks, with upload order preserved within each group. It does not connect track endpoints. Split writes one GPX per feature, so one track with several segments remains one result.

What GPX output retains

Each file can be up to 10 MiB. GPX output keeps coordinates, names, elevation and timestamps supplied by the parsed tracks and waypoints. Device extensions, KML styling, embedded images and polygons are not included in GPX output.

Distance calculation

The Haversine formula adds the distance between consecutive coordinates within each track segment. Elevation and gaps between separate segments do not contribute. Sparse recordings can miss bends in the real route.

Map rendering

GeoJSON supplies tracks and waypoint markers to the Leaflet preview. Street tiles come from OpenStreetMap and topographic tiles from OpenTopoMap. Conversion counters are saved locally.