How to bulk remove Twitter tweets and retweets

The following steps show how to bulk remove tweets and retweets on Twitter.

The process involves running a custom script in the browser debug console. It may work in other browsers, but is recommended to use Google Chrome.

It may need to be ran multiple times to completely clear your tweets.

  1. Open Google Chrome
  2. Go to https://twitter.com and ensure you are logged in
  3. On the left of the page, click on ‘Tweets’
  4. Press F12 on your keyboard – this opens the browsers debug console
  5. Open the ‘Console’ tab
  6. Copy the following script
  7. In the bottom of the debug console, next to the blue arrow, paste it in
  8. Press enter the run the script
  9. Note – you may need to refresh the page and run the script again, several times, to completely clear your list.

 

setInterval(
    function() {
        t = $( '.js-actionDelete button' ); // get delete buttons
        for ( i = 0; true; i++ ) { // count removed
            if ( i >= t.length ) { // if removed all currently available
                window.scrollTo( 0, $( document ).height() ); // scroll to bottom of page - loads more
                return
            }
           $( t[i] ).trigger( 'click' ); // click and remove button from dom
           $( 'button.delete-action' ).trigger( 'click' ); // click and remove button from dom
        }
    }, 2000
)