Sign up ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Can you change which values are included and how they are formatted, when you download a report as a CSV file from Toggl?

I would like to get the duration of the different tasks in a format that numbers can understand as a duration value.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

No, it is not possible to change it when downloading. However, you can load it in a spreadsheet or script and change the format of the duration.

share|improve this answer

I wrote this Python script that fixes the CSV for my purposes, it may be a useful starting point for your needs:

#!/usr/bin/env python
import csv
import sys
import operator

r = csv.reader(sys.stdin)
for row in r:
        row[5] = "'%s" % row[5]
        row[6] = "'%s" % row[6]
        row[7] = "'%s" % row[7]

rows = [rows[0]] + sorted(

w = csv.writer(sys.stdout)
for row in rows:

The script may be useful for Excel users too, I have not checked.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.