Redirector icon

Redirector

FreePopular

A powerful and flexible browser extension that allows users to customize URL redirection rules using regular expressions. Perfect for developers, power users, and anyone who wants to control their browsing experience.

20,000+
4.4 Rating
Create Rule
^https://old-site\.com/(.*)
Redirect To
https://new-site.com/$1
Auto Redirect
Seamless URL transformation

Key Features

Powerful tools for customizing your browsing experience

Regular Expression Support

Create complex redirection rules using powerful regular expressions for precise URL matching and transformation.

Real-time Testing

Test your redirection rules instantly with our built-in URL testing tool to ensure they work as expected.

URLPattern Support

Use modern URLPattern API for more intuitive URL matching with named groups and structured patterns.

Intuitive Interface

Easy-to-use interface for adding, editing, and managing your redirection rules without technical complexity.

Multiple Rules

Support for unlimited redirection rules, allowing you to customize multiple websites and URL patterns.

Privacy First

All processing happens locally in your browser. No data is collected or transmitted to external servers.

How to Use

Get started with Redirector in just a few simple steps

1

Open Extension Options

Click on the Redirector icon in your browser toolbar to open the options page where you can manage all your redirection rules.

2

Add Redirection Rules

In the 'Add a redirect URL' section, enter your source URL pattern using regular expressions and specify the target URL with capture group references.

3

Test Your Rules

Use the 'Test URL' section to verify that your redirection rules work correctly before applying them to your browsing.

4

Manage Active Rules

View all your active rules in the 'Rules' list where you can easily edit, disable, or delete any rule as needed.

Example Rules

Real-world examples to get you started

Regular Expression Examples

Redirect Domain (e.g. reddit.com → old.reddit.com)

From:
^https://www.reddit.com/(.*)
To:
https://old.reddit.com/$1

Redirect Google Search to DuckDuckGo

From:
^https://www.google.com/search\?q=(.*?)&.*$
To:
https://duckduckgo.com/?q=$1

URLPattern Examples

Redirect Old Domain to New Domain

From:
^https://oldsite.com/:path*
To:
https://newsite.com/{{pathname.groups.path}}

Advanced Google Search Redirect

From:
^https://www.google.com/search?q=:id
To:
https://duckduckgo.com/?q={{search.groups.id}}

💡 Pro Tip

URLPattern provides an alternative browser-native URL matching standard compared to regular expressions. While not necessarily more powerful, it offers more intuitive syntax for simple URL matching scenarios. Learn more about URLPattern syntax at MDN Documentation.

Privacy & Security

Your privacy is our top priority

Local Processing

All redirection rules are processed locally in your browser. No data leaves your device.

No Data Collection

We don't collect, store, or transmit any of your personal data or browsing information.

Open Source

Transparent, open-source code that you can review and contribute to on GitHub.

Frequently Asked Questions

Chrome's "Preload pages" causes the search page itself to be redirected. What should I do?#

When Chrome's "Preload pages" feature is enabled and a preloaded result matches one of your rules, the search page itself may get redirected unexpectedly. This issue was fixed in v0.13.2 — please make sure you are using the latest version. If the problem persists, you can disable preloading at chrome://settings/?search=preload as a workaround.

Can I redirect to a local file (file:/// URL)?#

On Chrome and Edge, yes — but the browser blocks extensions from opening file:// URLs until you grant file access. Paste chrome://extensions/?id=lioaeidejmlpffbndjhaameocfldlhin (Edge: edge://extensions/?id=jhdjcofnjfeljeekjklhgfmfocfgibmm) into the address bar to open the Redirector details page, then enable "Allow access to file URLs". Note that the built-in rule tester only simulates the URL rewrite, so it shows a valid redirect chain even before this permission is granted. Firefox and Safari do not allow extensions to navigate to file:// URLs at all — as an alternative, redirect to a page served from a local web server or a blank page instead.