Skip to content

Free online TRK to KML converter

Convert GPS tracks from TRK to KML for Google Earth and GIS applications.

Convert TRK to KML online - free

Uploading…

Your file is processed automatically and deleted right after you download the result, or after 3 hours at the latest.

How it works

  1. 1/3

    Upload your .trk file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .trk to .kml conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .kml file

    Conversion result is ready to download.

Conversion statistics: TRK to KML

TRK files are most often converted to GPX 99% KML 1%

Most common problem with uploaded files: This CompeGPS file uses UTM coordinates or a map datum other than WGS 84. Save it again in CompeGPS or TwoNav with latitude/longitude on WGS 84 and try again.

Updated December 1, 2026, from conversions on 101convert.com

How to convert trk to kml file

Google Earth and many GIS applications require KML to display GPS tracks, while navigation devices may export them as TRK files. Converting the file makes a recorded route easier to inspect, share, and edit without the software that created it.

What the TRK format is

.trk is a filename extension used by several GPS applications, not one universal specification. In the navigation and GIS context, it commonly identifies the binary track format used by CompeGPS Land and TwoNav. A track stores an ordered series of positions and may also contain elevation, timestamps, speed, names, and other application-specific metadata.

TRK files can be copied from a TwoNav device, exported from CompeGPS Land, or received from another user of that software. Because unrelated GPS programs can also use the .trk extension, identify the creating application before conversion. Renaming input.trk to input.kml changes only the filename; it does not convert the data.

What the KML format is

KML is an XML-based geographic format supported by Google Earth, Google Earth Pro, and many mapping and GIS applications. It can represent points, paths, polygons, labels, descriptions, icons, and basic display styles with geographic coordinates.

A converted track normally appears as a line that can be displayed over satellite imagery or a map. Waypoints can also be exported when the source file contains them and the conversion tool supports them. KML coordinates use the WGS 84 geographic coordinate system; altitude behavior depends on the exported altitude mode and the receiving program.

How to convert TRK to KML

Using 101convert.com

  1. Open the TRK-to-KML converter on 101convert.com. It can convert the file for free without installing software.
  2. Select the source .trk file.
  3. Start the conversion and download the resulting .kml file.
  4. Open the KML in Google Earth or import it into the target GIS application. Check the route position, point order, and elevation before discarding the source file.

Using GPSBabel on a computer

GPSBabel supports the CompeGPS TRK format as an input and KML as an output. After installing the current desktop version, run this command in a terminal:

gpsbabel -i compegps -f input.trk -o kml -F output.kml

Replace input.trk and output.kml with the required filenames. The graphical interface provides the same operation: choose the CompeGPS input format, add the TRK file, choose KML as the output format, specify a destination, and start the conversion.

If GPSBabel rejects the file

The file may use a different TRK dialect, be damaged, or have a misleading extension. Open it in the application or device software that created it and use File → Export to save it as GPX. Then convert the GPX file with:

gpsbabel -i gpx -f exported.gpx -o kml -F output.kml

GPX is usually a better interchange format because its track, route, waypoint, elevation, and timestamp structures are standardized across GPS applications.

Quality and compatibility limitations

  • Metadata can be lost. The geographic path is usually retained, but unsupported timestamps, elevation, speed, names, descriptions, styles, or waypoints may be omitted.
  • KML output may contain only a simple line. Time-aware KML tracks require the Google-specific gx:Track extension, so a converted file may not work with Google Earth's time slider even when its coordinates are correct.
  • Datum and altitude settings can change the displayed result. Confirm that the source uses the expected datum and that elevations represent the intended reference, such as ellipsoidal height or height above mean sea level.
  • Very dense tracks can produce large KML files. Simplifying the track reduces size and rendering time but removes points and detail; keep the original TRK or GPX file as the archival copy.
  • .kmz is a compressed KML package that can reduce storage size, but use it only when the receiving application supports KMZ. Plain KML is easier to inspect and process as XML.

TRK vs KML: format comparison

How the TRK and KML formats compare on the properties that matter most for this conversion.

Comparison of the TRK and KML file formats
Property .TRK CompeGPS track file .KML Keyhole Markup Language
Data model Vector Vector
Attribute table Yes Yes
Coordinate system Embedded in the file Separate file
Plain-text readable Yes Yes
Operating system support Limited Wide
Typical file size Small Small
Open standard No Yes
Introduced — 2008
Developer CompeGPS (TwoNav) Open Geospatial Consortium
MIME type — application/vnd.google-earth.kml+xml

Information about file extensions and file types is provided by File-Extensions.org

Frequently asked questions

Is the TRK to KML converter free?

Yes, converting TRK to KML on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my TRK file be?

You can upload TRK files up to 10 MB and convert up to 3 files at once in a single batch. With a paid plan the limit is up to 50 MB per file and 20 files at once, see our plans.

What happens to my uploaded files?

Files are processed automatically. Your upload is deleted from our servers right after you download the result, or after 3 hours at the latest. We never view or share your files.

Do I need to install any software to convert TRK to KML?

No. The TRK to KML conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid TRK file for this TRK to KML conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Will my TRK elevation and timestamps be preserved in KML?

The track coordinates are the most reliably preserved, while elevation and timestamps depend on the particular TRK variant and the conversion settings. Some KML viewers may also ignore time data even when it is included.

Does converting TRK to KML keep my waypoints and routes?

Only if the source TRK contains those elements and the conversion supports them. Track lines are the main data transferred; extra metadata, route details, or custom styles may be omitted.

Why is my converted KML empty or missing the track?

This usually happens when the TRK file uses a variant that is not recognized or contains no valid coordinate points. An invalid coordinate system or damaged track data can also prevent the line from being placed on the map.

Will a TRK to KML conversion change the track location or accuracy?

Valid track coordinates normally remain at the same locations, but coordinate-system or datum differences can shift the result. KML generally uses geographic latitude and longitude, so the source coordinates must be interpreted correctly.

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.