How to Bulk-Delete Old Tweets on X (Twitter) – A Step-by-Step Guide
Cleaning up your X (Twitter) history doesn’t have to be a time-consuming process. If you want to erase thousands of tweets while keeping specific ones, follow this guide for an efficient approach.
Why Delete Old Tweets?
Over time, your tweets may no longer represent your views or clutter your profile. Bulk deletion helps you maintain a cleaner timeline and ensures only relevant content remains visible.
Step-by-Step Guide
1. Request Your Tweet History
- Go to your X account settings.
- Find the data request section.
- Request your account history.
You’ll receive an email notification within 24 hours once your archive is ready.
2. Download & Prepare Your Data
- Download your account history file.
- Locate the tweet-header.js file.
- Open it in a code editor (VS Code, Notepad++, etc.).
3. Filter & Prevent Deletion of Specific Tweets
If you want to keep certain tweets while deleting others:
- Search for keywords or years you want to preserve (e.g., “2025”).
- Remove all other tweet entries from the file except the ones you wish to keep.
- Save the modified file.
4. Run the Bulk Deletion Script
- Open the homepage tab of your X account.
- Copy the script code provided in the video description.
- Open your browser’s developer tools (
F12orCtrl+Shift+I). - Navigate to the Console tab.
- Paste the script and hit Enter.
5. Start the Deletion Process
- Once prompted, select the tweet-header.js file.
- The script will now begin bulk-deleting your tweets.
Results
Using this method, 25,000 tweets were successfully deleted, leaving only 42 tweets from 2025 that were intentionally preserved.
This process is efficient, quick, and ensures you retain control over which tweets remain on your profile. If you found this guide useful, consider sharing it with others looking for a smarter way to manage their X account history!