FIT file format

A FIT file is a compact binary file for data from sport, fitness and health devices, such as a recorded run or ride with its GPS positions, heart rate, power and laps. Garmin designed the format and publishes it with a free SDK.

Full name
Flexible and Interoperable Data Transfer
Extension
.fit
Type
Binary
Maintained by
Garmin, with a free SDK

TrackLoupe does not open FIT files yet. The tools page lists what it opens today.

What a FIT file can store

DataFIT
Recorded tracksYes
More than one trackNo
Track segmentsYes
Planned routesYesCourse files
WaypointsYesCourse points
File name and titleNo
DescriptionNo
AuthorNo
Creation timeYes
LinksNo
Track namesNo
Activity typeYesSport
ElevationYes
TimestampsYes
Heart rateYes
CadenceYes
PowerYes
TemperatureYes
SpeedYes

This table comes from the code of TrackLoupe, and the notes say how each field is stored. The converters use the same table to tell you what a conversion keeps and what it loses.

Why FIT is binary

FIT stores numbers as raw bytes instead of text. A recording with a sample every second stays small, which matters on a watch with little memory, and the device writes it quickly. A text editor cannot read it, so you need a program that knows the format.

What is inside a FIT file

A FIT file starts with a header of 12 or 14 bytes that contains the text .FIT. Messages follow the header, and a 2-byte checksum (CRC) closes the file.

Two details surprise people who decode FIT by hand:

Garmin’s free FIT SDK includes FitCSVTool, a command line program that turns a FIT file into readable CSV text.

Activities, courses and workouts

FIT stores more than recordings. A course file holds a planned route with course points, such as turns, and a workout file holds the steps of a training session. These files open on a device for navigation or training, and they are not activities. Strava, for example, refuses course files with a “Not an Activity” error.

How to open a FIT file

TrackLoupe does not open FIT files yet.

FIT or GPX?

A FIT file keeps the full recording of the device: laps, sessions, power, temperature and the details of the sensors. GPX is text and opens almost everywhere, but it carries sensor data only through extensions and has no laps. Keep the FIT file as your original, and export a GPX when an app or a map needs one.

Questions

What does FIT stand for?

Flexible and Interoperable Data Transfer.

Can I open a FIT file in a text editor?

A text editor shows unreadable characters, because FIT is binary. A program that decodes FIT, such as FitCSVTool, turns it into text.

How do I open a FIT file?

Upload it to a service that reads FIT, such as Strava, or convert it to CSV with Garmin’s FitCSVTool. TrackLoupe does not open FIT files yet.

Why does my FIT file have no map?

The activity probably had no GPS, such as a treadmill run or a ride on an indoor trainer. The file still holds the time, the heart rate and the other sensor data.