GPX to KML Converter
Free, no sign-up. Convert GPX to KML or KMZ in your browser, with elevation kept.
Your converted file shows here
- Runs in your browser
- No sign-up
- Keeps elevation and timestamps
- Up to 5 files free
How to convert GPX to KML
You get a KML or KMZ file in your own line color, ready for Google Earth or My Maps.
- Add your GPX. Drag your files onto Drop GPX files, or click the box. Without a file, the Hike loop 4.69 km sample shows a result at once.
- Choose the data. Waypoints, Tracks and Routes start ticked, so untick anything to leave out. A waypoint-only GPX still converts, with each point as a placemark.
- Style the lines. Pick a Line color and a Line width up to 10. Your choice covers every track and route, not the waypoint pins.
- Set the height. Keep Clamp to ground to lay your route along the terrain. Choose Absolute to draw lines and pins at the elevations saved in your GPX.
- Pick the file type. Leave KMZ unticked for a .kml file, or tick it for .kmz. For dated folders, see the multi-day trip setup.
- Press Download KML. Your file downloads under the GPX name, ending in .kml or .kmz. The button keeps the same label for both types.
- See what carried over. A map preview appears with In and Out counts for line points, waypoints, elevation values, timestamps and names. A row with data reads Kept, Partly kept or Lost.
- Adjust or edit. After changing any option, press Download KML again. Open in editor moves the converted file into the editor on the home page.
What stays and what changes when you convert GPX to KML
Converting GPX to KML keeps elevation for track points and waypoints. We checked each field below with our own sample files.
| GPX data | Result | In the KML file |
|---|---|---|
| File name and description | Kept | Document name and description |
| Track, route and waypoint names | Kept | Placemark names |
| Track, route and waypoint descriptions | Kept | Placemark descriptions |
| Track point and waypoint elevation | Kept | Coordinates |
| Track point times | Kept | Timed track, if every point has a time |
| Several tracks and segments | Kept | Segments stay separate |
| Waypoint icon, type and time | Moved | Extra data fields |
| Track type and route point names | Moved | Extra data fields |
| Heart rate, cadence, power, temperature | Lost | Not written |
| Original line color and width | Lost | Pick a new style before converting |
| File time and track comments | Lost | Not written |
In our own sample test, a synthetic ride kept all 6,279 track points with their elevation and times. Heart rate was dropped, so keep your original GPX file for training data.
If only some points have times, those times move to extra data. Check the drawing in your map app.

