Q
QuickConvert
Free & Unlimited

KML to GPX for Garmin/Komoot/Strava (2026): Tracks vs Waypoints + Common Errors

Format Guides11 min readMarch 1, 2026Updated March 5, 2026

Convert KML to GPX for Garmin GPS, Komoot, and Strava. Understand the difference between tracks and waypoints, fix common conversion errors, preserve elevation data, and ensure your routes work perfectly across all navigation apps and devices.

#KML #GPX #GPS #Garmin #Komoot #Strava #Navigation

Google Earth's KML format is powerful for creating routes, but most GPS devices and fitness apps require GPX. Understanding the differences between tracks, routes, and waypoints is critical for successful conversion without losing elevation data, timestamps, or navigation functionality.

KML to GPX conversion for Garmin Komoot and Strava showing tracks waypoints and elevation data preservation

KML vs GPX: Key Differences

Feature KML (Google Earth) GPX (GPS Standard)
Primary use Mapping, visualization Navigation, tracking
Styling Rich (colors, icons, 3D) Minimal (focus on data)
Coordinate order Longitude, Latitude, Elevation Latitude, Longitude (+ ele attribute)
Device support Google Earth, some drones Garmin, Wahoo, Strava, Komoot, AllTrails
File size Larger (styling data) Smaller (coordinates only)

Understanding GPX Structure: Tracks, Routes, and Waypoints

GPX supports three data types, each with different purposes:

1. Waypoints (<wpt>)

Single points of interest with coordinates and metadata.

<wpt lat="47.6062" lon="-122.3321">
  <ele>10</ele>
  <name>Pike Place Market</name>
  <desc>Famous public market</desc>
</wpt>

Use for: Parking spots, water sources, campsites, POIs

2. Tracks (<trk>)

Recorded paths with many points (your actual journey).

<trk>
  <name>Morning Run</name>
  <trkseg>
    <trkpt lat="47.6100" lon="-122.3400">
      <ele>50</ele>
      <time>2026-03-05T08:00:00Z</time>
    </trkpt>
    <trkpt lat="47.6105" lon="-122.3410">
      <ele>52</ele>
      <time>2026-03-05T08:01:30Z</time>
    </trkpt>
  </trkseg>
</trk>

Use for: Recorded activities (Strava uploads), past hikes

3. Routes (<rte>)

Planned paths with waypoints (navigation instructions).

<rte>
  <name>Commute to Work</name>
  <rtept lat="47.6062" lon="-122.3321">
    <name>Start - Home</name>
  </rtept>
  <rtept lat="47.6205" lon="-122.3493">
    <name>End - Office</name>
  </rtept>
</rte>

Use for: Turn-by-turn navigation, planned routes

Type Points Timestamps Best For
Waypoint Single Optional POIs, markers
Track Many (dense) Usually included Past activities (Strava)
Route Moderate (key points) Rarely included Navigation (Garmin, Komoot)

KML to GPX: What Gets Converted

KML Placemarks → GPX Waypoints

KML:
<Placemark>
  <name>Summit</name>
  <Point><coordinates>-122.3321,47.6062,1500</coordinates></Point>
</Placemark>

GPX:
<wpt lat="47.6062" lon="-122.3321">
  <ele>1500</ele>
  <name>Summit</name>
</wpt>

KML LineString → GPX Track

KML:
<LineString>
  <coordinates>
    -122.3321,47.6062,100
    -122.3330,47.6070,105
  </coordinates>
</LineString>

GPX:
<trk>
  <trkseg>
    <trkpt lat="47.6062" lon="-122.3321"><ele>100</ele></trkpt>
    <trkpt lat="47.6070" lon="-122.3330"><ele>105</ele></trkpt>
  </trkseg>
</trk>

Device-Specific Requirements

Garmin GPS Devices

Supported: Tracks, routes, waypoints

Best practices:

  • Routes: Use for turn-by-turn navigation (Garmin recalculates)
  • Tracks: Use for breadcrumb following (exact path)
  • Max points: 10,000 per track (older models have lower limits)
  • Elevation: Always include <ele> for accurate climb/descent

How to load on Garmin:

  1. Connect device via USB
  2. Copy GPX to Garmin/GPX/ folder
  3. Safely eject
  4. On device: Track Manager → Import

Komoot

Import support: Tracks or routes

Komoot specifics:

  • Snaps to roads/trails: Your GPX is a reference, Komoot recalculates
  • Surface type matters: Tag roads vs trails for bike routing
  • Elevation auto-corrected: Komoot uses its own elevation database

How to import:

  1. Open Komoot app or website
  2. Plan → Import GPX
  3. Choose "Keep original" vs "Let Komoot optimize"

Strava

Import support: Tracks only (with timestamps)

Strava requirements:

  • Timestamps required: Strava needs <time> for each point
  • Activity type: Detects based on speed (can override)
  • Elevation corrected: Strava auto-fixes elevation using its database

How to upload:

  1. Strava.com → + icon → Upload Activity
  2. Choose GPX file
  3. Set activity type if misdetected

