Guides
Step-by-step guides to adding, changing and removing HTTP headers in Chrome, Edge and Firefox. Each one explains what the header does and when you need to change it. Where it applies, it also shows how to do the same with curl or DevTools, and what to watch out for.
Request headers
Add an Authorization header
Send a Bearer token or Basic credentials to one API, with a timer for short-lived tokens.
Convert a curl command to browser headers
Paste DevTools' Copy as cURL output and get a profile with its Authorization and custom headers, limited to that host. Runs in the page, no upload.
Set X-Forwarded-For
Test IP and geo logic behind proxies, and why servers should only trust the header from known proxies.
Change the User-Agent header
Replace the User-Agent servers see, and what stays unchanged (navigator.userAgent, client hints).
Remove a request header
Stop the browser sending Cookie, Referer, Accept-Language or any other header.
Custom headers for staging
Feature-flag, debug and routing headers sent only to the right environment, one profile per environment.
Basic auth without the login prompt
Send Authorization: Basic to a password-protected staging site, how to compute the base64 value, and how to keep it safe.
Change or remove the Referer header
Test hotlink protection, referral tracking and CSRF checks, and what Referrer-Policy and document.referrer do.
Test localisation with Accept-Language
q-value syntax, test cases for language negotiation, caching with Vary, and why navigator.language stays the same.
Test caching with Cache-Control
Request no-cache and max-age=0, response overrides, and what each one does in Chrome and Firefox, measured.
Set X-Real-IP
X-Real-IP vs X-Forwarded-For vs Forwarded, nginx set_real_ip_from and real_ip_header, and checking that production ignores forged values.
Change or remove the Origin header
Test server-side CORS and CSRF checks, and why the browser's own CORS check still uses the real origin, measured.
Test with Cookie and Set-Cookie
Send fixed cookies, strip them, or remove and rewrite Set-Cookie, and what each does to the cookie jar and document.cookie, measured.
Send a cookie without setting it
Add name=value to the Cookie header of every request to one site without touching the cookie jar, or store a cookie without the server, measured.
Authorization for GraphQL requests
A Bearer token on fetch() POSTs to /graphql only, what happens to the CORS preflight, and WebSocket subscriptions, measured.
Headers browsers won't let you change
Sec-Fetch-*, client hints, Host, Connection, Content-Length and more: what an extension can set or remove in Chrome and Firefox, header by header.
Headers only on requests made by one site
Add a header when the page making the request is on your localhost app, not when the same API is called from other tabs. Chrome and Firefox, measured.
Modify headers in one tab only
Send a header from one tab while other tabs on the same site stay unchanged, and what it misses (popups, new tabs, service workers), measured.
Response headers
Security headers checker
Paste a response's headers from DevTools or curl -I: CSP, HSTS, framing, nosniff, cookies and CORS get a verdict, and the fixes become a HeaderDial profile you can try before deploying. Runs in the page.
CORS error explainer
Paste a "blocked by CORS policy" or "Cross-Origin Request Blocked" console line. It names the cause, says whether the request reached the server and whether headers can fix it, writes the Express, nginx or Apache config, and builds a profile to test the fix first. Runs in the page.
Why was my cookie blocked?
Paste the cookie warning from Chrome DevTools or the Firefox console, or a Set-Cookie line with your page and API URLs. It explains SameSite, Secure, Domain, Path and third-party blocking, writes the corrected line for Express, PHP, Django or nginx, and builds a profile to test it. Runs in the page.
CSP builder
Generate a Content-Security-Policy from presets and toggles, or paste one to edit, with each weak spot explained. Then test it as Report-Only on your live site in your own browser. Runs in the page.
Embed a site in an iframe: remove X-Frame-Options and frame-ancestors
Fix "Refused to display … in a frame" while testing: which response headers to remove, and why the rule must match the framed site, measured in Chrome and Firefox.
Fix a “blocked by CORS policy” error while testing
Look up each Chrome and Firefox CORS error with its cause and fix, and see how adding headers compares with --disable-web-security, measured in Chrome 159 and Firefox 158.
CORS headers for local development
Add Access-Control-Allow-Origin while developing: simple and preflighted requests, credentials, safe scoping.
Modify Content-Security-Policy
Remove or replace CSP, X-Frame-Options and other response headers to debug blocked resources and framing.
Override Content-Type
View a file in the tab instead of downloading it, unblock a script blocked by nosniff, and where Firefox differs, measured.
Test with Strict-Transport-Security (HSTS)
Remove or change HSTS on a test host, why that does not undo a policy the browser already stored, and how to clear one.
Override headers in Chrome DevTools
Local overrides and .headers files: what they change, why they stop when DevTools closes and miss CORS preflights, and when an extension is better, measured.
URLs
Redirect a URL to localhost
Load a production script or API from your dev server: text replacement or regex redirects, and what stops one working (CORS, integrity, loops), measured.
Switching tools
ModHeader alternatives compared
Requestly, Header Editor, Tweak, Simple Modify Headers, DevTools overrides and HeaderDial side by side: features, accounts, open source, price and store users, checked 2026-11-20.
Moving from a removed header extension
Import profile exports from an extension that was pulled from the stores, and how to vet any header extension.
Recover ModHeader profiles without an export
Read a disabled ModHeader's data folder in your browser, with no upload, and get an importable JSON file back.
Is ModHeader safe?
What the July 2026 reports found and did not find, what to do if you used it, and how to check any header extension's permissions and network requests.
Modify headers in Firefox
HeaderDial for Firefox 128 or later: site access, the same profiles, filters and import as in Chrome, and Firefox's built-in Edit and Resend.
Modify headers in Microsoft Edge
Install HeaderDial in Edge from the Chrome Web Store, the pause shortcut and InPrivate, and what Edge DevTools can do on its own.
Add to ChromeFirefox: coming soon