Redirector
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.
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
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.
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.
Test Your Rules
Use the 'Test URL' section to verify that your redirection rules work correctly before applying them to your browsing.
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)
^https://www.reddit.com/(.*)https://old.reddit.com/$1Redirect Google Search to DuckDuckGo
^https://www.google.com/search\?q=(.*?)&.*$https://duckduckgo.com/?q=$1URLPattern Examples
Redirect Old Domain to New Domain
^https://oldsite.com/:path*https://newsite.com/{{pathname.groups.path}}Advanced Google Search Redirect
^https://www.google.com/search?q=:idhttps://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.
Available On
Works on all major browsers — including mobile. Yes, you can use extensions on your phone!
Desktop
Frequently Asked Questions
Chrome's "Preload pages" causes the search page itself to be redirected. What should I do?#
chrome://settings/?search=preload as a workaround.Can I redirect to a local file (file:/// URL)?#
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.