GPX ⇄ KML CONVERTER

Convert, merge & split GPS routes with live satellite map preview

CLIENT
100% client-side

Everything runs locally in your browser. Your data never leaves your device - no uploads, no servers, no data transmission.

All processing happens directly on your machine using JavaScript. Close the tab and all GPS data is gone.

INPUT
OUTPUT
ROUTE

Conversion mode

Drop files here or click to browse

GPX

Converted files will appear here

Route preview

0 FILES
0 km / 0 mi DISTANCE
0 POINTS
0 WAYPOINTS

How to convert GPS routes

Convert, merge, and split GPS routes in 4 simple steps

Full Documentation Docs
1

Select mode

Choose conversion mode: GPX to KML, KML to GPX, Merge Routes, or Split Route.
 

2

Upload files

Drag & drop GPX, KML, or KMZ files. See instant satellite map preview with distance tracking.

3

Convert routes

Click Convert to process files. All waypoints, tracks, and distance data are preserved.
 

4

Download results

Get converted files with statistics. Download individually or as ZIP for batch conversions.

KMZ file support
Satellite map preview
Distance in km & mi
Merge & split routes

Why choose this converter?

4 conversion modes, satellite map preview, distance in km and mi

KMZ support

Full support for compressed KMZ files from Google Earth. Automatically extracts and converts KML content.

Satellite map preview

Live route preview with 3 map layers: Satellite, Street Map, and Topographic. Fullscreen mode available.

Distance tracking

Real-time distance calculation in kilometers and miles using GPS coordinates. See total route length instantly.

Merge & split routes

Combine multiple GPS tracks into one or split a route into separate segments. Perfect for multi-day trips.

Waypoint preservation

All waypoints, POIs, track points, elevation data, and metadata are perfectly preserved during conversion.

4 conversion modes

Convert GPX↔KML, merge multiple routes into one, or split routes into segments. Each mode remembers its own files separately.

Frequently Asked Questions

Everything about GPX, KML, and KMZ conversion

What is the difference between GPX, KML, and KMZ?

GPX (GPS Exchange Format) is designed for GPS devices and outdoor activities like hiking and cycling. It's the standard format for Garmin, Suunto, and fitness apps like Strava. KML (Keyhole Markup Language) is used by Google Earth and Google Maps for displaying geographic data. KMZ is a compressed (ZIP) version of KML that saves space and can include additional files like images. The converter automatically handles all three formats.

Can I convert KMZ files from Google Earth?

Yes! The converter has full KMZ support. Simply upload your KMZ file (exported from Google Earth or other mapping tools), and the converter will automatically extract the KML content, convert it to GPX if needed, and preserve all waypoints and routes. The process is completely automatic.

How do I merge multiple GPS routes?

Select the "Merge Routes" mode at the top, then upload multiple GPX, KML, or KMZ files. Click Convert, and the tool will combine all routes into a single output file. You'll get both GPX and KML versions of the merged route. This is perfect for combining multi-day hiking trips or connecting route segments.

Does the converter calculate route distance?

Yes! The converter automatically calculates total distance from your GPS track points using the Haversine formula (accurate for Earth's curvature). Distance is displayed in both kilometers and miles in real-time as you upload files. You'll see the distance both in the statistics bar below the map and in the conversion analytics.

Does the converter preserve waypoints and track points?

Absolutely! All waypoints, track points, routes, elevation data, timestamps, and metadata are perfectly preserved during conversion between GPX, KML, and KMZ formats. The converter also counts and displays the total number of waypoints and track points automatically, so you can verify everything transferred correctly.

Is my GPS data safe and private?

Yes, 100% private! All conversion happens locally in your browser using JavaScript. No data is uploaded to any server, and your GPS routes, waypoints, and location data never leave your device.

Which GPS devices and apps are supported?

Any device or app that exports standard GPX, KML, or KMZ files. This includes GPS watches like Garmin, Suunto, Polar, Wahoo, and Coros. Smartphone apps like Strava, Komoot, AllTrails, Gaia GPS, OsmAnd, MapMyRun, and Ride with GPS. Mapping software like Google Earth, QGIS, ArcGIS, and Garmin BaseCamp. Bike computers like Garmin Edge, Wahoo ELEMNT, and Hammerhead Karoo.

Can I preview my route on a map before converting?

Yes! The converter includes an interactive map with 3 layer options: Satellite imagery (default), Street Map, and Topographic. Your routes are displayed in real-time with colored lines and waypoint markers as soon as you upload files. Click the fullscreen button for a larger view, and use the "Fit all routes" button to zoom perfectly to your tracks.

How do I split a GPS route into segments?

Select the "Split Route" mode, upload a single GPX, KML, or KMZ file with multiple tracks or segments, then click Convert. The tool will separate each track into individual GPX files. This is useful for extracting specific sections from a long route or separating out-and-back segments.

Can I convert multiple files at once?

Yes! You can upload and convert multiple files simultaneously using batch processing. Simply drag & drop or select multiple GPX, KML, or KMZ files. Each file is converted individually, and you can download all results at once as a ZIP archive or download each file separately.

Technical Details

How the GPX to KML converter processes route data

Format Specifications

This GPX to KML converter parses GPS Exchange Format (GPX 1.1) and Keyhole Markup Language (KML) using standards-compliant XML parsing. GPX stores waypoints, tracks, and routes with elevation, timestamps, and metadata. KML supports placemarks, paths, polygons, and styling data for Google Earth compatibility.

KMZ Compression

The KML to GPX converter handles KMZ files (compressed KML archives) using JSZip for client-side ZIP extraction and creation. KMZ files contain a doc.kml entry plus optional overlays, icons, and 3D models. Conversion preserves all coordinate data, timestamps, and track segments during format transformation.

Route Processing

The GPX KML converter online supports multi-track files, route merging, and segment splitting. Full coordinate precision preserved from source files. Elevation data and timestamps retained during format transformation. Batch processing handles multiple files with parallel conversion and ZIP export.

Client-side Processing

All GPX and KML conversion runs entirely in your browser using the Web File API and DOMParser. No files are uploaded to any server - your GPS data stays private. The converter processes files up to 10MB per file and supports drag-and-drop input for quick multi-file workflows.

Distance Calculation

Route distance computed using the Haversine formula, accounting for Earth's curvature across all track points. Results displayed simultaneously in kilometers and miles. Track point interpolation ensures accurate total distance even for sparse GPS recordings.

Map Visualization

Interactive Leaflet.js map with 3 tile layers: Satellite imagery, Street Map (OpenStreetMap), and Topographic. Routes rendered with colored polylines and waypoint markers. Fullscreen mode available for detailed route inspection with auto-fit zoom.