← IOKIG
free · chrome extension
Header Injector icon — an amber inject arrow driving into a header field.

Header
Injector

Add, modify & remove request and response headers on any page — each a rule you can flip on and off, scope to where it belongs, and group into profiles.

Built on Manifest V3 and declarativeNetRequest, so headers hit the real network layer — no interception scripts, and it works on everything from page loads to websockets.

Header Injector popup — a Default profile with two rules: an X-Api-Version request header set on api.example.com, and an X-Frame-Options response header being removed, above the Add / Paste / Import / Export controls.
the popup

write a rule, aim it, done

WRITE A RULE

Name a header and a value, then choose set, append, or remove — on the request or the response.

SCOPE IT

Leave it global, or aim it with wildcard/regex URL patterns, HTTP methods, and resource types.

GROUP & TOGGLE

Keep dev / staging / prod sets in separate profiles, flip rules on or off, or bypass everything at once.

what's under the hood

REQUEST & RESPONSE

Add, overwrite, append, or remove headers on outgoing requests and incoming responses — strip a CSP, fix a CORS header, spoof a User-Agent.

EVERY REQUEST

Applied by Chrome's own network layer via declarativeNetRequest — page loads, fetch/XHR, images, even websockets. No per-request scripts, no overhead.

PRECISE SCOPING

Target a rule by wildcard or regex URL, by HTTP method, and by resource type. Leave it blank and it applies everywhere.

PROFILES

Group rules into named profiles — dev, staging, prod — and switch the whole set with one dropdown. Only the active profile is live.

PASTE OR IMPORT

Paste a headers block or a curl command to build rules instantly, or import/export your whole setup as JSON. It reads other tools' exports too.

SYNCED & INSPECTABLE

Rules sync across your machines via your Chrome profile, a toolbar badge counts the live ones, and a debug panel shows what fired on the current tab.

Get the extension

Install it free from the Chrome Web Store, or read the source and build it yourself from GitHub.