Knowledge Base/Community Forums/Ask the Strava Community


Download all Garmin Connect Rides / Activities web application

Quan Tran
asked this on March 28, 2012 05:04 PM

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





User photo
Aiken S.

When I downloaded a group of previous rides I ended up with this email message:

"Unfortunately we ran into a problem uploading your files. We had a problem with '81170072.tcx'. The attachment seems to be empty? Please contact support or visit our support site if you need additional help."

I don't think the attachment was "empty" because it took a long time to send the email with the files attached.  Any suggestions?

April 03, 2012 03:09 AM
User photo
Quan Tran

Not sure, this is something on strava's end. Take a look at that file and see which ride it is, then go to garmin and see if the ride displays fine in garmin. If it does, maybe try to manually download it and see if you can upload that copy to strava. I doubt it'll be any different but give it a try anyway. Out of my 300 rides, there was one that gave me the same problem but i didn't bother looking into it. I think there might be a website or application somewhere that may "fix" the file which you then could get it to work on strava but i didn't look into it. Try searching for the problem on the forum.

Hope people are finding this useful, let me know if there are any other problems.

April 03, 2012 06:37 AM
User photo
Craig Laing

will this work on my mac?

May 16, 2012 08:50 AM
User photo
Quan Tran


May 16, 2012 12:51 PM
User photo
Stephen C.

thank you so much

May 28, 2012 10:06 AM
User photo
Danny Broderick

Worked! Awesome. Thank you.

May 29, 2012 06:25 AM
User photo
Martin Horak

Thank you!  Tried it a few times, as you suggested, and then worked perfectly!

July 15, 2012 03:39 PM
User photo
Bruce Fox

so freakin splendid!   thank you a hundred times - what a relief to not have to download each ride manually - yee-haw

August 02, 2012 09:23 PM
User photo
Jesper Hansen

Thanks a lot! So easy!

August 14, 2012 11:58 PM
User photo
Phillip Windell

To:  A.  Scherberger

I had that happen on a Ride that I had to build manually because the Data File from my Garmin device became corrupt and would not upload from the device to the Site.  When you build one manually it will still have a lot of missing information that seems to trigger this.  So when I wanted to get that ride over to another site I had to just manually create it on the next site as well.

August 21, 2012 11:54 AM
User photo
Phillip Windell

How is this thing picking up our Facebook "mug shots"?,...I don't believe I ever gave it permission to do that.

August 21, 2012 11:55 AM
User photo
Phillip Windell

Does this download the Activities or the Courses?,....both can be TCX, but the two aren't the same thing.

August 21, 2012 12:11 PM
User photo
faxamo .

Solid work Quan!

September 04, 2012 03:54 AM
User photo
Stephen C.

Thanks so much for this app. I hope you don't mind,  I posted a link on my site to help others gain access to this useful app.  This app saved me a bunch of time.

September 08, 2012 03:46 PM
User photo
Patrick D.

I ran this app, and downloaded the under 25 rides that Strava would let me download at one time. None of the ride names come over and it did not input that they were mtn bike vs road bikes rides as set up in Garmin Connect.  Is there a way to do this ? With over 200 rides in Garmin Connect, it would me me a week to do all this editing.  Any thoughts/suggestions?  Thank you.

September 09, 2012 08:44 AM
User photo
Quan Tran

i'm guessing the gpx files don't support or carry that information or strava isn't importing that information. Check the file to see if it has that info, if it does then complain to strava. If it doesn't then you probably could write an app to sync that information across sites once you've synced all the rides between sites.

September 10, 2012 04:04 AM
User photo
Elle Anderson
Strava Support

Hi Patrick - I'll respond to your support ticket as well, but I'll post here that it is true that ride names and bike ride types will not be transferred from Garmin Connect. Garmin does not include this information in the exported data (or the export via the tool mentioned here). 

Quan - Strava does not support accessory data in the GPX file format, however if you transfer data via the TCX file format, all your accessory data should be preserved. Contact support by opening a support ticket if you have further questions!

Thanks, Elle - Strava Support

September 10, 2012 09:58 AM
User photo
Quan Tran

ohh right, i got it mixed up, i do export the TCX files, which probably do not include this taging information as well.

September 10, 2012 02:56 PM
User photo
Christian Munz

Worked great. It took a while for my 800+ activities...

September 30, 2012 03:42 PM
User photo
Timo Roosendaal

Worked like a charm! Thanks a lot for this easy tool. Makes Strava even more useful :)

October 01, 2012 06:47 AM
User photo
Randall Smith

Worked perfectly on my Macbook!  Thank you.

October 07, 2012 11:34 AM
User photo
Dan N.

Worked a treat (with good old windows XP pro) ! - thank you.

October 09, 2012 06:59 AM
User photo
Quan Tran

Yup, it's server based so any browser or platform would work.

October 09, 2012 02:40 PM
User photo
Erin Johnson

I'm on a mac.. It doesn't seem to work for me. It just endlessly says 'connecting'. Any advise?

October 13, 2012 11:42 AM
User photo
Quan Tran

erinhj? should have gotten it, give it another try, the files doesn't look that big.

If you still can't get it, email me i can send it through email or something.

October 13, 2012 12:23 PM
User photo
Paul Arts

amazing, thanks so much

October 26, 2012 01:57 PM
User photo
Lee Roy

CAn you upload only certain rides?


October 31, 2012 12:56 PM
User photo
Andrew 73

