About FitLab

FitLab edits FIT activity files: it combines two recordings of the same ride into one workout, and crops, pauses, cuts and splices.

It runs entirely in your browser. There is no FitLab server, no account, and nothing is uploaded unless you press the button that uploads to intervals.icu. Files live in the tab while you edit them and are gone when you close it. It is a sibling of CritLab, CrossLab and RouteLab, and shares their settings and the intervals.icu key: connect in any one of them and FitLab has it.

Two files

The base file is the reference. The finished workout has its clock, its laps, its session, its device and everything else it carried. The second file is optional: it's where extra channels come from, or the other half of a ride to append.

Merge

The usual case: a head unit recorded GPS and heart rate, and something else (a phone app, a trainer, a watch, a second head unit) recorded power. Merge takes channels from the second file and writes them into the base file's samples, matched by timestamp.

Crop, pause, cut

Select a stretch by dragging across the chart, or type the times. Then:

Splice

Splice joins the second file onto the end of the base as one workout: one session, both files' laps, distance carrying on. The gap between them becomes a pause, or the second file can be moved to start a set number of seconds after the first ends. For a ride split in two by a flat battery or a head unit that crashed and started a new activity.

More

What's kept, and what's recalculated

FitLab reads every message in the file, including the ones it has no use for, and writes them all back: device information, HRV, developer fields, zones, Garmin's private messages. Edits change only what they have to.

Laps and the session are rebuilt from the samples after every edit: start and end times, elapsed and moving time, distance, average and maximum power, heart rate, cadence and speed, normalized power, work, and (when altitude changed) climbing. Totals FitLab can't recompute (training stress score, intensity factor, time in zones, training effect) are removed once the samples change, rather than left wrong. intervals.icu works them out again from the samples.

An untouched file is written back unchanged. Every file FitLab writes is checked in its tests by Garmin's own FIT SDK.

intervals.icu

With your API key connected, the sidebar lists your recent activities; pick any one as the base or the second file. FitLab asks for the original upload, which is exactly what the device wrote. If the original was a GPX or TCX, it uses intervals.icu's own FIT version of the activity, which may lack device details and developer fields. Activities that reached intervals.icu from Strava can't be downloaded through the API (Strava's terms); upload the original .fit to intervals.icu, or open it here directly.

Upload to intervals.icu adds the result as a new activity. If the original recordings are already there, intervals.icu may see it as a duplicate; delete the originals first to end up with one ride.

Privacy

The key is stored in this browser and sent only to intervals.icu, directly from your browser. Files are never sent anywhere except, when you ask, to intervals.icu.