Cross-Origin-Opener-Policy Builder & Analyzer
Generate or analyze Cross-Origin-Opener-Policy values. Validates same-origin, same-origin-allow-popups, unsafe-none, and restrict-properties, explains popup/opener isolation, and highlights compatibility tradeoffs locally.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
How the COOP checker reads a token
COOP is a single token rather than a list, so this tool matches the pasted value against the four defined policies and describes what it means. Analyze mode returns a one-row table with the normalised policy, a Valid verdict and a plain-language assessment; build mode echoes the token ready to paste into a header.
When opener isolation matters
Reach for it when a popup could abuse window.opener, or when you are pursuing cross-origin isolation for SharedArrayBuffer and precise timers. Checking the token before shipping avoids the surprise of an OAuth or payment popup losing the reference back to the page that opened it.
What the four values trade away
same-origin is the strict form, leaving the cross-origin document in a separate browsing context group so window.opener is severed. same-origin-allow-popups keeps popups the page opens working while isolating everything else. unsafe-none applies no isolation, and restrict-properties limits selected cross-origin window properties instead of cutting the relationship.
One header is not cross-origin isolation
COOP governs browsing-context relationships only. Cross-origin isolation also needs a compatible Cross-Origin-Embedder-Policy. Values are matched case-insensitively, so Same-Origin normalises, while an unknown token is reported invalid with the accepted values listed.
Described on this device
The token is compared and explained by code already in the page, with no request to a server, so a policy being drafted for an unreleased site stays private.
Questions
What does COOP isolate?
It controls whether a document shares a browsing context group with cross-origin windows, affecting window.opener relationships and popup communication.
Does COOP alone enable cross-origin isolation?
No. Cross-origin isolation commonly also requires compatible Cross-Origin-Embedder-Policy and resource headers.
What is the popup tradeoff?
same-origin is stricter, while same-origin-allow-popups preserves selected opener relationships but provides less isolation.
Related tools
See category- Cross-Origin-Resource-Policy Builder & Analyzer
- Origin-Agent-Cluster Builder & Analyzer
- HTTP Security Headers Analyzer
- :nth-child An+B Evaluator
Cross-Origin-Resource-Policy Builder & Analyzer
Build or inspect CORP resource-embedding policies.
Origin-Agent-Cluster Builder & Analyzer
Build or inspect origin-keyed browsing isolation signals.
HTTP Security Headers Analyzer
Review pasted HTTP response headers for common browser security protections.
:nth-child An+B Evaluator
Parse CSS An+B (:nth-child, :nth-of-type) microsyntax, validate it, and list which child indices it matches.