Delete all tweets with a script or an extension?
API-based scripts are free and flexible but need an X developer account and keys, some coding, and they can only see your 3,200 most recent posts unless you feed them your archive. Browser-console scripts avoid the API but break when X changes its page. A browser extension does the same job without code, keys or archive uploads.
The fast way, with Tweet Bulk Deleter- Add to ChromeInstall Tweet Bulk Deleter free from the Chrome Web Store.
- Open your profileOn x.com, open your Posts tab to delete posts and undo retweets, your Replies tab for replies, or your Likes tab to unlike.
- Press the buttonClick the extension and press Delete All Posts or Unlike Everything. With Pro, add keywords for a filtered run.
Search "delete all tweets GitHub" and you'll find plenty of free scripts. Should you use one? Here's what deleting tweets with a script really involves, compared with an extension.
Option 1: API scripts (Python and similar)
These scripts call X's API to list and delete your posts.
What you need:
- An X developer account and API keys. X's API became paid in 2023, and free access is limited.
- Python (or similar) installed, and comfort with the command line.
- Patience with rate limits: the API only allows so many deletions per window.
The 3,200 limit: X's API returns only the 3,200 most recent posts on a timeline. To reach older tweets, many scripts ask for your X archive file. See delete all tweets using your archive.
Good for: developers who want full control and don't mind setup.
Option 2: Browser console scripts
Some scripts are pasted into Chrome's developer console while you're on x.com. They click the delete buttons for you.
Watch out:
- They break whenever X changes its page layout.
- Never paste code you don't understand. Code in your console runs with your signed-in session.
- No pacing or safety stops unless the author added them.
Option 3: A browser extension
An extension also works on x.com in your browser, but packaged, maintained and with a simple interface.

Add to Chrome, freeTweet Bulk Deleter & Unliker Pro:
- No code, no API keys, no developer account, no archive upload.
- Deletes posts and replies, undoes retweets, removes likes.
- Keyword filter (Pro) for deleting or unliking only certain topics.
- Works at a steady pace with pauses.
- Free version: up to 10 deletions and 20 unlikes.
Side by side
| API script | Console script | Extension | |
|---|---|---|---|
| Coding needed | Yes | Some | No |
| API keys | Yes | No | No |
| Reaches old tweets | With archive | Scrolls the profile | Scrolls the profile |
| Breaks when X changes | Rarely | Often | Updated by the maker |
| Cost | Free script, API access may cost | Free | Free tier, then Pro |
Comparing paid services too? See Redact vs TweetDelete vs Circleboom.
Frequently asked questions
Is there a free script to delete all tweets? Yes, several open-source scripts exist on GitHub. Most need an X developer account and API keys.
Why does my script stop at 3,200 tweets? X's API only returns the 3,200 most recent posts on a timeline. Older posts need your archive.
Are browser console scripts safe? Only run code you understand. Pasting unknown code into your browser while signed in can expose your account.
Does an extension need API keys? Tweet Bulk Deleter doesn't. It works on x.com in your signed-in browser.