Tracks, routes and waypoints in your KML
You can predict which lines and pins you will get before you convert. Open your GPX in a text editor and search for trk, rte and wpt.
| In your GPX | Tick box | What your KML gets |
|---|---|---|
| trk, a track | Tracks | A line for each track that has points, listed first |
| rte, a route | Routes | A line for each route that has points, listed after tracks |
| wpt, a waypoint | Waypoints | A pin for each waypoint, listed after the lines |
Each line or pin sits in its own placemark, the KML entry for one map item. Its extra data field named kind reads track, route or waypoint, so the KML code tells similar lines apart.
Your route shows long straight legs
The converter draws a route by joining its saved route points in file order. It adds no road shape, so points set far apart give long straight legs.
Some GPX files tuck extra shape points inside route extensions, and the converter leaves those out of the line. If your source app can also export a track, convert that file and compare the two lines.
You see two lines for one trip
Your GPX may hold the same trip as both a track and a route. Both convert, so your map can show two overlapping lines. Untick Routes to keep the track, or untick Tracks to keep the route, then press Download KML.
Your preview says Partly kept after unticking a box
In counts what was read from your GPX, while Out counts what reached the KML. Line points adds track and route points together. If you unticked a box that held data, Partly kept or Lost is expected in the rows it affects.
GPX vs KML: which one to use
The main difference between GPX and KML is use: watches and training apps read GPX, while Google Earth opens KML.
GPX, the GPS Exchange Format, is an XML format for waypoints, routes and tracks. KML is a file format for showing geographic data in an Earth browser such as Google Earth.
Use GPX for watches and training
- Import a route into Garmin Connect as a course.
- Send a route to COROS or Suunto.
- Keep the original recording with heart rate or power.
Use KML for maps
- View a track in Google Earth.
- Add places and lines to a Google My Maps layer.
- Choose the line color and width before you convert.
- Pick KMZ when you want the KML zipped.
For the way back to your device, convert KML back to GPX.
Open the KML in Google Earth or Google My Maps
Google Earth on the web does not import GPX, so convert first.
Google Earth on the web
- Sign in, choose New, then Import file.
- Choose Upload from device and select your KML.
- Add it as map features, then click Import.
Google My Maps
- Sign in and open or create a map.
- Click Add layer, then Import under the new layer.
- Upload your KML or KMZ file.
My Maps limits KML and KMZ files to 5 MB unzipped. Google notes that time-based elements and folders may not import. If your track is missing, import the GPX, which My Maps accepts.
If a track sinks into hills or floats in Google Earth, switch the height mode: clamp to ground or absolute.
To get directions, open it in Google Maps.
Converting many files at once
- Several files
- The free plan converts up to 5 GPX files at once. Larger batches need a paid plan.
- One download
- Your KML files arrive together in a ZIP.
- Bad files
- An unreadable file does not stop the others. The ZIP includes a list of errors.
- Daily folders
- You can group your data into one folder per day, using the dates in its timestamps.
Who converts GPX to KML, and for what
Find your app or file below and get the settings that suit it.
Google Earth users: decide where your route lives
Keep your route on one computer, or add it to a project you can edit. Google Earth on the web can open your KML as a local file, visible only on that device. To add it to an open project, choose File, then Import file.
In an open project, your import arrives grouped in a new folder. Your map features stay editable up to 10,000 features and 250,000 vertices. Google loads anything larger as a read-only data layer (Google: import data).
Google My Maps planners: separate stops from lines
Get one file of stops and one of lines, so each can have its own layer. Convert with only Waypoints ticked, then again with only Tracks and Routes. Rename the first download to something like stops.kml, since both take your GPX name.
Add each file with the My Maps import steps. To carry the finished map with you, open it on your phone.
Garmin and Strava users: see a trip day by day
See each day of your trip as its own folder in Google Earth. Export your GPX from Garmin Connect or Strava, then tick One folder per day. To try it first, load the 3-day ride 50 km sample, tick the box and press Download KML.
Your folders are named by date, such as 2026-05-03, following the approximate local day of each recorded point. A track that runs into the next day is split there. Untimed waypoints and routes go into a No date folder.
KMZ senders: one file for your group
Send friends a single .kmz that already carries your line color, pins and any daily folders. You can make it here without installing Google Earth Pro.
Batch converters: one look for many files
Give a whole set of GPX routes the same style in one pass. Select the files together, and your color, width, height and data choices apply to each. For one KML covering every ride or walk, merge the GPX files first, then convert the result.
GPX to KML FAQ
How do I convert GPX to KML?
To convert GPX to KML, drop your file on this page, choose your options and press Download KML (all eight steps).
How do I convert GPX to KML online for free?
Use the converter above, which is free and needs no sign-up. GPX Editor, an online GPX editor and converter, takes files up to 20 MB on the free plan. Pro costs $6.99 a month or $39 a year and adds batch tools.
Is my GPX file uploaded?
No, the conversion runs in your browser and your file stays on your device.
Does converting GPX to KML keep elevation?
Yes, track point and waypoint elevation both carry into the KML. Sensor readings such as heart rate and power are left out.
What is the difference between KML and KMZ?
KMZ is a zip package that holds a KML file together with its attachments. Google Earth and My Maps accept both.
How do I convert GPX to KML for Google Earth?
To turn GPX into KML for Google Earth, convert the file above, then import it there. Google Earth on the web accepts KML and KMZ, while GPX must be converted first.
Can I convert several GPX files at once?
Yes, the free plan converts up to 5 files in one go and returns a ZIP. Larger batches need a paid plan.
Why are some points missing after conversion?
Points can go missing when a data type is unticked, coordinates are invalid or a map limit applies. The converter warns you when it skips invalid points. Google also says not to import files with more than 2,000 rows into My Maps.
How do I open a GPX file in Google Earth?
On a computer, you can drag the GPX file into Google Earth Pro. To view it in Google Earth on the web, convert it to KML first.
Can I edit a GPX file in Google Earth?
Partly: you can draw paths and adjust points, and Google Earth saves your work as KML or KMZ. To get GPX again, convert the KML back to GPX.
Convert your GPX files to KML
Free for up to 5 files at once, with no sign-up.