Item logo image for Request Rewriter — HTTP Header Modifier

Request Rewriter — HTTP Header Modifier

4users
2026latest update
ExtensionDeveloper Tools
Item media 5 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 1 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 2 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 3 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 4 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 5 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 1 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 1 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 2 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 3 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 4 (screenshot) for Request Rewriter — HTTP Header Modifier
Item media 5 (screenshot) for Request Rewriter — HTTP Header Modifier

Overview

Add or override HTTP request headers per URL rule. Live pattern test, per-rule toggles, JSON import/export.

Request Rewriter adds or overrides HTTP request headers on any site, using Chrome's built-in declarativeNetRequest API — no proxy, no VPN, no debugger session, no external server. It is built for developers and QA engineers who need to point an app at a staging backend, inject an auth or feature-flag header, or reproduce a bug that only appears with a specific header set. WHY PEOPLE USE IT • Switch environments instantly. Add x-env, x-forwarded-host or any custom header per URL rule instead of editing code or running a proxy. • Target precisely. Match by plain substring, * wildcard, ||domain and |prefix anchors, or a full regular expression. An empty pattern matches every request. • Trust what you see. Paste a URL into Test URL and the popup tells you whether the rule matches, using the same logic the browser actually applies. • Keep it organized. Give each rule a name, toggle rules on and off without deleting them, and see the configured headers as tags even when a card is collapsed. • Know your state. The toolbar icon is green when the extension is active and gray when it is paused, so you never wonder whether rewriting is on. • Start fast. A "Create first rule" button on the empty popup, and a one-click "Turn on" banner if you have rules but the switch is off. RELIABLE BY DESIGN • One bad rule can't break the rest. An invalid regex or an illegal header name is skipped and listed in the popup, while every other rule keeps working. • Edits apply immediately. Change a header value and the next request uses it — no stale values, no need to reload the extension. • No surprises with your traffic. Only the headers you configure are set. Every other request header (cookies, user agent, accept, authorization) is left untouched. Response headers, response bodies and request bodies are never modified. • Works on first navigation. Rules also apply to the top-level document request, not just to fetch/XHR calls, so the very first page load on a site is covered. PRIVACY Everything stays on your machine. Rules are stored in chrome.storage.local and applied by the browser itself. There is no analytics, no telemetry, no remote code, and nothing is sent to any server. The extension only requests storage and declarativeNetRequest, plus <all_urls> so a rule can target any site you configure. IMPORT AND EXPORT Export your rules to a JSON file and import them on another machine or share them with a teammate, so everyone tests against the same setup. A NOTE ON SCOPE This extension is intentionally focused: it modifies request headers and nothing else. If you need to edit request bodies or rewrite responses, this is not the tool for that. HOW TO USE 1. Click the Request Rewriter icon in the toolbar. 2. Create a rule and enter a URL pattern (leave it empty to match all requests). 3. Add header name / value rows. 4. Turn the extension on with the switch in the top bar. 5. Check Test URL to confirm the rule matches your page. Free, open source, and no account required. Source code: https://github.com/mrhack/request-rewriter-extension

Details

  • Version
    0.2.2
  • Updated
    November 29, 2026
  • Offered by
    AcRush
  • Size
    33.89KiB
  • Languages
    English (United States)
  • Developer
    Email
    hdg1988@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

Manage extensions and learn how they're being used in your organization
The developer has disclosed that it will not collect or use your data. To learn more, see the developer’s privacy policy.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, visit the developer's support site

Search
Clear search
Close search
Google apps
Main menu