CSP Header Generator Online - Free Content Security Policy Builder
Free online Content Security Policy header generator. Build CSP directives with an intuitive checkbox interface.
Directives
Default-Src
Script-Src
Style-Src
Img-Src
Font-Src
Connect-Src
Frame-Src
Object-Src
Media-Src
Child-Src
Output Formats
HTTP Header
HTML Meta Tag
Nginx Config
CSP Header Generator
Build Content Security Policy headers
Features
- Configurable CSP directives (default-src, script-src, style-src, etc.)
- Preset policies: Strict, Moderate, Permissive
- Support for common values: self, unsafe-inline, unsafe-eval, data, https
- Custom directive values
- Multiple output formats: HTTP header, HTML meta tag, Nginx config
- One-click copy to clipboard
- Real-time policy generation
Rate this tool
4.7 / 5 ยท 113 ratings
Stay Updated
Get weekly dev tips and new tool announcements.
No spam. Unsubscribe anytime.
Enjoy these free tools?
โBuy Me a Coffee