Skip to the converter

KML to GPX converter, without the upload.

Turn KML placemarks and paths into GPX for a GPS device. It is converted in your browser, so the file never leaves your device.

Drop KML files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert KML to GPX

  1. Add your KML map files

    Drop KML files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. GPX is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the GPX, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The KML to GPX converter is part of this page and runs inside your browser. Your map files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

KML to GPX: what to expect

GPS watches, bike computers and hiking apps read GPX, while routes drawn in Google Earth or My Maps are saved as KML. Placemarks become waypoints and paths become tracks. GPX has no polygons, so areas come out as outlines.

Every format is read into plain GeoJSON features and written out from there, so coordinates, names and properties carry over wherever the target has a place for them. XML that declares custom entities is refused, and KML files are parsed without touching the network. Points become waypoints and lines become tracks; GPX has no areas, so polygon outlines are written as track segments. Elevation and time are kept.

KML vs GPX

KML

KML map file

KML is the format of Google Earth. It stores placemarks, lines and areas with names, descriptions and styling in XML, and can add camera paths for tours. It became an Open Geospatial Consortium standard in 2008. A KMZ is the zipped form.

Opens in Google Earth, Google My Maps, QGIS and most GIS tools

KML converter
GPX

GPX track file

GPX is the open XML format for GPS data and the common language of hiking, cycling and running apps. It records waypoints, planned routes and recorded tracks with time and elevation. Almost every GPS device and app can import and export it.

Opens in Garmin BaseCamp, Strava, Komoot, Google Earth, QGIS and nearly every GPS app

GPX converter
KML compared with GPX
KMLKML map fileGPXGPX track file
Stands forKeyhole Markup LanguageGPS Exchange Format
TypeGeographic dataGPS track data
CompressionNone (XML text)None (XML text)
Introduced2004, by Keyhole, later Google (now an OGC standard)2002, by TopoGrafix
Opens inGoogle Earth, Google My Maps, QGIS and most GIS toolsGarmin BaseCamp, Strava, Komoot, Google Earth, QGIS and nearly every GPS app
Best forPlaces, routes and tours viewed in Google EarthGPS tracks, routes and waypoints
File extension.kml.gpx

Questions

Are my map files uploaded anywhere?

No. The KML to GPX conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting KML to GPX?

The values are kept. Anything GPX has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several KML files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert KML to GPX on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the KML file, press Convert and save the GPX. There is nothing to install.

Is there a file size limit?

Yes. Files up to 150 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.