Guide · Chrome, December 2026
Chrome header extension not working? A checklist to find out why
You added a header in an extension, switched it on, and the server still behaves as if it was never sent. Almost always it is one of a handful of causes, and each can be checked in a minute. Work down this list in order. The Chrome facts come from Chrome's documentation for the engine these extensions use (declarativeNetRequest), so they apply to any header extension. The settings names are from Header Switch, which we make.
1. Test with a page that shows you the headers
Do not judge by your own app first, since its server may ignore the header for other reasons. Add a harmless header such as X-Test: 1 for the domain httpbin.org, then open https://httpbin.org/headers. That page, run by a third party, answers with the request headers it received as JSON. If X-Test is in the list, the extension works and the problem is between your header and your server. If it is not, keep going.
2. Is the profile on, and is the extension paused?
In Header Switch, click the toolbar icon. The profile needs its switch on, the On/Paused switch must say On, and the single header must be switched on too. The badge on the icon shows how many headers are active, or off while paused. A badge of ! means a profile is missing site access, which is the next step.
3. Has Chrome allowed the extension on that site?
Chrome's documentation says an extension that uses host access has to request host permissions before it can act on a host. For this reason Header Switch asks for nothing at install. After you save a profile, click Grant access to these domains in Options and accept the Chrome prompt. Saving alone does not ask.
A profile with an empty domain list, or with a URL pattern, needs Grant access to all sites instead.
4. Is the request going to a site you listed?
A profile applies to the domains you list, sub-domains included. The common slip is a page on one site calling an API on another: you list the page's domain, but the header must go on the API's requests, so the API's domain has to be in the list (and allowed, as in step 3). Open the Network panel in DevTools, click the request that matters and look at its host.
5. Are you using set or append?
Chrome only lets an extension append to a short list of request headers: accept, accept-encoding, accept-language, access-control-request-headers, cache-control, connection, content-language, cookie, forwarded, if-match, if-none-match, keep-alive, range, te, trailer, transfer-encoding, upgrade, user-agent, via, want-digest and x-forwarded-for. For any other request header (such as Authorization or your own X-Env) use set. Set and append both need a value.
6. Does another rule or extension get there first?
Chrome's documentation describes how clashes are resolved:
- Inside one extension, a higher-priority rule is applied first, and once a rule has set or removed a header, later rules cannot change it again. In Header Switch, a profile higher in the list wins, so if two profiles set the same header, the lower one has no effect. Move one up, or turn the other off.
- Between extensions, the one installed more recently runs first. If you have a second header or privacy extension, turn it off for a test.
7. Rule out the cache and the plan limit
A response you already have in the cache is not asked for again, so a changed request header cannot change it. In DevTools, tick Disable cache in the Network panel and reload. Also check the plan: Header Switch's free plan applies one profile with its first three headers, and keeps the rest locked, so a fourth header on the free plan does nothing until you upgrade.
Still stuck
Change one thing at a time and re-test on the httpbin.org/headers page. If the test page shows the header but your app still misbehaves, the server is ignoring it, and its request log is the next place to look. If you want to compare other tools, see the comparison page.
We build Header Switch. The checklist applies to any header extension. This guide was written with AI assistance. The Chrome facts were checked against Chrome's declarativeNetRequest reference on developer.chrome.com, not a live browser, and the Header Switch details against its code. Chrome menus can change between versions.