How to delete all your Tweets for free (tutorial)
Channel: Luca Hammer
Date: 2023-10-01

Guide to delete all your Tweets. Use at your own risk.
0. Use Firefox or Safari if possible.
1. Export your Twitter data archive from https://twitter.com/settings/download_your_data (takes 1-2 days; unzip it after downloading)
2. Copy script from https://github.com/lucahammer/tweetXer/blob/main/tweetXer.js
3. Open browser console (F12) on twitter.com
4. Paste script, hit enter and close the console again (F12)
5. Select tweet-headers.js
6. Wait until all Tweets are gone

*Alternative as a userscript*
Instead of copy-pasting the script, you can install it as a userscript:
https://greasyfork.org/en/scripts/476062-tweetxer (works with eg. tampermonkey browser extension https://addons.mozilla.org/firefox/addon/tampermonkey/)

*Possible issues and solutions*
- Pasting the script doesn't work.
Browser try to protect you by preventing you from copying random scripts from the internet. If you are sure that you want to run the script, read what the console tells you. Often you have to type something like "allow paste" (Firefox) or "allow pasting" (Chrome) and hitting enter, to enable pasting.

- Browser crashes after 10.000 - 15.000 Tweets.
This happens with Chrome and Chrome-based browsers. You can either switch to Firefox or Safari or use the Advanced options to skip the amount of Tweets that have been deleted before the crash: Paste the script, hit enter and select "Advanced options" at the bottom right of the blue bar. Enter the amount you want to skip and then use the file picker to open your tweet-headers.js file to proceed with the deletion process.

- You only have a mobile phone.
You can use the script, but only with Android. 1. Install Firefox Mobile https://www.mozilla.org/firefox/browsers/mobile/, 2. open the following URL with it https://addons.mozilla.org/firefox/addon/tampermonkey/ and install the Tampermonkey extension, 3. install the script by visiting https://greasyfork.org/en/scripts/476062-tweetxer . Open X com and the blue bar should show up. You may need to uninstall the X-App before.

- Not all Tweets got removed.
Check if the ID of the remaining Tweet is in your data export. The script can only remove what's in the file. There is a option to automatically remove remaining Tweets under "Advanced options" but it is very slow. If there are many Tweets, re-run the script. Maybe request a new export.

- No Tweets are visible on the profile, but Tweet count shows there are still Tweets left.
In most cases those are Retweets from Tweets from accounts that got deactivated or banned. Sometimes the Tweets reappear once the accounts come back, sometimes they don't. There is nothing you can do.

- Likes aren't removed.
Only the last few hundred can be be removed. Even by hand. There is nothing you can do other than deleting your whole account. Or reliking Tweets to unlike them afterwards which will probably get your account locked for spamming.

- It worked and you are thankful.
Awesome. Leave a comment. Write if you had to change something. Share the video/script on whatever you are using now to give others the option to delete their Tweets. Support me to keep creating things like this: https://www.buymeacoffee.com/lucahammer