Knowledge Base & Community Forums/Community Forums/Share Strava Tips and Tricks

Download all Garmin Connect Rides / Activities web application

Quan Tran
posted this on March 28, 2012, 5:04 PM

http://www.sideburn.org/garmin/

If anyone is interested, i wrote bare bone web application to download all your ride from your garmin connect account by just providing your login. It downloads all rides from garmin, zips them up then sends it to the browser. Process could take a while depending on how many rides it has to download. I've only tested with my account with about 300 rides and it seems fine.

I suggest changing your password temporarily for use on this web application to download your rides, then change it back after you're done if you really want to be cautious about your password.

3/1/2014 - updated to work with the garmin authentication change

Enjoy!

Quan

 

Comments latest first

User photo
Neal Wright HCC

Do you have a tool which would allow me to download multiple course? My CC has a shared connect account with over 100 routes which I'd like to download onto my Garmin.

March 22, 2015, 9:26 AM
User photo
Doug Smith

Seems like you have two links that point back to each other.

 

( https://www7224.ssldomain.com/sideburn/garmin/  )  has a link to this page:  ( https://strava.zendesk.com/entries/21214357-Download-all-Garmin-Connect-Rides-Activities-web-application )

which has a link to:  https://www7224.ssldomain.com/sideburn/garmin/    has a link to this page:  ( https://strava.zendesk.com/entries/21214357-Download-all-Garmin-Connect-Rides-Activities-web-applicationhttps://www7224.ssldomain.com/sideburn/garmin/   which  has a link to this page:  ( https://strava.zendesk.com/entries/21214357-Download-all-Garmin-Connect-Rides-Activities-web-application )https://www7224.ssldomain.com/sideburn/garmin/    which has a link to this page:  ( https://strava.zendesk.com/entries/21214357-Download-all-Garmin-Connect-Rides-Activities-web-application )

 

Is there some sort of webpage that does the work (if so I don't see it) . There doesn't seem to be a download or anything.

 

Help!!

 

February 24, 2015, 1:43 PM
User photo
Alan Crowe

Worked brilliantly for over 500 activities.  Backed up the zip file in a couple of places - done!!

January 7, 2015, 3:11 AM
User photo
Zagorsk (Mihai)

Simply, clever-helping-awesome!

November 27, 2014, 2:46 AM
User photo
Tim Bateson

Many thanks :)

November 20, 2014, 5:21 AM
User photo
Philip G.

This worked like a charm! You're the man!

October 6, 2014, 5:48 PM
User photo
Dan Joseph

Quan you are a life saver!  your program worked flawlessly!!!  Over 406 activities transferred - thank you thank you thank you!

September 25, 2014, 12:15 PM
User photo
Christer G.

Thank you so much

August 10, 2014, 4:35 AM
User photo
Jeromy Hiserote

For anyone interested in other syncing options.


I recently tried https://tapiriik.com/ after a friend referred me to it. Anyone that uses Garmin Connect, Strava, Endomondo or one of several other training program can sync your activity between them all. This site allows you to link them all together and automatically sync all events regardless of what service you happen to use from one day to the next.

I have been a long time Strava user and NEVER upload to Garmin anymore but this allowed me to update my Garmin Connect data with what I had been uploading to Strava.

Free service with a suggested $2.00/year donation.

August 5, 2014, 11:15 AM
User photo
Ben Morgan

So simple and easy -  great product! thank you. 

August 5, 2014, 8:45 AM
User photo
Carsten Jons

You Sir ... You are a Hero.

Just grabbed 403 activities from Garmin Connect, the worst part was Strava's 25 file upload limit, but still all done in half an hour.

Highly appreciated!

July 25, 2014, 9:04 AM
User photo
Raul Chaves

Many thanks! It works as you explained.

May 26, 2014, 5:45 AM
User photo
Quan Tran

I believe the larger the numbering of the filename is the more recent the activity if that helps.

April 28, 2014, 5:29 PM
User photo
John McCormick

Quan, is there a way to sort the downloaded information in some date order?  i would like to start with the most recent first, and work back in time.

April 27, 2014, 5:31 AM
User photo
Quan Tran

Think that's as fast as you can manually upload then via browser or email...

April 27, 2014, 5:01 AM
User photo
John McCormick

Quan,  do we know away around the limit of 25 transactions at a time for the upload?  i had over 1300 entries from Garmin and if there is an easy way to do the upload, I would welcome knowing it.

 

GREAT tool by the way, much appreciated.

April 26, 2014, 12:43 PM
User photo
Fyd All

so, can `t find windows 8 when it will be?)

April 25, 2014, 4:34 AM
User photo
J.P. Sulpizio

Excellent work. This is awesome. Thank you.

April 24, 2014, 10:38 PM
User photo
Quan Tran

log into your gamin account and page through the activity list, see if you get an error, if you so see an error then it's probably a corrupt activity. See if you can find it via the activity calendar, and either delete it or see if garmin support can help you with it.

April 7, 2014, 4:56 AM
User photo
Simon Benoit

Does not work for me...  It downloads up to 4,5% (300 activites) and then there is a message "Restarting process"...  it goes on and on like this for ever...

April 6, 2014, 2:23 PM
User photo
Andrew Thomas

Quan/All - ignore that last comment.  Just tried again using Chrome rather than i.e. and I now have the option....  life was so much easier when one browser worked for all applications : )

 

March 30, 2014, 3:26 PM
User photo
Andrew Thomas

Thanks Quan - worked a treat.  However, I thought there is an option for bulk upload to strava?  For me, I can still only upload a single file at a time?  I don't have the option to "click/hold shift and select multiple activities".  Mine just says "Works for single .tcx, .fit or .gpx files 25MB or smaller."

March 30, 2014, 3:16 PM
User photo
Quan Tran
Sunny, I'm Glad it's all sorted out. Thanks for explaining what happened.
March 29, 2014, 8:22 PM
User photo
Steven Davis

Hi all, I used this for my runs. Worked like a champ.

Thanks a million

March 29, 2014, 5:36 PM
User photo
Sunny _

Quan, I have finally worked out what has happened, and can gladly post that your software IS NOT the problem.

If you are interested this is what has happened - totally user error - but very subtle so it took me a while to figure out what was going on...

(grab a coffee)

Garmin account and Strava account both using email address "email_a"

Created a new garmin account using a different email address "email_b" to track my activities - as I have recently started with a coach and wanted a fresh account for this.

Came across Quan's software and wanted to bulk export from Garmin (email_b) so I could import in Strava (email_a)...exported fine, logged into strava (using email_a) and imported 61 files all fine.

Here's the mistake...totally forgot to login in with "email_b" in my Garmin connect and used "email_a" which of course has not been updated in a month so it looked like my activities had been deleted. Couldn't figure it out until today when I realised my mistake. Suffice it to say, my activities in Garmin "email_b" are intake and the bulk export had not done anything untoward.

Sorry for the few days of doubt, I hope you'll accept my apology.

Genuinely, your utility is a fine piece of work and has saved me, and many others the hassle of singly backing up our activities.

Regards

Sunny

March 29, 2014, 5:03 PM
User photo
Auden L. G.

Good response. Would like to know the true nature of the problem and whether the risk of data loss is real.

March 28, 2014, 12:43 PM
User photo
Sunny _
Quan, I agree with your comment, I went through numerous pages of feedback before using the utility. Coming from a technical background I always research before I dive in. That said, something went wrong, garmin, user error? Not sure but would be happy to share the zip file that your utility downloaded for me and my garmin account for you to view the current state of my activities. What's strange is that the swimming activities it backed up haven't retained any meaningful information as after the reimport of the backed up TCXs into connect and subsequently changing the activity type to Lap Swimming the information on pace/swolf/avg stroke rate etc has not been retained. It did retain the duration and date of the activity though.

Luckily I have all of my activities still on the device so at the weekend - when I have a bit more time, I can reimport to garmin connect and "undo" the mess I seem to find myself in.

Glad the majority of users have had a good experience as it's utilities like yours and others that make the administration of our sports data bearable.

Cheers

Sunny
March 27, 2014, 11:53 PM
User photo
Quan Tran

Interesting, with the thousands of exports, this is the first time I've heard about this. Possibly an issue on Garmin's end? User error?

With that, I'll let everyone else conclude for themselves where the problem most likely is on this one...

Thanks,

March 27, 2014, 7:47 PM
User photo
Sunny _

It worked BUT and this is a BIG BUT... it DELETED ALL of my activities from Garmin Connect so I have to individually import them back with a total loss of Titles, Notes etc...

Let's just say that will teach me to use software I haven't written myself!

thanks though! (i think)

March 27, 2014, 5:58 AM
User photo
Darren R.

Excellent...saved a heap of time, worked first time.....thanks!!

March 23, 2014, 12:59 AM
User photo
Will Fox

Worked great for me! I had to run  it twice, got an error message the first time, but ran it again and it worked perfectly.... Now to upload all these runs 25 at a time... 

March 19, 2014, 10:01 AM
User photo
Tracy Everson

Hi there, have just bought a new phone, it's a Samsung note 3, I haven't yet put strava on it as it's a bit big to run with. I have been using an iphone 4. To try to get around the problem I have bought a garmin forerunner 10 watch, and I am wondering if I can upload the runs recorded on it to Strava?

March 11, 2014, 11:46 PM
User photo
Quan Tran

Garmin changed their authentication process, the app as been updated. Should be working again, let me know if you're still having issues.

March 1, 2014, 9:26 AM
User photo
Quan Tran

I think Garmin has implemented some anti scrapping checks or may have just blocked my server's IP...  I'll take a look at this this weekend.

February 26, 2014, 7:47 AM
User photo
Sandy L

I'm getting the error

"JSON parsing failure at character 1:'R' in Request blocked. Exceeded requests/sec limit. 
Try Again"

I've tried a few times but still getting it.

February 26, 2014, 12:34 AM
User photo
Sudheer M.

Rocks!! Many thanks!

February 21, 2014, 5:03 PM
User photo
Quan Tran

give it another try if you haven't already, if it's still an issue, I may have update the code to throttle the downloads it seems.

February 3, 2014, 3:46 PM
User photo
Andrew M.

I'm getting this error:  JSON parsing failure at character 1:'R' in Request blocked. Exceeded requests/sec limit. 

Am I doing it wrong?

February 3, 2014, 7:30 AM
User photo
Dale Routledge

Brilliant tool. Thanks very much.

January 19, 2014, 5:06 AM
User photo
Nigel Abraham

Works a treat, Thanks

January 14, 2014, 11:48 AM
User photo
Courtney Payne

You, sir, are a scholar and gentleman. Thank you. =)

January 13, 2014, 12:44 PM
User photo
Martin Kilb

Excellent, couple of attempts as had a lot of data, but works! Ace and Thanks!

January 6, 2014, 3:30 PM
User photo
paolo menaspa

Excellent!! Thank you very much!

December 31, 2013, 7:49 PM
User photo
slide .

Thanks!  Saved a lot of time.  I got a 500 error first attempt but second worked.  Second the request to put the code on github and get some other contributers!

December 7, 2013, 9:56 PM
User photo
Jeff Reed

1913 activities downloaded!!!  Thanks!!

 

I really only needed 219 of them, a date range selection would have been awesome, but either way, a life saver!!!

December 5, 2013, 10:21 AM
User photo
Philip P.

Will this upload running activities too?

November 30, 2013, 5:55 PM
User photo
Quan Tran

give it another try, probably under load, it's shared hosting.

October 14, 2013, 3:20 PM
User photo
Auden L. G.

I get the following error when trying to get to the link:

"The service is unavailable.

Server Error


Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request."

October 12, 2013, 4:01 PM
User photo
Omry Sendik

Sweet !!! Work smoothly !!!

Big THANK YOU !!!

September 28, 2013, 12:47 PM
User photo
Evan Caldwell

Hi Quan, thanks for making such a useful tool. Have you considered sharing the code for this on Github so that others can contribute?

September 26, 2013, 10:34 AM
User photo
Quan Tran

nice! unzipped, that's probably around 1.5 gigs which the app had to download. Glad you finally got it and didn't give up.

September 23, 2013, 4:48 AM
User photo
Matias P.

OM freaking G. I had 1,385 Garmin activities and kept hitting the submit button over the course of the last 24 hours (probably hit it 8 times total) and BAM I just got the "would you like to download" and just finished downloading (94.6Mb!!!). Now to email to Strava! You are the man Quan. For anybody else having trouble, trust Quan and keep hitting the submit number and eventually you'll get it! It's like Christmas in September.

September 22, 2013, 5:12 PM
User photo
Jannie van Zyl

Quan, great utility - thanks very much.

Would it be possible to name the .tcx files with the date of the event, kinda like Garmin does? I'm using your tool basically to make a backup of my data and it'll be great to easily find a specific ride later on.

September 10, 2013, 7:59 AM
User photo
Mathew G.

Thanks for this solution.  Got them all off Garmin and into Strava.  Thanks

September 9, 2013, 10:22 AM
User photo
Quan Tran

Hey Sharon,

Send me a email at qtran@optonline.net, I'm curious to see what it is. Won't be surprised if there's a garmin bug.

September 4, 2013, 4:19 PM
User photo
Shanon Stallard

Hi Quan,

I seem to get this error: JSON parsing failure at character 1:'<' in

Can you help?

Thanks Shanon

September 4, 2013, 3:46 PM
User photo
T Elliott

It appears to have downloaded my activities, but I can only upload 25 at a time (strava issue).  I got a server error on the second batch of files (strava or user issue).  There is no way to verify what date you are uploading, but this seems like a nice tool for transferring the files.  I will upload them all when I have time, thanks!

August 25, 2013, 12:47 PM
User photo
Michael B.

Thanks, man. Great help!

August 24, 2013, 11:59 AM
User photo
Neil Henderson

Excellent web tool - saved a lot of time. Many thanks!

August 23, 2013, 11:00 AM
User photo
Asger Jensen

@ Oliver Sinclair

www.garminsync.com copies activities directly from garmin connect to strava

August 5, 2013, 5:19 PM
User photo
Asger Jensen

I have about 350 rides and it took a while, but worked great. Thanks

August 5, 2013, 5:17 PM
User photo
Dave Mace

Worked great!  Thanks for doing and explaining in non-geek language.

July 2, 2013, 3:24 PM
User photo
John Davis

Great work Quan Tran - worked a dream.

June 18, 2013, 6:11 AM
User photo
Oliver Sinclair
Brilliant. I have all 985 files zipped. Now the next problem - is there a way to avoid uploading to strava 25 at a time?
May 30, 2013, 12:52 PM
User photo
Quan Tran
hmm, for 1000 activities, i'd expect you need to run it 3-4 times for it to complete. Usually it can download from 200-400 activites before it times out depending on how big the files are. For now, If it's spinning more that 30 mins, resubmit the form, rinse and repeat. Note that i delete the files after 2 days, so if you don't get all your files with the 2 day time period from beginning to end, it has to basically redownload everything again from the start instead of resuming. This was because it was running out of space, some ppl had gig's worth of activities pre-zipped. I have coded a multithreaded version which seemed a bit faster. I'll probably make that version available in a few days. I'm also thinking of a simple way to view the status of the downloads when i have some free time to think/code it.
May 30, 2013, 11:49 AM
User photo
Oliver Sinclair
First of all: thanks for this. A quick question - How long would you expect about 1000 activities to take? It's been going for over an hour now.
May 30, 2013, 10:43 AM
User photo
Jonas Oppedal

This grabbed all my Garmin files in 10-15 min. Bulk export successful! : ) Thanks so much for creating and sharing the script Quan!

May 29, 2013, 8:11 AM
User photo
Adam Danforth

Hot damn, that works well. No whistles and just what you need. Thanks!

May 28, 2013, 2:31 PM
User photo
Steve Welter

Awesome!  Thanks iMac OS 10.8.3 no problem using Firefox 21.0

May 26, 2013, 7:50 AM
User photo
Atilla Papp

Just downloded 580 activities.... zip size: 44MBs..Much appreciated!

May 22, 2013, 4:02 PM
User photo
Lars Henning

Nice work! Any chance you could post the source code for reference? I would like to setup some scripts to download my most recent tracks and add to on overlay on a different map on my blog. Obviously, I would need to make some changes to the code. Is it written in PHP or something else?

May 22, 2013, 7:59 AM
User photo
Jeromy Hiserote

Thank you very much. Worked like a champ.

May 21, 2013, 8:44 AM
User photo
Steve Grace

Excellent tool - many thanks

May 1, 2013, 2:12 PM
User photo
Brooke Eplee

This is amazing - thank you Quan!

April 25, 2013, 7:37 AM
User photo
Ryan Ressler

This might be a bit off topic but thought it might relate to some of the content here.


I used Quan's import tool (hooray!) to get all of my previous activities from GC to Strava and now I'm using Garmin Sync to automagically pull my GC activities directly into Strava - shortly after I've posted them.  So far, it's worked great.

 

http://www.garminsync.com/

 

Thanks again, Quan!

April 22, 2013, 7:22 AM
User photo
Alex Gilles

Thanks a ton, Quan ! For some reason it did not work from my personal Mac (OS 10.5.8) although I kept trying all night. This morning it worked literally instantly from my work Mac (OS 10.6.8).

April 22, 2013, 7:18 AM
User photo
Matthew Haley

Thanks, Quan!  Much appreciated.

March 29, 2013, 11:55 AM
User photo
Brian Jeffrey

Great!  Uploaded 500 files.  Worked perfectly - thank you, Quan for sharing this!

March 28, 2013, 5:03 PM
User photo
Steve Guiver

Great job.  Well done

March 16, 2013, 12:43 PM
User photo
Quan Tran

hah, the usage on this app has exeeded my expectations, I'm just glad to help.

March 14, 2013, 1:42 PM
User photo
Manesh K.

Quan Tran.....you the man!!!

yeeeee haaaa

You need a paypal account £1 a time easy beer money!!

March 8, 2013, 1:12 PM
User photo
Roly Chuter

Just downloaded 1307 files! Now to get them uploaded to Strava.....

February 22, 2013, 4:07 AM
User photo
Dylan Hubble

Works, why does Strava not buy it ! Job done

February 11, 2013, 3:04 AM
User photo
Todd Harris

510 activities downloaded in about 10 minutes....   then emailed to upload@strava.com for them to upload in bulk.  Easy...

February 5, 2013, 12:49 PM
User photo
Martyn Bolt

might it be useful to have a progress bar for download or activity so users can see it working?  I just got the 'egg timer' 

February 4, 2013, 12:35 AM
User photo
Ryan Ressler

Worked great. How the process worked for me using Chrome browser on my Mac:

1. Gave GC credentials http://www.sideburn.org/garmin/

2. Waited .  .  . I had approximately 350+ files to DL. It took approximately 5 - 10 minutes.

3. Ended up with an allrides.zip file on my desktop

4. Unzipped file

5. Began uploading to Strava in batches of 25.  

It took a while - manually selecting chunks of 25 and tracking all of them - but I'm glad my data is now secure on another platform.

 

Thanks Quan!

January 28, 2013, 12:01 PM
User photo
Eric Johnson

is there an easy way to bulk import more than 25 rides?  my zip file has hundreds of rides.

January 26, 2013, 12:59 PM
User photo
Chris Minehan

ahh, it did it, disregard, thanks,

January 12, 2013, 12:55 AM
User photo
Chris Minehan

ahh, it did it, disregard, thanks,

January 11, 2013, 11:53 PM
User photo
Chris Minehan

Where does it down load the activities to on my pc?

January 11, 2013, 10:37 PM
User photo
Marcus Le Count

Excellent, works fantastically. Thank you

January 10, 2013, 9:16 PM
User photo
Paul Semmens

Excellent work, thanks!!

January 10, 2013, 2:14 PM
User photo
Dave Compton

Very helpful, and does exactly what it says. Many, many thanks.

January 8, 2013, 10:09 AM
User photo
Jonathan Lee

What an excellent script, thank you very much for sharing this. Note; after nothing happened the first 2 times, I did have to hold the CTRL key down whilst selecting the Submit button, either this was coincidence that it worked 3rd time, or it is required to allow the script to run with my level of IE security, you may also need to do this.

January 5, 2013, 3:17 PM
User photo
Scott Morris

Ok..back to help request. Opening them directly into GE only allows one to be viewed at a time. A batch conversion to kml/kmz file would be great for viewing all rides in one location. Anybody have a suggestion?

January 4, 2013, 8:38 AM
User photo
Scott Morris

I was able to open the tcx files directly in GE. I got some data I didn't want/need (just wanted to map the tracks) but it worked fine. Thanks again.

January 4, 2013, 8:12 AM
User photo
Scott Morris

Great tool Quan. Now help with this...really want to get all the maps onto Google Earth at one time. I can convert one at a time to KMZ/KML using gpsvisualizer.com. What I need is a way to batch convert. Thoughts?

January 4, 2013, 8:00 AM
User photo
Loopy Lye (41)

Nice one Quan, worked as described, first time on my imac. Saved me hours of repetitive copying. Thank you very much for sharing. You are a STAR.

January 3, 2013, 1:54 AM
User photo
Sean Philyaw

Mr. Tran is the Man!  Great bit of code. Thanks!

January 1, 2013, 9:51 AM
User photo
Al Head

Awesome- Strava only lets me upload 25 at a time, which is kind of a pain, but this made the download part MUCH better.  Thanks!

December 31, 2012, 12:38 PM