← Blog

How to export GPX, KML, and GeoJSON (and why you should)

· 4 min read · Updated

You spent time dropping pins, sketching routes, and building a map of places that matter to you. Exporting gives you an independent copy and a way to move supported data to another tool. In My Location, guest data is stored in your browser, while sign-in enables account sync. Neither replaces a backup you have checked. Here is how to choose a format and avoid losing important fields.

Saved places use GeoJSON or KML to retain extra supported place fields. A recorded track has a separate GPX export for available point times and elevation.
Saved-place transfers require Pro. A recorded track’s own GPX export is a separate action; a drawn route does not contain a recording’s time or elevation data. View full-size diagram ↗

Why export your map data?

  • Backup. Guest data can be lost if you clear site storage or change browsers. Signed-in sync helps across devices; an independent export gives you a separate recovery copy.
  • Move to another app or device. Maybe you want to navigate a route on a Garmin, explore your places in Google Earth, or hand a dataset to a colleague who uses QGIS. Export lets you take your work anywhere.
  • Own your data. Platforms shut down, add paywalls, or lock your places behind an account. A standard file format keeps your data readable by dozens of tools — not just one.

Which format should you pick?

The short answer depends on where the file is going. See GPX, KML, and GeoJSON explained for a deeper look at what each contains.

  • GPX — Best for GPS devices, fitness apps, and outdoor navigation. Check whether the destination accepts waypoints, routes or recorded tracks; supporting GPX does not mean supporting every kind of GPX data.
  • KML — Best for Google Earth and Google My Maps. Use it to visualize places in 3D terrain or share a styled map. It supports rich styling that GPX does not.
  • GeoJSON — Best for developers, web maps, and GIS software. Clean, modern, and trivial to parse in Leaflet, Mapbox, QGIS, or your own code.

For a My Location saved-place backup, choose GeoJSON or KML to retain supported fields such as categories, marker color and pinned status. GPX is useful for exchanging basic waypoints, but does not retain those extra place fields.

How to export from My Location

  • Open the map; your saved places and routes appear in the list.
  • Use the Export option. Saved-place import/export is a Pro feature; on the web you need a signed-in account with a recognized Pro entitlement. Pick GPX, KML or GeoJSON and the collection or places to include.
  • The export is prepared in the browser and downloaded, or offered through the device’s file-sharing sheet. Account sync, if enabled, is a separate network operation.

The information retained depends on the format and export action. Saved-place GPX keeps coordinates, names, descriptions and available saved timestamps. GeoJSON and KML preserve additional supported place fields. The general places/routes export writes drawn-route geometry. Use a recorded track’s own GPX export to preserve its available point times and elevation; that is separate from the Pro saved-place export.

How to import a file back in

  • Open the map.
  • With Pro, use Import and select a supported GPX, KML or GeoJSON file. Keep the original file until you have checked the result.
  • Review the imported places and lines on the map. GPX recorded-track import can retain available times and elevation; KML and GeoJSON lines are imported as routes, without a promise to retain track timing.

This also means you can bring in files from elsewhere — a GPX trail from a hiking site, a KML a friend sent, or a GeoJSON dataset you found online.

A simple backup habit

Export after adding an important batch of places and keep a dated copy somewhere separate from your browser. Open the file in the destination tool to verify the place count, names and route shape before deleting anything. A file containing your places or track can reveal sensitive locations, so share it deliberately.

Sign in with the same My Location account to sync supported content between the website and phone apps. Export/import is useful for an independent backup or a different app. Web-drawn routes can also appear in the native apps for viewing and GPX export; drawing and editing those routes remains on the website. See how to sketch a route.

Check what a conversion can lose

Converting a file does not guarantee a lossless round trip. The web importer reads points and lines, not every polygon, overlay or styling feature of the original format. GPX track segments are combined in file order, so check for apparent lines across recording gaps. KML/GeoJSON route import retains latitude and longitude, not full recorded-track metrics. Custom fields that the destination does not understand may be discarded.

Ready to export?

Your saved places are worth keeping. A single file download backs them up, moves them to any tool you choose, and makes sure they belong to you — not to a platform. Open the map, save a few places if you haven't already, and try an export.