Free Tool

Content Security Policy Generator
a strict CSP header in minutes

Generate a Content Security Policy header from a guided form. Pick directives, configure nonces and strict-dynamic, choose Report-Only or enforcing mode, and copy a ready-to-ship policy. Built for engineers rolling out CSP and pentesters writing remediation guidance. Runs entirely in your browser.

No credit card required. Free plan available forever.

Loading tool...

Want to verify the policy after you ship it?

SecPortal scans Content-Security-Policy alongside 15 other external modules and grades the response on a live engagement record. Start free.

No credit card required. Free plan available forever.