MapTools
file convertersConverterFree · No signup

KML to GPX GPS Exchange Format Converter

Convert Google Earth KML routes and placemarks into standard GPX format compatible with Garmin, Strava, and handheld GPS units.

From:
To:
Input (CSV)Paste or edit code
Output Result (GEOJSON)

Runs entirely in your browser — your inputs never leave this page.

How this tool works

  1. 1

    Extracts coordinates from KML paths and waypoints.

  2. 2

    Re-encodes them into standardized GPX 1.1 <trk> (track) or <rte> (route) XML structures.

  3. 3

    Preserves elevation coordinates when present in the original KML data.

Common uses

  • Loading paths designed in Google Earth onto Garmin handheld GPS devices.
  • Transferring route ideas into cycling GPS bike computers.
  • Marine route planning from satellite imagery into onboard chartplotters.

Frequently asked questions

Yes, the generated GPX files adhere strictly to the GPX 1.1 schema and are accepted by all major fitness platforms.

More in File Converters

View all →
Worked example

Loading a Google Earth Route onto a Garmin for a Blue Ridge Ride

A motorcyclist in North Carolina plans a Sunday loop in Google Earth, tracing the back roads west of Asheville with the path tool and dropping pins on two overlooks, a fuel station, and a lunch diner. The finished plan is a 68-mile KML file, but his Garmin GPS unit cannot read KML, so he runs it through the converter to get GPX.

The converter turns the drawn path into a GPX route and each placemark into a waypoint. The four waypoints keep their names, and the fuel pin matters most: it sits at roughly mile 40 of the loop, which is the sensible place to top up before the emptier stretch along the ridge. He renames the waypoints to short labels like FUEL and DINER, because long names get cut off on a small GPS screen.

One thing he checks before the ride is point count. A hand-drawn Google Earth path can contain thousands of points, and some handheld units simplify routes they load. The converted file shows the route holding its shape through the switchbacks, so he loads it as-is; for a longer multi-day trip, he would split the GPX into one file per day to stay well inside device limits.

Before the ride he does one last check with the file loaded on the device itself. The Garmin's route summary reads back 68.4 miles and four waypoints in the order he planned them, and scrolling the map page shows the line hugging the ridge road instead of shortcutting down the valley, which is the mistake a car-style recalculation would happily make. He sets the unit to follow the loaded route as drawn, so it guides along his line rather than inventing its own.

He also learns the difference between the two things GPX can hold. The converted path can ride along as a route, which the device announces turn by turn, or as a track, a fixed breadcrumb line that never recalculates. For a scenic loop planned to the exact road, he keeps a copy of each: the route for guidance, the track as a silent backup that always shows where the plan meant to go.

The finished GPX is small enough to share in seconds, about 180 kilobytes, and it is not loyal to one brand of device. The same file uploads to his riding app for the post-ride map, and a friend with a different GPS brand loads the identical route for the following weekend. By the end of the season the Asheville loop has become the club's standard Sunday ride, and every new member gets the file with the membership email. One evening of drawing in Google Earth turned into a permanent piece of club infrastructure, all because the conversion took less than a minute.

On the road the plan survives contact with reality. The GPS follows the converted route turn by turn, the overlooks arrive in the right order, and the fuel stop lands where the map said it would. Back home, he saves the GPX next to the original KML, so the same loop can go straight onto a friend's device without anyone redrawing it.

Common mistakes to avoid

  • Converting the wrong KML content. A KML holding only a photo overlay or a shaded polygon has no path to convert. Your route must be drawn as a line or path for a GPX route to come out.
  • Losing colors and icons. GPX carries position and name, not KML styling. Every waypoint looks the same on the device, so use clear short names to tell stops apart.
  • One giant file for a long trip. Stuffing a week of riding into a single GPX can hit device route limits. Converting day by day keeps each file small and easy to manage.

Pro tips

  • Draw your route as a path in Google Earth, not just a set of placemarks.
  • Shorten waypoint names before converting so they fit the GPS screen.
  • Preview the loaded route on the device itself before you set off.
Geospatial Engineering Reference & Field Manual

GIS Files & Interoperability: Speaking Every Map Format

GeoJSON, KML, GPX, Shapefiles — what each format is for, how to convert between them without losing data, and how to fix the files that refuse to open. Written for KML to GPX GPS Exchange Format Converter and the everyday mapping tasks around it.

1

Vector vs. Raster: The Two Tribes

Every map file belongs to one of two families. Vector formats store geometry as math: points with coordinates, lines as point sequences, polygons as closed rings. They scale forever, stay tiny, and carry attributes like names and populations. GeoJSON, KML, and Shapefiles are all vector.

Raster formats store grids of cells, like digital photos. Satellite imagery, scanned paper maps, and elevation models are raster. They capture continuous reality beautifully but balloon in size and pixelate when zoomed. GeoTIFF is the GIS world's raster workhorse.

Choose vector when your data is discrete things — stores, boundaries, routes. Choose raster when it is continuous — imagery, terrain, temperature surfaces. Converting vector to raster is easy (just draw it); going the other way needs tracing, by hand or with image-processing algorithms.

2

GeoJSON: The Web's Native Tongue

GeoJSON is a map format written as JSON, the same notation web developers use for data. A point looks like this — readable by humans and parseable by every browser with zero libraries. That simplicity made it the default for web maps.

{"type": "Point", "coordinates": [-74.006, 40.7128]}

Its structure is small but complete: Feature objects pair geometry with a properties dictionary, and FeatureCollections bundle many features into one file. The properties can hold anything — names, dates, measurements — which makes GeoJSON a fine carrier for analysis results, not just shapes.

GeoJSON has quirks to respect. Coordinates are always longitude-first, which trips up everyone once. It officially supports only the WGS84 datum, so reproject anything else before exporting. And it has no built-in styling — colors and icons live in a separate layer of your application, not in the file.

For big data, look at its cousins: newline-delimited GeoJSON streams features one per line for huge datasets, and FlatGeobuf packs the same model into a fast binary format. But for files under a few megabytes, plain GeoJSON remains unbeatable for simplicity.

This page shows the first two chapters. Read the complete this category field guide →