CSP Header Generator
Build Content-Security-Policy (CSP) headers using a visual editor. Configure directives for scripts, styles, images, fonts, frames, and more. Output as an HTTP header, HTML meta tag, or Nginx/Apache configuration. CSP helps prevent XSS attacks and data injection vulnerabilities.
Directives
CSP Header Value
Ln 1, Col 1
1 lines139 chars
HTML Meta Tag
Ln 1, Col 1
1 lines193 chars
Nginx Config
Ln 1, Col 1
1 lines177 chars