This question is an exact duplicate of:

OSRM seems to have everything I need to draw bicycle routes, but it only exports routes as GPX while the smartphone application I use only supports KML.

Does someone know if there's a Windows script or application that I could use to easily convert GPX to KML?

I know the Gpx2Kml site, but I'd like a one-click solution.

marked as duplicate by matt wilkie, Stephen Lead, PolyGeo Jul 15 '15 at 5:07

This question was marked as an exact duplicate of an existing question.


GPSBabel will do pretty much any of that. HERE is the Link!

From the documentation ...

What is GPSBabel?

GPSBabel converts waypoints, tracks, and routes between popular GPS receivers such as Garmin or Magellan and mapping programs like Google Earth or Basecamp. Literally hundreds of GPS receivers and programs are supported. It also has powerful manipulation tools for such data. such as filtering duplicates points or simplifying tracks. It has been downloaded and used tens of millions of times since it was first created in 2001, so it's stable and truste


You can install the latest GDAL binaries from http://www.gisinternals.com/sdk (if it is not down) or OSGEO4W and run ogr2ogr with a batch file containing

ogr2ogr -f KML testout.kml testin.gpx
  • Thanks. I'm lost at what I should download to run "ogr2ogr" on a 32-bit Windows 7 host. – Gulbahar Oct 17 '14 at 15:55
  • From gisinternals, you can take a successful build (with green status) of the stable or release version for your OS, then take the zip from top of the list, and extract it to a folder and run SDKshell.bat. – AndreJ Oct 18 '14 at 5:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.