𝕏
XStream
Use X as a stream, not an archive. Auto-delete your old posts, replies & retweets — right from your browser. No signup, no API keys, no data shared.
What it does
📝 Deletes tweets
💬 Deletes replies
🔁 Removes retweets
📅 Filters by age
📊 Live progress UI
🛑 Stop anytime
🔧 Auto-configures
Scans your timeline page-by-page using X.com's own internal API, filters posts
older than 30 days (configurable), and deletes them one by one
with rate-limit-friendly delays. A dark overlay shows live progress.
Easiest Bookmarklet
Drag this button to your bookmarks bar. Then visit x.com and click it.
⬆ Drag the button above into your bookmarks bar
⚠️ Note: You must be logged into x.com when you click the bookmarklet.
Deletions are permanent and cannot be undone.
Alternative Browser Console
Open x.com, press F12 → Console tab, then paste:
⚙️ Configuration
To change how far back to delete, edit the top of delete-tweets.js:
const DAYS_OLD = 30; // posts older than 30 days
const DELAY_BETWEEN_DELETES = 1200; // ms between API calls
const MAX_ERRORS = 15; // stop after N consecutive errors
🔍 How it works
- Reads your CSRF token and user ID from cookies (no passwords sent anywhere)
- Auto-discovers API endpoints by scanning X.com's loaded JS bundles — no manual config needed even when X rotates IDs
- Calls the UserTweetsAndReplies GraphQL query to page through your timeline
- Filters to posts older than N days
- Calls the DeleteTweet mutation for each matching post
- Shows a live progress modal — you can stop anytime
💡 Everything runs locally in your browser using your existing X.com session.
No data is sent to any third-party server.