HeaderSwap – Modify HTTP Headers for Web Development

Add, change, or remove HTTP request and response headers for selected sites. HeaderSwap helps developers and QA teams test CORS behavior, set user agents, send authentication tokens, adjust security headers, and redirect URLs while developing and testing web applications.

Apply profiles to all sites or limit them to specific domains, URL patterns, or regular expressions.

Free plan available. Premium is $4 / month or $40 / year.

HeaderSwap editing request and response headers1 / 5

What Is HeaderSwap?

HeaderSwap is a Chrome extension for managing HTTP headers and URL redirects during web development and testing. Create profiles for different projects or environments, apply presets, and switch configurations when needed.

It uses Chrome’s declarativeNetRequest API. HeaderSwap changes headers but is designed not to read page content or network traffic - see the privacy policy for details.

Moving from ModHeader? Export profiles there, then paste JSON or drop the file into HeaderSwap for conversion where supported.

Key Features

Modify request headers

Add, change, or remove headers such as Authorization, Cookie, User-Agent, Referer, and custom X- headers.

Modify response headers

Change supported response headers, including those used when testing CORS or browser security behavior.

Site-specific rules

Apply settings to all sites or restrict them by domain, URL pattern, or regular expression.

URL redirects

Redirect URLs using regular expressions and capture groups.

Profiles by environment

Keep separate configurations for development, staging, and production.

Presets

Use supported presets such as Allow CORS, Disable cache, Mobile user agent, Remove CSP, and Bearer token.

Import from ModHeader

Import compatible profiles by pasting JSON or dropping an exported file.

Share and pause

Share profile configurations through links, and pause all configured modifications with one switch.

Free vs Premium

Free

$0

  • Unlimited request and response header rules, subject to the product’s current limits.
  • Domain, URL, and regex filters.
  • Up to 2 redirects per profile.
  • Up to 3 profiles.
  • Presets, import, export, and share links.

Premium

$4 / month or $40 / year

  • Unlimited profiles.
  • Unlimited redirects per profile.
  • Apply a profile to the current tab only.
  • Sync profiles across computers.
  • Cancel anytime.

Who Is HeaderSwap For?

Web developers

Test request and response behavior across local, staging, and production environments.

QA engineers

Reproduce header-related conditions and verify how applications respond to different headers.

API developers

Test authorization headers, user-agent behavior, and API routing scenarios.

CORS debugging

Adjust supported response headers to test CORS behavior during development. Changing browser-side headers does not replace correct server-side CORS configuration in production.

Security testers

Test selected browser and HTTP header configurations in authorized environments.

How to Use HeaderSwap

  1. Install HeaderSwap from the Chrome Web Store.
  2. Open the extension and create or select a profile.
  3. Add a header, choose a preset, or configure a supported redirect.
  4. Restrict the profile to the relevant domains or URL patterns.
  5. Grant site access if prompted, then reload the page to test the configuration.

Frequently Asked Questions

What are HTTP headers?

HTTP headers carry metadata between clients and servers. Developers use them for authentication, caching, content handling, and browser security policies.

Can HeaderSwap help test CORS?

It can modify supported headers for testing. Proper production CORS behavior still needs to be configured by the server or API owner.

Can I change the User-Agent?

The product supports setting the User-Agent header in applicable requests. Browser-level behavior and site restrictions may affect results.

Can I use different profiles for different projects?

Yes. Profiles can be used to separate configurations for different projects or environments. Free and Premium profile limits differ.

Can I import ModHeader profiles?

Yes. Export profiles from ModHeader, then paste the JSON or drop the file into HeaderSwap for conversion where supported.

Does HeaderSwap read my page content?

HeaderSwap is built on Chrome’s declarativeNetRequest API and is designed to modify headers without reading page content or traffic. See the privacy policy for details.

How much does Premium cost?

Premium is $4 / month or $40 / year.

Privacy

Profiles stay on your device unless you turn on Premium sync. Anonymous usage stats can be turned off. See the privacy policy for full details.

HeaderSwap privacy policy

Test HTTP Headers Without Repeating Manual Setup

Create profiles, target specific sites, and switch header configurations for your development and QA workflows.

Get HeaderSwap for Chrome

All Pick Ads extensions · Contact · Terms