🗑️ Clear All Reposts
Remove all your retweets/reposts in bulk.
⚠️ WARNING
This removes all your retweets permanently!
- Run with
dryRun: truefirst to see the count- There is no undo once reposts are removed
📋 What It Does
- Goes to your profile page
- Scrolls through your tweets
- Finds all retweets (identifiable by the retweet icon state)
- Clicks "Undo retweet" on each one
- Confirms the undo action
- Continues until no more reposts are found
🌐 Browser Console Script
Steps:
- Go to your profile page (
x.com/yourusername) - Open console (F12) and paste
src/clearAllReposts.js
Configuration:
const CONFIG = {
scrollCycles: 30,
delayBetweenUnreposts: 1500,
dryRun: false,
};
📁 Files
src/clearAllReposts.js— Remove all retweetssrc/unlikeAllPosts.js— Unlike all liked posts (companion)src/clearAllBookmarks.js— Clear all bookmarks (companion)
⚠️ Notes
- Uses
[data-testid="unretweet"]and[data-testid="unretweetConfirm"]selectors - May need to run multiple times if you have thousands of retweets
- Rate limiting may slow down the process — delays are built in
⚡ Ready to try Clear All Reposts?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts