4/2/2015 - 11:22 AM

Download all activities from (as .gpx)

Download all activities from (as .gpx)

Download all activities from Runtastic :runner:

With this script you can download all your activities from in .gpx format. Runtastic removed this feature wich makes it very difficult to change your tracking service, thanks for that.

:exclamation: Only tested in Google Chrome 41.0+

How does it work

Login to your runtastic account and go to the page where all your activities are listed. Then open the developer tools of Chrome with CMD + OPTION + I and go to the console tab. Now copy and paste the following script in the console line and press enter. The usually content should disapear and the downloads should start. I used it to export around 290 activities and it worked fine.

$.each(index_data,function(i, value)
    var id = value[0],
        url = 'https://' + app_config.domain+user.run_sessions_path+value[0] + '.gpx',
        filename = 'RUNTASTIC-' + value[1] + '-' + value[0] + '.gpx';

        url: 'https://' + app_config.domain + user.run_sessions_path + id + '.gpx',
        success: function(data, textStatus, jqXHR)
            if(textStatus == 'success')
                $('<a/>', {
                    'href' : 'data:text/plain;charset=utf-8,' + encodeURIComponent(jqXHR.responseText),
                    'download' : filename,
                    'id' : id
                .before(i + '. Downloaded: ')

                $('#' + id)[0].click();
        dataType: 'xml',
        beforeSend: function(xhr){
            xhr.setRequestHeader('X-Requested-With', ' ');