⚠️ Important: If your KML doesn't have timestamps, Strava won't accept it. Use our converter to generate synthetic timestamps based on reasonable speed.

Common Conversion Errors & Fixes

Error 1: Coordinate Swap (Lat/Lon Reversed)

Symptom: GPX shows your route in the middle of the ocean or wrong continent.

Cause: KML uses (lon,lat,ele), GPX uses lat/lon attributes in reverse order.

Fix: Ensure converter swaps coordinates correctly:

KML: -122.3321,47.6062  (lon, lat)
GPX: lat="47.6062" lon="-122.3321"

Error 2: Missing Elevation Data

Symptom: Garmin/Komoot shows route but no climb/descent stats.

Cause: KML has 2D coordinates only:

<coordinates>-122.3321,47.6062</coordinates>  ← No elevation!

Fix options:

  • Option 1: Re-export from Google Earth with "Absolute" altitude mode
  • Option 2: Use elevation lookup service (SRTM, ASTER) to add elevations
  • Option 3: Let Garmin/Komoot auto-correct (less accurate)

Error 3: Too Many Points (File Too Large)

Symptom: Garmin rejects GPX or device freezes.

Cause: KML with thousands of points (e.g., detailed building outlines).

Fix: Simplify the track:

  • Reduce point density: Keep every Nth point (e.g., every 5th)
  • Douglas-Peucker algorithm: Smart simplification preserving shape
  • Target: <2,000 points for older Garmin devices, <10,000 for modern ones

Error 4: Folders/Nested Structure Lost

Symptom: KML had organized folders, GPX is a flat list.

Cause: GPX doesn't support nested folders like KML.

Fix: Use track/waypoint names to preserve organization:

KML folder: "Day 1 / Morning Hike"
GPX name: "Day 1 - Morning Hike"

Advanced: Preserving Metadata

What Can Transfer

  • Names: Track/waypoint names
  • Descriptions: Notes, details
  • Timestamps: If present in KML
  • Elevation: 3D coordinates

What Gets Lost

  • Styling: Colors, line width, icons
  • Images: Photos attached to placemarks
  • 3D models: Buildings, terrain overlays
  • Network links: Dynamic KML updates

Best Practices for Different Use Cases

Hiking/Backpacking

  1. Plan route in Google Earth (zoom in for accuracy)
  2. Export as KML with elevation
  3. Convert to GPX as a track (not route)
  4. Include waypoints for water, campsites
  5. Test on Garmin before trip

Cycling (Road)

  1. Create route in Google Maps
  2. Export directions as KML
  3. Convert to GPX as route (Komoot will optimize)
  4. Import to Komoot/Garmin for turn-by-turn

Trail Running

  1. Use AllTrails or similar for trail routes
  2. Export GPX directly (avoid KML middleman)
  3. Or: Draw in Google Earth → KML → GPX track

Tools and Converters

Use our KML to GPX Converter for:

  • ✅ Automatic coordinate swap (lon,lat → lat,lon)
  • ✅ Elevation preservation
  • ✅ Track simplification (optional)
  • ✅ Waypoint extraction
  • ✅ Synthetic timestamp generation (for Strava)
  • ✅ Device-specific optimization (Garmin, Komoot presets)

Alternative Tools

  • GPSBabel: Command-line tool (advanced users)
  • Garmin BaseCamp: Desktop app (Windows/Mac)
  • QGIS: Professional GIS software (overkill for simple conversion)

FAQ: KML to GPX Conversion

Can I convert GPX back to KML?

Yes! Use our GPX to KML Converter. Useful for viewing GPS tracks in Google Earth or adding styling.

Why does my Garmin not show the route?

Check: (1) File is in Garmin/GPX/ folder, (2) GPX is valid (use validator), (3) Coordinates are correct (lat/lon not swapped), (4) Device supports your track point count.

Related Articles

Can I merge multiple KML files into one GPX?

Yes. Convert each KML separately, then manually combine <trk> or <wpt> sections in a text editor, or use GPSBabel for batch processing.

How accurate is Google Earth elevation data?

Typically ±10-30m accuracy (varies by region). For critical applications (aviation, surveying), use LIDAR or GPS-measured elevations instead.

Does Strava require timestamps for every point?

Yes. If your KML doesn't have timestamps, our converter can generate them based on reasonable speed (e.g., 5 mph for hiking, 12 mph for cycling).

Related Converters

Conclusion

Converting KML to GPX is essential for using Google Earth routes on Garmin, Komoot, Strava, and other GPS devices. The key is understanding tracks vs routes, preserving elevation data, and ensuring coordinates are properly swapped. Our KML to GPX Converter handles all conversion nuances automatically, including device-specific optimizations, timestamp generation for Strava, and optional track simplification for older Garmin devices. Whether planning a hike, logging a cycling route, or sharing trails with friends, proper KML to GPX conversion ensures your navigation data works flawlessly across all platforms.

Written by

QuickConvert Team

Published

March 1, 2026

Related Articles