Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Duplicate Tabs Closer

Duplicate Tabs Closer by Peuj

Detects and automatically closes duplicate tabs.

4.5 (125 reviews)4.5 (125 reviews)
7,194 Users7,194 Users
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Option "Close tab automatically" activated - The cross on the button is Red.Option "Close tab automatically" - The cross on the button is Grey.Option "Close tab automatically" - Duplicate tabs have been detected and the badge indicates the number of duplicate tabs.Support Container Tab (with Scope set to Container) - The duplicate tabs are grouped by container type with their associated colorsMultiple options depending on your needs
About this extension
Duplicate Tabs Closer detects and closes duplicate tabs automatically, or displays them in a panel for manual review. Works on Chrome, Firefox, Edge, Opera, Vivaldi, and Brave.

WHAT IT DOES

When you open a URL that is already open in another tab, Duplicate Tabs Closer can close it immediately or show it in the panel so you decide. A badge on the extension icon always tells you how many duplicate tabs are currently open.

TWO WAYS TO WORK

Auto-close mode: the duplicate tab is closed the moment it is detected. The original tab can be activated automatically, moved to the position of the closed tab, or left as-is.

Manual mode: duplicate tabs are listed in the panel. You close them individually or all at once.

SMART DETECTION

The extension compares tabs based on their URL, but you can adjust what counts as a match:

Ignore case in the URL
Ignore the www prefix in the domain
Ignore the hash part of the URL
Ignore the query string
Ignore the entire path (compare only the domain)
Compare by page title instead of or in addition to the URL
Set a title similarity threshold for fuzzy title matching
Define URL pattern rules: any two tabs matching the same wildcard pattern are treated as duplicates, even if their full URLs differ
Define title pattern rules: same idea, applied to page titles
PRIORITY RULES

When a duplicate is detected, you control which tab is kept:

Keep the older tab (default) or the newer tab
Keep the tab with HTTPS when one is HTTP and one is HTTPS
Always keep the pinned tab
Keep and reload the older tab with the newer URL (useful for redirects)
WHITELISTED URLs

Tabs matching a whitelist pattern are never auto-closed. They still appear in the duplicate list with an indicator, but the extension leaves them open.

SCOPE

Search for duplicates only in the active window, or across all open windows. On Firefox with Multi-Account Containers, you can also limit detection to tabs in the same container.

POPUP PANEL

The popup shows the current list of duplicate tabs. Click a tab to jump to it. Close individual tabs or all at once. The panel can be collapsed to show only the duplicate list, and sections can be pinned to stay visible in compact mode.

CUSTOMIZATION

Visual themes: Sky, Sage, Rose, Amber, Slate, Violet, Ocean Night, Charcoal, Midnight Purple, Dark Teal, OLED Black
Custom badge colors for duplicate and no-duplicate states
Option to open the popup automatically when a new duplicate is detected
Option to close the popup after clicking Close All
KEYBOARD SHORTCUTS

No default shortcuts are set to avoid conflicts with browser built-ins. You can assign shortcuts for:

Close all duplicate tabs
Toggle between auto-close and manual mode
INTENTIONAL DUPLICATES

Tabs opened on purpose using the browser's built-in Duplicate Tab command are never auto-closed.

PRIVACY

The extension operates entirely locally. No data is collected, transmitted, or stored outside your browser.

RELEASE NOTES

https://github.com/Peuj/duplicate-tabs-closer/releases

BUG REPORTS AND FEATURE REQUESTS

https://github.com/Peuj/duplicate-tabs-closer/issues
Rated 4.5 by 125 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
94
4
16
3
3
2
2
1
10
Read all 125 reviews
Permissions and data

Required permissions:

  • Access recently closed tabs
  • Access browser tabs
  • Access browser activity during navigation

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Copy add-on ID
Version
4.1.3
Size
784.92 KB
Last updated
2 days ago (Jun 3, 2026)
Related Categories
  • Tabs
License
GNU General Public License v3.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.