Skip to content

Repository files navigation

Instagram Bulk Unfollower

ig-unfollow-social-preview-1280x640

A single-file browser console script for reviewing and bulk-unfollowing Instagram accounts. It uses Instagram's internal GraphQL API to build your following list and the authenticated web API to perform unfollows.

⚠️ Warning

Instagram's Terms of Service discourage automated actions. Using this script may trigger rate limits or account review. Run it slowly, keep the tab active, and use at your own risk. This script does not send any data outside your browser or to any third party — all requests go directly to Instagram's servers.

How to use

  1. Open Instagram in a desktop browser and log in.
  2. Open DevTools (F12) → Console.
  3. Copy the contents of instagram-unfollower.js (or instagram-unfollower.min.js) and paste it into the console, then press Enter.
  4. In the modal that appears, click Load following list. The script will fetch everyone you follow and everyone who follows you back, then show only the accounts that don't follow you back.
  5. Review the list. Checked accounts will be kept; unchecked accounts will be unfollowed.
  6. (Optional) Click Export list to download a JSON backup.
  7. Click Start unfollow.

You can also use Import list to load a previously exported JSON file and unfollow from that list. Imported lists are treated as the current non-follower list and are not re-filtered.

Filtering the list

Three controls narrow what the list shows, and they combine:

  • Relationship — "All," "Follows me," or "Doesn't follow me." Pick one.
  • Verified / Private — two chips, each clicked to cycle through three states: any (no filtering), only (show just those accounts), and hide (exclude them). So "Verified only" plus "Hide private" shows verified public accounts.
  • Search — matches username or display name.

Every row carries badges for the traits it has, so you can see at a glance whether an account follows you, is verified, or is private.

Select all, Deselect all, and Invert act on the visible rows only, never on accounts hidden by a filter. The label beside them says which set is in scope.

Timing behavior

  • 4 seconds between each unfollow.
  • For the first 30 minutes of runtime: 30 seconds pause after every 5 unfollows.
  • After 30 minutes of runtime: pauses rotate randomly through 4, 5, 6, and 7 minutes after every 5 unfollows.

You can pause, resume, or cancel at any time.

Troubleshooting

  • "Could not find your Instagram user ID": Make sure you are logged in to Instagram and the URL starts with https://www.instagram.com/.
  • "Failed to load following list": Instagram may have changed the GraphQL query. Open an issue with the exact error message.
  • Rate-limit warnings: Stop and wait several hours before continuing.

About

A single-file browser console script for reviewing and bulk-unfollowing Instagram accounts. It uses Instagram's internal GraphQL API to build your following list and the authenticated web API to perform unfollows.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages