Chrome extension

Keep the tab you want.

Regex Tab Dedupe watches newly opened tabs, compares their URLs with rules you control, and keeps either the old or new tab according to the matching rule.

How it works

You decide what counts as the same page.

  1. 01

    Add a rule

    Write a JavaScript regular expression or start with a preset. Capture the stable part of the URL in group 1.

  2. 02

    Open a link

    The extension checks new HTTP and HTTPS tabs against your enabled rules. It does not sweep tabs in the background.

  3. 03

    Keep the tab you choose

    If an older tab has the same rule identity, the extension closes the new duplicate by default. A rule can instead close the old tab and keep the newly opened one, either always or only when the new URL matches an extra condition.

Your rules

Precise enough for the sites you use.

Ordered matching

The first enabled expression that matches a URL decides its identity, so broad fallback rules can sit below specific ones.

Ready-made presets

Apply common GitHub, YouTube, Google Docs, Jira, or query-free URL patterns in one click, then edit them when needed.

Conditional replacement

A rule can keep a new tab only when its URL matches a stricter regex, while the main regex continues to identify both tabs.

Local processing

URL matching happens inside Chrome. The developer has no server, analytics, ads, or access to your browsing activity.

Fail-open behavior

If Chrome cannot verify, focus, or close a tab safely, the new tab stays open.

Privacy

URLs stay inside Chrome.

Regex Tab Dedupe reads tab URLs only to provide duplicate detection. It does not send them to the developer or any developer-controlled service.

Full privacy policy