⚙️ CSP Generator

CSP Generator

Build a Content Security Policy header visually. Select sources per directive, add custom domains, and copy the ready-to-use header or server config snippet.

🚀 Quick Presets
Start from a common configuration
Presets are starting points — always review and customise for your site.
Content-Security-Policy
Configure directives on the left to generate your CSP header.
Server Config Snippet
Generate a CSP above to see the snippet.

Frequently Asked Questions