GPX to FIT Converter (Garmin)

Convert a GPX track to a Garmin .fit activity file — entirely in your browser.

Free GPX to FIT converter. Reads GPX track points (latitude, longitude, elevation, time) and encodes a valid Garmin .fit activity file with correct semicircle coordinates, FIT timestamps and CRC. Importable to Garmin devices and Connect. GPS data never leaves your browser. It runs free in your browser on Gera Tools, with nothing uploaded.

Last updated Source: Gera Tools

How does GPX differ from FIT?

GPX is a plain-text XML format for sharing tracks and waypoints. FIT (Flexible and Interoperable Data Transfer) is Garmin's compact binary format used by their devices and Connect platform. Converting lets a track recorded elsewhere be imported as a Garmin activity.

A GPX to FIT converter lets you take a track recorded in any app that exports GPX and import it into the Garmin ecosystem, which speaks the binary FIT format. This tool builds a genuine FIT activity file in your browser — no upload — so your route and timing stay private while still being recognised by Garmin devices and Connect.

How it works

FIT is a binary protocol built from a header, a sequence of records, and a trailing CRC:

  1. File header (14 bytes): header size, protocol and profile version, the data-records length, the ASCII signature .FIT, and a CRC of the header itself.
  2. Definition messages describe the shape of the data messages that follow — which fields, their sizes and base types.
  3. Data messages carry the actual values. The converter writes a file_id message (type = activity) and one record message per GPX track point.
  4. Coordinates are stored as 32-bit signed semicircles: semicircles = round(degrees × 2^31 / 180). Timestamps are seconds since the FIT epoch (1989-12-31 00:00:00 UTC), and altitude uses FIT’s scale/offset ((metres + 500) × 5).
  5. A CRC-16 over the whole file (header + data) is appended using Garmin’s specified lookup-table algorithm.

The result is a byte-for-byte valid FIT file you can download and import.

Why FIT exists alongside GPX

GPX (GPS Exchange Format) was designed for portability and interoperability — it is plain-text XML that any application can read and write without a licence. FIT (Flexible and Interoperable Data Transfer) was designed by Garmin for embedded device efficiency — a compact binary that a watch with limited flash storage and CPU can write and read quickly without XML parsing overhead.

Garmin devices primarily record and store activities as FIT files. Garmin Connect, the cloud companion, accepts FIT file uploads. This means that if you recorded a route using another device or app (a smartphone running Strava, a Suunto device, an Openstreetmap-based GPX download from a hiking website), and you want it to appear in your Garmin Connect history or be importable onto a Garmin device, you need to convert it from GPX to FIT.

The reverse direction (FIT to GPX) is also common, typically when sharing a Garmin-recorded route with others who use non-Garmin systems.

What Garmin Connect does with an imported FIT file

When you upload the converted FIT file to Garmin Connect (via the Activities upload button), Connect reads the activity type, timestamp, track points, and altitude, then displays it as a completed activity in your history. The activity will show on your training calendar, contribute to weekly mileage totals, and be visible in the maps view. Heart rate, power, and cadence data are not present in a GPX-derived FIT file, so those metrics will show as empty for the imported activity.

Some Garmin devices also accept FIT files directly via the device file system (accessible when the device is plugged in via USB) — copy the file to the GARMIN/ACTIVITY/ folder on the device, and it will sync to Connect on the next connection.

Tips and notes

  • If your GPX track points lack timestamps, the converter synthesises a steadily increasing time so the activity still has a coherent timeline.
  • Elevation is optional; points without <ele> are written without an altitude value.
  • All track segments in the GPX are merged into a single record stream in document order.
  • The output is an activity FIT; it is intended for importing a completed track, not for live device recording.
  • Garmin Connect’s web uploader accepts FIT files directly at connect.garmin.com — look for the upload icon (cloud with arrow) in the top right navigation.