About the GPX to KML Converter
This tool converts GPX text or files to KML directly in your browser. You can paste GPX XML or open a .gpx file, then copy the output or download a .kml file. The converter runs locally in your browser and does not upload any typed text or opened files to a server. Hikers, cyclists, map makers and GIS hobbyists use it to make KML files for Google Earth or Google My Maps. The tool is simple by design: no account, no server processing, and one-click copy of the KML output. That makes it fast on desktop or laptop browsers and safer for private tracks. Very large files depend on your device and browser memory, not a server limit.
How to use it
- 1Paste GPX XML into the text area or open a .gpx file.
- 2Choose KML as the output format.
- 3Click convert and then copy the KML with one click.
- 4Or click Download to save the .kml file.
Worked example
Input GPX (two track points): <gpx version="1.1"> <trk><name>Test</name><trkseg> <trkpt lat="51.5007" lon="-0.1246"><ele>15</ele></trkpt> <trkpt lat="51.5010" lon="-0.1250"><ele>18</ele></trkpt> </trkseg></trk> </gpx> Exact KML output snippet: <Placemark> <name>Test</name> <LineString> <coordinates>-0.1246,51.5007,15 -0.1250,51.5010,18</coordinates> </LineString> </Placemark>
How it works
Text tool that runs in the browserOptions: KMLOne click copies the outputVisitors can also open a file and download the resultNothing typed is uploadedSource: KML reference - Google DevelopersGPX format reference - GPX 1.1 schema. Last checked 7 November 2026.
What it is good for
- Runs entirely in your browser, no files uploaded
- Copy the KML output with one click
- Open a .gpx file and download a .kml file
- May not preserve per-point timestamps for Google Earth time playback (gx:Track).
- Very large files depend on your device and browser memory, not a server.
Questions people ask
Will elevation be preserved when I convert GPX to KML?
Most converters map GPX <ele> to KML altitude. This tool outputs altitude as the third coordinate in the KML coordinates list.
Are timestamps preserved for Google Earth time playback?
Many simple converters write plain LineString without per-point times. If you need gx:Track time playback, check for a tool option that explicitly writes gx:Track elements.
Is my GPX file uploaded to a server?
No. This tool runs in your browser and does not upload typed text or opened files to a server.
Should I use KML or KMZ?
KML is plain XML and editable. KMZ is a zipped KML and usually smaller. Use KMZ to save space or to include images and icons.
Can I import the KML into Google My Maps or Google Earth?
Yes. Google Earth opens KML and KMZ directly. Google My Maps accepts KML but often limits imports to about 5 MB unzipped and roughly 2,000 rows.
Will sensor data like heart rate be kept?
Sensor extensions do not map cleanly to KML. Some converters put extra data into ExtendedData, but many drop or ignore sensor-specific tags.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.