Cross-Origin-Embedder-Policy Builder & Analyzer
Generate or analyze Cross-Origin-Embedder-Policy values. Validates unsafe-none, require-corp, credentialless, and credentialless=* forms, explains COEP interactions with CORP and CORS, and highlights cross-origin-isolation compatibility 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
Four accepted values, one of them the default non-policy
Cross-Origin-Embedder-Policy accepts only unsafe-none, require-corp, credentialless and credentialless=*. Analyze matches your text case-insensitively and returns one row with the value, a Valid or Invalid verdict and an assessment; build normalises the selected token to lower case and prints the response line. A plausibly spelled token such as same-origin is reported invalid rather than guessed at.
The moment you want it: an asset that stopped loading
The header usually appears when someone enables cross-origin isolation for SharedArrayBuffer, timers or WebAssembly threads, and a font, image or embed from another origin stops rendering. Pasting require-corp into analyze confirms what the document asks for and spells out the consequence: each cross-origin subresource must opt in with Cross-Origin-Resource-Policy or a CORS response.
Choosing between require-corp and credentialless
require-corp is the strictest value and the likeliest to break a widget that has not opted in. The two credentialless forms keep no-CORS requests working without credentials, a compatibility compromise rather than a guarantee: the tool accepts both spellings and labels them as credentialless embedding, but cannot predict browser support or whether a vendor asset will load. unsafe-none is the absence of a restriction, not a recommendation.
A header is a request, never an isolation guarantee
Nothing here verifies that isolation took effect: COEP only works alongside Cross-Origin-Opener-Policy on the document and matching policies on the subresources, and the check covers token spelling, not your deployment. Confirm the value you intend to ship, then test the real pages.
The policy string is inspected locally
Analysis and generation run inside this page, so a policy string copied from an internal staging origin is never uploaded and no request leaves the tab.
Questions
What does require-corp do?
It requires cross-origin resources to explicitly opt in through CORP or CORS before the document can embed them.
What does credentialless change?
It permits some no-CORS cross-origin resources without credentials, reducing credential leakage while preserving more compatibility than require-corp in some cases.
Does COEP alone enable cross-origin isolation?
No. Cross-origin isolation generally also needs compatible COOP and resource response policies, plus browser support.
Related tools
See category- Cross-Origin-Opener-Policy Builder & Analyzer
- Cross-Origin-Resource-Policy Builder & Analyzer
- Permissions-Policy Builder & Analyzer
- :nth-child An+B Evaluator
Cross-Origin-Opener-Policy Builder & Analyzer
Build or inspect browsing-context opener isolation.
Cross-Origin-Resource-Policy Builder & Analyzer
Build or inspect CORP resource-embedding policies.
Permissions-Policy Builder & Analyzer
Build or inspect browser capability policy directives.
:nth-child An+B Evaluator
Parse CSS An+B (:nth-child, :nth-of-type) microsyntax, validate it, and list which child indices it matches.