Skip to content
DoItJag

GPX, KML and GeoJSON Converter

Move a route between apps that speak different GPS formats. Turn a GPX track from a watch into KML for Google Earth, a KML or KMZ from Google My Maps into GPX for a handheld GPS or navigation app, or any of them into GeoJSON for web maps and GIS software. The new file is read back and drawn before you download it.

or drop a file here · .gpx, .kml, .kmz, .tcx, .geojson · up to 50 MB

Processed on your device. Your files are not uploaded.

About the GPS file converter

Three formats cover most location data. GPX is what GPS units, watches and outdoor apps exchange. KML (and the zipped KMZ) belongs to Google Earth and Google My Maps. GeoJSON is the format of web maps, QGIS and most programming libraries. They describe the same things, points, lines and areas, in different ways, so moving a route between apps often needs a conversion.

When to use it

  • Planning a walk in Google My Maps and loading it onto a Garmin or a phone navigation app: KMZ to GPX.
  • Showing a recorded ride in Google Earth: GPX to KML.
  • Putting tracks or field boundaries on a website or into GIS software: anything to GeoJSON.

What is kept, and what is not

Coordinates are written with seven decimal places (about a centimetre) and heights to the centimetre. Names and descriptions travel with each feature. Two differences between the formats cannot be hidden, and the page says when they apply:

  1. Plain KML has no field for the time of each track point, so those times are dropped when you choose KML. Choose GPX or GeoJSON to keep them.
  2. GPX can describe points, routes and tracks but not filled areas. A polygon is therefore saved as a track that follows its outer edge; holes are left out.

Worked example

A My Maps export with one placemark called “Gate” and one field drawn as a polygon becomes a GPX with one waypoint named Gate and one track around the field. A warning above the preview explains that the field is now an outline.

Checking the result

The new file is parsed again in your browser, drawn, and summarised (tracks, total distance, points, shapes), and the first lines of its text are shown. If those numbers match the file you opened, the conversion carried everything across.

Good to know

  • Up to 50 MB per file. Styles and icons from KML are not carried into GPX.
  • To inspect a file’s tracks and elevation, try the GPX viewer.

How to use GPX, KML and GeoJSON Converter

  1. Choose a .gpx, .kml, .kmz, .tcx or .geojson file, or drop it on the box.
  2. Pick the format you want: GPX, KML or GeoJSON.
  3. Check the drawing and the start of the new file, read any notes about what could not be kept, then download.

Privacy: how it works

Your files are processed on your own device by your browser. They are not uploaded to any server.

Frequently asked questions

Is anything lost in the conversion?

Positions, elevations, names and descriptions are kept. The page tells you when something cannot be carried over: KML has no place for a time at every track point, and GPX cannot hold shapes, so a polygon becomes a track along its outline.

Can I convert a KMZ file?

Yes. A KMZ is a zipped KML. The KML inside is read; pictures and icons stored in the zip are not used.

Can it convert Garmin TCX files?

TCX files can be opened and saved as GPX, KML or GeoJSON. Heart rate and cadence are not written to the new file; position, elevation and time are.