KML to GeoJSON
Convert KML placemarks and lines to GeoJSON for web maps and GIS tools. Nothing is uploaded to a server.
How it works
- 1Choose one or more GPS files.
- 2Pick the output format. The tool shows how many tracks, points and waypoints it found.
- 3Download the converted files, one at a time or as a ZIP.
Other conversions
About this tool
GeoJSON is the JSON format used by web maps and GIS software. Lines and points in the KML file become LineString and Point features with their names.
Convert GPS tracks from GPX, KML, TCX, GeoJSON or FIT to GPX, KML, GeoJSON or CSV without uploading the route. GPS apps and devices save routes and tracks in different formats. This tool reads the tracks and waypoints from one format and writes them in another. Elevation and timestamps are kept when the source has them.
Questions
How do I use KML to GeoJSON, and what should I check?
GeoJSON is the JSON format used by web maps and GIS software. Lines and points in the KML file become LineString and Point features with their names.
Are my GPS files uploaded?
No. The file is parsed and converted by code running in your browser tab, so your routes stay on your device.
Are elevation and time kept?
Yes, when the source has them. GPX and TCX tracks keep elevation and per-point times. KML and GeoJSON output keeps elevation, and CSV has columns for lat, lon, ele and time.
Can it read FIT files from my watch?
It reads the GPS records in a FIT activity file and writes them as one track. Heart rate, cadence and other sensor fields are not included in the output.
What is the difference between a track and a waypoint?
A track is a recorded line of points, such as a run or a ride. A waypoint is a single named point, such as a trailhead. In GeoJSON and KML, a track becomes a LineString, or a MultiLineString when it has several segments.
docshift is a collection of free PDF, image, video, audio and data tools. File processing runs in your browser; files are never uploaded.