Web
CSP Builder
Build a Content-Security-Policy header from common directives.
Free online csp builder — runs entirely in your browser. Nothing is sent to our servers.
Build a Content-Security-Policy header sketch. Test carefully — CSP breaks sites easily.
default-src
script-src
style-src
img-src
font-src
connect-src
frame-ancestors
base-uri
form-action
object-src
Content-Security-Policy
meta tag
About this tool
Use this free browser-based csp builder when you need a quick web utility without installing software. Processing stays on your device for privacy. Related searches: csp, content-security-policy, headers, security.