COOP / COEP Headers Builder
Generate the COOP and COEP HTTP headers (Cross-Origin Opener/Embedder Policy) to isolate your origin. Required to safely use features like SharedArrayBuffer.
Isolating your origin to unlock SharedArrayBuffer
You tried to use SharedArrayBuffer, run ffmpeg.wasm with threads or call performance.measureUserAgentSpecificMemory, and the console told you the page is not isolated. The fix is to send two headers together, COOP and COEP, and the usual confusion is which pair of values actually flips crossOriginIsolated to true. This page builds both lines so you can paste them into your server config.
Both fields are free text with no validation at all: whatever you type goes into the line as is, and an empty field falls back to same-origin and require-corp. What matters is what each one does. COOP same-origin severs the link to windows from other origins, so window.opener becomes null. COEP require-corp demands that every cross origin resource arrive with Cross-Origin-Resource-Policy or CORS, while credentialless is the middle ground that fetches without credentials instead of requiring the header.
Once deployed, open the console and evaluate self.crossOriginIsolated. If it returns false, the culprit is almost always a CDN asset with no CORP, and the Network tab will show which request was blocked. Think twice before enabling this if your login flow uses an OAuth popup that talks back to the opener, or if you embed older third party widgets without CORP, because the breakage tends to be quiet in production. The tool writes two lines in your browser and never inspects your assets.
Frequently asked questions
Do I really need both headers?
My CDN images disappeared after enabling COEP. What now?
Does the builder validate the values I type?
Related Tools
CORS Config Validator
Validate a CORS configuration (allowed origins or *), checking the format and duplicates. Useful for safely configuring APIs and web servers.
Permissions-Policy Builder
Builds the Permissions-Policy header from a list of feature=allowlist entries (e.g. geolocation=()).
X-Content-Type-Options Header Check
Confirm X-Content-Type-Options is set to nosniff and explain MIME-sniffing risks when the header is missing.
Clear-Site-Data Header Builder
Build a Clear-Site-Data header (cache, cookies, storage, executionContexts) — useful on logout to wipe origin data.
Email Header Analyzer
Analyzes a raw email header: Received server chain, per-hop delays, SPF, DKIM, DMARC results and spoofing warning signs.
Network Error Logging (NEL) Builder
Build NEL and Report-To headers to send network error reports to your own endpoint with sampling fractions.