A plugin to add bulk editing to activities on Strava.com.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Build Status js-standard-style

What is this?

I really wanted bulk editing for my 224 Strava activities so I could make them all public. It started as simple script I wrote in the browser console and ended up as this.


Currently the only way to use this is to load it in the console of Strava.com. This must be done after any page changing navigation since a browser reload will clear any external scripts.

This is just a quick WIP for now, in the future there will be a better installation process, if I deem this useful enough.

> jQuery.getScript('https://unpkg.com/strava-bulk-edit@1.0.4/dist/StravaBulkEdit.js')


Loading the script will do the following:

  • Create window.StravaBulkEdit containing the API methods
  • Attach any necessary DOM elements to the current page

Training Page Bulk Editing

On the training page, it will add a dropdown to edit all activities to either public or private. It will do this by iterating over each one on the current page, and when it reaches the end of the page, navigating to the next page and starting over. It will also add a Cancel button while it's happening to abort any remaming activities.

Or you can use the API to edit any part of the row using some JS in the console.

// $row is always is a jQuery object
  // Run the action that you want to perform on each activity row
  action: function ($row) {
    // e.g. Set the description of each row to "Big climb!"
    $row.find('[name=description]').val('Big climb!');
  // Optionally, only run the action on certain rows, by default, the action will
  // run for all rows. Return true or false from this to determine if the activity
  // row should have the action peformed on it.
  condition: function ($row) {
    // e.g. Only set the description if the elevation is more than 1000
    var elevation = $row.find('li:contains(Elevation)').text().replace(/\D/g, '');
    return parseInt(elevation, 10) > 1000;


This is in not affiliated with Strava, Inc. in any way. The term STRAVA and the Strava logo are the exclusive trademarks of, and are owned by, Strava Inc.