X Bot Remover is a browser extension that automates removal of X (Twitter) bot followers from your own account. It uses adjustable rules to identify bots and can also be used to clean your followers or following list.
- Adjustable rules – Configure thresholds for followers, following count, post count, username patterns, bio text, and more.
- Dry run – Preview which accounts would be removed without making changes.
- Blacklisted countries – Optionally exclude accounts by location.
- Chrome and Firefox – Build for either browser from the same codebase.
- Chrome: Chrome Web Store
- Prerequisites: Node.js 22 and Yarn. A .nvmrc file is included for Node version management.
- Install and build:
yarn install yarn build:chrome # or yarn build:firefox - Load the extension:
- Chrome: Open
chrome://extensions, enable "Developer mode", click "Load unpacked", and select thedist_chromefolder. - Firefox: Open
about:debugging, click "This Firefox", "Load Temporary Add-on", and select the manifest inside thedist_firefoxfolder.
- Chrome: Open
- Chrome:
yarn devoryarn dev:chrome– runs the extension with hot reload. - Firefox:
yarn dev:firefox– runs the extension with hot reload for Firefox.
For more on contributing and conventions, see CONTRIBUTING.md.
src/pages/background– Service worker (background script).src/pages/content– Content scripts that run on X (twitter.com / x.com).src/pages/options– Options page for settings and rules.src/pages/popup– Extension popup UI.src/data– Shared data (e.g. country lists).src/types– TypeScript types for the extension.
This project is licensed under the MIT License – see LICENSE.
Built with vite-web-extension by JohnBra (MIT).
Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.