All tools

Content Security Policy Builder

Build a Content-Security-Policy header by configuring source lists and supported policy directives.

Content Security Policy Builder
Output
Waiting for input

Input and result notes

CSP directives constrain resource sources; overly broad allowlists weaken them. Test scripts, styles and embedded resources against real pages before enforcing the generated policy.