A FIT file is a binary replacement for GPX and TCX text files containing GPS and fitness data (heart monitors, etc.). Mathematica reads GPX and TCX files and represents them as XML. I would like to have the same for FIT files.

  • $\begingroup$ Please provide a specification for the file format, otherwise it is a bit much to expect someone to write the format converter... $\endgroup$ Commented Dec 15, 2014 at 17:39
  • $\begingroup$ I am looking into the same topic. I just recently found: thisisant.com/resources/fit From what I understand it contains information/code that enables you to build your own .fit reader/writer. Some knowledge in in C/C++/C#/Java is probably needed. I have not yet pursued this any further. /RB $\endgroup$
    – user36637
    Commented Dec 30, 2015 at 16:34
  • $\begingroup$ I asked WRI about this earlier in the year but I don't recall if I heard back from them. There is a "FITS" file-type that can have the .fit file extension. I'm guessing this might be creating some backward compatibility issues with implementing the fitness data file-type since it has the same .fit file extension. It may even be using the same file specification. I never thought to try it. Give it a go and see if it imports with "FITS". $\endgroup$
    – Edmund
    Commented Dec 30, 2015 at 16:44
  • $\begingroup$ I tried in Mathematica 13.2.1 and it says "Import::infer: Cannot infer format of file 10545049211_ACTIVITY.fit" when I try without specifying the format. When using "FITS" format, it says "Import::fmterr: Cannot import data as FITS format." $\endgroup$
    – Jan Hubik
    Commented Feb 21, 2023 at 10:36


Browse other questions tagged or ask your own question.