Convert GPX to KML — open in Google Earth or My Maps
Upload a GPX track or route and get a KML file for Google Earth, Google My Maps, or any KML-compatible tool. Conversion runs in your browser.

GPX to KML
Upload a .gpx file to convert to .kml. Opens in Google Earth and other KML apps. Conversion runs in your browser — files are not uploaded.
Why convert GPX to KML?
KML is the format Google Earth and Google My Maps use — GPX tracks need to be converted first.
Open in Google Earth
KML is the native format for Google Earth and Google My Maps. Convert your GPX track to KML to visualize it in 3D terrain or share it on My Maps.
Runs in your browser
Upload a GPX file and download a KML file in seconds. No server processing — conversion runs locally in JavaScript.
Tracks, routes, and waypoints
We convert track points (trkpt), route points (rtept), and waypoints (wpt) from your GPX into the equivalent KML elements.
How to convert GPX to KML
Three steps from a GPX file to a KML file ready for Google Earth.
Upload your GPX file
Click the upload button and select a .gpx file from your device. Any standard GPX file works.
Convert in the browser
We parse the GPX and build a KML file immediately in your browser. Nothing is sent to any server.
Download and open
Download the .kml file and open it in Google Earth, Google My Maps, or any KML-compatible app.
Good to know
KML (Keyhole Markup Language) is an XML-based format for Google Earth and Google My Maps. It supports points, lines, and polygons. Converting a GPX track to KML lets you visualize your route in Google Earth's 3D terrain view or publish it as a My Maps layer.
Our converter maps GPX track points to a KML LineString, route points to a KML route, and GPX waypoints to KML placemarks. Coordinate data is preserved.
All conversion is local. Need the reverse? Use our KML to GPX tool.
When to use GPX to KML
- View a GPX route in Google Earth with elevation terrain and satellite imagery.
- Publish a route on Google My Maps to share with others as a Maps layer.
- Import a GPS track into a GIS tool that accepts KML but not GPX.
- Share a route with someone who only has Google Earth installed.
Starting from a Google Maps route? Use the Google Maps to GPX converter first, then convert GPX to KML here.
Ready to convert your GPX to KML?
Upload a GPX file above and download a KML file for Google Earth in seconds.