💾 Backup Account
Export your X/Twitter account data (profile, tweets, likes, followers) as a JSON file.
📋 What It Does
- Scrapes your profile info (name, bio, followers, following, join date)
- Scrolls your profile to collect tweets with engagement data
- Visits your likes page and collects liked tweets
- Visits your followers page and collects follower usernames
- Packages everything into a single JSON object
- Auto-downloads the backup file
🌐 Browser Console Script
Steps:
- Go to your profile page (
x.com/yourusername) - Open console (F12) and paste
src/backupAccount.js
Configuration:
const CONFIG = {
includeTweets: true,
includeLikes: true,
includeFollowers: true,
scrollCycles: 20,
delayBetweenScrolls: 1500,
};
📊 Output
Downloads a JSON file like:
{
"exportDate": "2026-02-15T...",
"profile": { "name": "...", "bio": "...", "followers": 5000 },
"tweets": [{ "text": "...", "likes": 42, "retweets": 5 }],
"likes": [{ "text": "...", "author": "@..." }],
"followers": ["user1", "user2", ...]
}
📁 Files
src/backupAccount.js— Full account backup scriptsrc/downloadAccountData.js— Trigger X's official data archivescripts/twitter/backup-account.js— Extended DevTools version
⚠️ Notes
- Disable individual sections with
includeTweets: false, etc. - Scroll cycles determine how much data is collected (more = slower but more complete)
- For a truly complete backup, also use
src/downloadAccountData.jsto request X's official archive - Large accounts may take several minutes
⚡ Ready to try Backup Account?
XActions is 100% free and open-source. No API keys, no fees, no signup.
Browse All Scripts