Works great Quan, thanks a lot

November 16, 2012 07:38 AM
User photo
Tom Lambert

Worked first try - glad I looked around instead of doing this manually. Incredibly easy. Thanks Quan

November 23, 2012 10:33 AM
User photo
Johnny Vergeer

Yup - worked 100%.

Thanks Quan! :-)

December 09, 2012 05:13 AM
User photo
Daniel Matheny

Thanks Quan!  This saved me tons of time as I coach athletes and can pull all past files from their account to use in other analysis software.

December 14, 2012 09:57 AM
User photo
Cyndi Wong

Thanks, Quan. This was really helpful!

December 26, 2012 12:55 PM
User photo
Tim McArdle

Awesome, worked first time ~ 92 activities from Garmin Connect to Strava.  Thanks!

December 27, 2012 07:04 PM
User photo
Ryan Sparks

Took a while to load but got there in the end. Worked perfectly - thank you!

December 30, 2012 01:54 PM
User photo
Mark Seiler

Worked like a dream ....  cheers mate !

December 30, 2012 05:28 PM
User photo
Marc Corbin

Great tool! Thank You! Is there a way to import multiple .tcx files at one time?

December 31, 2012 12:09 PM
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
User photo
Sean Philyaw

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

January 01, 2013 09:51 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 03, 2013 01:54 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 What I need is a way to batch convert. Thoughts?

January 04, 2013 08:00 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 04, 2013 08:12 AM
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 04, 2013 08:38 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 05, 2013 03:17 PM
User photo
Dave Compton

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

January 08, 2013 10:09 AM
User photo
Paul Semmens

Excellent work, thanks!!

January 10, 2013 02:14 PM
User photo
Marcus Le Count

Excellent, works fantastically. Thank you

January 10, 2013 09:16 PM
User photo
Chris Minehan

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

January 11, 2013 10:37 PM
User photo
Chris Minehan

ahh, it did it, disregard, thanks,

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

ahh, it did it, disregard, thanks,

January 12, 2013 12:55 AM
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
Ryan Ressler

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

1. Gave GC credentials

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

3. Ended up with an 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
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 04, 2013 12:35 AM
User photo
Todd Harris

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

February 05, 2013 12:49 PM
User photo
Dylan Hubble

Works, why does Strava not buy it ! Job done

February 11, 2013 03:04 AM
User photo
Roly Chuter

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

February 22, 2013 04:07 AM
User photo
Manesh K.

Quan the man!!!

yeeeee haaaa

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

March 08, 2013 01:12 PM
User photo
Quan Tran

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

March 14, 2013 01:42 PM
User photo
Steve Guiver

Great job.  Well done

March 16, 2013 12:43 PM
User photo
Brian Jeffrey

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

March 28, 2013 05:03 PM
User photo
Matthew Haley

Thanks, Quan!  Much appreciated.

March 29, 2013 11:55 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 07:18 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.


Thanks again, Quan!

April 22, 2013 07:22 AM
User photo
Brooke Eplee

This is amazing - thank you Quan!

April 25, 2013 07:37 AM
User photo
Steve Grace

Excellent tool - many thanks

May 01, 2013 02:12 PM
User photo
Jeromy Hiserote

Thank you very much. Worked like a champ.

May 21, 2013 08:44 AM
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 07:59 AM
User photo
Atilla Papp

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

May 22, 2013 04:02 PM
User photo
Steve Welter

Awesome!  Thanks iMac OS 10.8.3 no problem using Firefox 21.0

May 26, 2013 07:50 AM
User photo
Adam Danforth

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

May 28, 2013 02:31 PM
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 08:11 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
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
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
John Davis

Great work Quan Tran - worked a dream.

June 18, 2013 06:11 AM
User photo
Dave Mace

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

July 02, 2013 03:24 PM
User photo
Asger Jensen

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

August 05, 2013 05:17 PM
User photo
Asger Jensen

@ Oliver Sinclair copies activities directly from garmin connect to strava

August 05, 2013 05:19 PM
User photo
Neil Henderson

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

August 23, 2013 11:00 AM
User photo
Michael B.

Thanks, man. Great help!

August 24, 2013 11:59 AM
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
Shanon Stallard

Hi Quan,

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

Can you help?

Thanks Shanon

September 04, 2013 03:46 PM
User photo
Quan Tran

Hey Sharon,

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

September 04, 2013 04:19 PM
User photo
Mathew G.

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

September 09, 2013 10:22 AM
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 07:59 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 05:12 PM
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 04:48 AM
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
Omry Sendik

Sweet !!! Work smoothly !!!


September 28, 2013 12:47 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 04:01 PM
User photo
Quan Tran

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

October 14, 2013 03:20 PM
User photo
Philip P.

Will this upload running activities too?

November 30, 2013 05:55 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 05, 2013 10:21 AM
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 07, 2013 09:56 PM
User photo
paolo menaspa

Excellent!! Thank you very much!

December 31, 2013 07:49 PM
User photo
Martin Kilb

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

January 06, 2014 03:30 PM
User photo
Courtney Payne

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

January 13, 2014 12:44 PM
User photo
Nigel Abraham

Works a treat, Thanks

January 14, 2014 11:48 AM
User photo
Dale Routledge

Brilliant tool. Thanks very much.

January 19, 2014 05:06 AM
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 03, 2014 07:30 AM
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 03, 2014 03:46 PM