URL Rewriter

URL Rewriter

Rewrite URLs according to a custom regex when accessing a web page.

What is URL Rewriter?
URL Rewriter is a simple and no-nonsense Chrome extension that lets you rewrite URLs using custom regex rules. You can specify a regular expression, capture group number, and replacement text to modify URLs when accessing web pages.
Merlin
Stats
This extension was removed from Chrome Web Store on 2021-08-26
Users: 2,334+
Rating: 3.02 (41)
Version: 0.13 (Last updated: 2018-05-23)
Creation date: 2018-05-23
Risk impact: Moderate risk impact
Risk likelihood: High risk likelihood
Manifest version: 2
Permissions:
  • webNavigation
  • storage
  • tabs
Size: 456.70K
Price: Free
URLs: Website
Stats date:

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension
Merlin
Summary

NOTES:

  • Don't let the unimpressive rating fool you. This is a simple, no-nonsense extension that does exactly what it says and no more. You have to know how to create a Javascript-flavor regular expression to use it.
  • Chrome will inform you that this extension can "Read your browsing history". This is a result of two permissions that we require: "webNavigation" to intercept navigation requests and rewrite the URL, and "tabs" to open the existing extension options page (if already exists) instead of creating a new one when you click on the icon. I do not care about your browsing history.

WHAT'S NEW:

  • You can now remove part of a URL by leaving the replacement text blank.
  • The test page warns you if your rewrite rule is going to remove the protocol (http://, https://) from URLs making them relative.

Based on "Host name rewriter" by Mattias Lundberg.

URL Rewriter edits certain URLs, whether typed in or linked, via a set of rules before navigating to the URL. A rule consists of a regular expression specified in capture groups, a capture group number to replace, and the replacement text for that group. When you click on a link or type a URL in the address bar, it is checked against each of the rules. If a matching rule is found, the text of the specified capturing group number is replaced with the specified text.

Example:

  • Regex: ^(http[s]?://..)(toothboiler)(../watch?v=.*)$
  • Group number to replace: 2
See more
User reviews
Hard to use if you are not familier with those expressions
by Oscar S Oscar S, 2021-07-25

Does just what I need. Thanks!
by Jeff Olvesen Jeff Olvesen, 2021-07-09

It does what is says it will do. Nice and simple. Docked a star due to the slight issue where URLs opened in a new tab are not re-written.
by Krassimir Manolov Krassimir Manolov, 2021-05-19
View all user reviews
Safety
Risk impact

URL Rewriter may not be safe to use and it requires some risky permissions. Exercise caution when installing this extension. Review carefully before installing.

Risk likelihood

URL Rewriter may not be trust-worthy. Avoid installing if possible unless you really trust this publisher.

Upgrade to see risk analysis details
Similar extensions

Here are some Chrome extensions that are similar to URL Rewriter: