// Upload archive → get a personalized script. Zero data leaves your device.
⚠️ DISCLAIMER: X's Platform Manipulation & Spam Policy prohibits bulk/automated actions including follow-churn. Mass unfollowing — even with delays — can trigger temp blocks (24–72h), visibility restrictions, or account suspension. No official per-day limit, but community safe practice is ≤ 100–150/day, spaced 25–30s+. Use slowly. Use at your own risk. I am not responsible for any account issues.
🔒 100% LOCAL: Your archive files are parsed entirely in your browser. They are never uploaded, transmitted, stored, or tracked anywhere. The generated script is a plain-text .js file — no server, no database, no data collection.
Step 0 — Get Your X Archive
📦
How to request your X data archive
Takes up to 24 hours · Skip if you already have your files
▼
1
On X (desktop or mobile), click your profile picture / avatar in the sidebar or navigation to open the account menu.
2
Go to Settings and Privacy.
3
Under Your Account, tap "Download an archive of your data".
4
X may prompt you to re-verify your identity (password + 2FA). Confirm to submit the request. X will now generate your archive in the background.
5
When ready, X sends an in-app notification. Go back to the same page and click "Download archive". Unzip it — then find data/following.js and data/follower.js for Step 1 below.
⏳
Takes up to 24 hours. X generates archives in the background. You'll receive an in-app notification when yours is ready — come back here then and continue from Step 1.
⚡
Download link expires in ~10 days. After the notification, the download link is only available for roughly 10 days before it disappears. Unzip and save your archive promptly.
🔒
Your archive is private — only you can download it. This tool only reads following.js and follower.js, locally in your browser. No other file is opened or touched.
Step 1 — Upload Archive Files
From your unzipped archive, find data/following.js and data/follower.js and drop them below — or click to browse.
📤
following.js
Accounts you follow
No file loaded
📥
follower.js
Accounts that follow you
No file loaded
Step 2 — Analysis Results
—
Following
—
Followers
—
Not Following Back
#
Account ID
Profile Link
Step 3 — Safety Caps & Settings
Max unfollows/hour
Script auto-pauses if hit, resumes next window
Max unfollows/day
Script stops & saves progress if hit
Exclude list — accounts to always keep following
Paste account IDs you want to protect — one per line, comma-separated, or space-separated. These are filtered out before generating the script so they will never be unfollowed.
Step 4 — Download Your Personalized Script
Download both files — they work as a pair. Save them together in the same folder. Full setup guide below 👇
🛠 First time? Install the tools you need (one-time setup)
A
Install Node.js — this is what actually runs the script.
Go to nodejs.org, download the LTS version (the green button), and install it like any normal program. Restart your computer after. ✓ You only need to do this once ever. Works on Windows, Mac, and Linux.
B
Install VS Code — the app you'll use to run the script.
Go to code.visualstudio.com, download and install it. ✓ Also one-time. If you already have it, skip this.
📁 Put the files in a folder
1
Create a new empty folder on your Desktop.
Pick your device below:
Windows
Mac
1. Go to your Desktop (minimise all windows).
2. Right-click on an empty space on the Desktop.
3. Hover over "New" in the menu that appears.
4. Click "Folder".
5. A new folder appears — type x-unfollow and press Enter. ✓ Done. You now have a folder called x-unfollow sitting on your Desktop.
1. Go to your Desktop (click the Desktop or press F11 / Mission Control).
2. Right-click (or two-finger tap on trackpad) on an empty space.
3. Click "New Folder".
4. Type x-unfollow and press Enter. ✓ Done. You now have a folder called x-unfollow sitting on your Desktop.
2
Move both downloaded files into that folder.
Go to your Downloads folder, find these two files: unfollow_nonfollowers_personalized.js and package.json
Then drag and drop both of them into the x-unfollow folder you just created on your Desktop. ⚠️ Both files must be in the same folder — not in separate places, not left in Downloads.
3
Open that folder in VS Code.
1. Open VS Code (find it in your Start Menu on Windows, or Applications on Mac).
2. In the top menu, click File → Open Folder.
3. A file browser window opens — navigate to your Desktop, click the x-unfollow folder, then click "Select Folder" (Windows) or "Open" (Mac).
4. You should now see unfollow_nonfollowers_personalized.js and package.json listed in the left sidebar of VS Code. 💡 If VS Code asks "Do you trust the authors of the files in this folder?" — click Yes, I trust the authors.
💻 Open the terminal & install dependencies
4
In VS Code, go to the top menu: Terminal → New Terminal.
A panel opens at the bottom — that's your terminal. It's already pointed at your folder, no navigation needed.
5
Type this and press Enter:
npm install
Takes 30–60 seconds. A node_modules folder appears — that's normal, don't touch it.
🌐 Kill Chrome & open the debug session
⚠️ Important: The script only works with a special Chrome debug session — it cannot connect to your normal Chrome. You must fully close all regular Chrome windows first, then launch the debug session below. If any normal Chrome is still open in the background, the script will fail to connect.
6
Step 1 — Kill ALL Chrome processes.
Close every Chrome window manually first, then run the kill command for your OS in the terminal:
Windows
Mac
Linux
taskkill /F /IM chrome.exe /T
Run this in the VS Code terminal (PowerShell). If it says "process not found" — Chrome was already closed, that's fine.
pkill -a -i "Google Chrome"
Run this in the VS Code terminal. "No matching processes" means Chrome was already closed — that's fine.
pkill -f chrome
Run this in the VS Code terminal. No output = Chrome was already closed. That's fine.
7
Step 2 — Launch Chrome in debug mode.
This opens a separate Chrome session that the script can control. Pick your OS:
If your Chrome binary is named differently (e.g. chromium-browser), replace google-chrome with that.
🔑
Before going back to the terminal — log in to X in that Chrome window.
In the debug Chrome session that just opened, navigate to x.com and sign in to your account. Complete 2FA if prompted. Wait until you can fully see your feed and home timeline. Do NOT run npm start until you're logged in. The script checks for a live X session — if it finds a login page, it will stop immediately.
🚀 Run the script
9
Switch back to VS Code. In the terminal at the bottom, type this and press Enter:
npm start
The script connects to the debug Chrome, finds your X session, and starts unfollowing accounts one by one — with randomised delays between each. You'll see live progress in the terminal.
10
To pause / stop: press Ctrl + C in the terminal. Progress is auto-saved after every single unfollow. To resume tomorrow: repeat steps 6 → 7 → login → 9. The script reads unfollowed_log.json and skips everyone already done.
💡 Script not connecting? The #1 cause: a normal Chrome window is still open in the background eating port 9222. Run the kill command (step 6) again, then relaunch the debug session (step 7) and log in again.
💡 On Mac with Apple Silicon? Chrome path is the same — the command above works for both Intel and M-chip Macs.