C
CSP Header Builder
Build Content-Security-Policy headers with an interactive directive editor.
Networking
v1.0.0
Free
288 uses
C
CSP Header Builder
Esc
or
Ctrl+Shift+F
to exit
-
About This Tool
An interactive builder for constructing Content-Security-Policy headers through a guided directive editor. Designed for web developers and security professionals who want to create secure CSP headers without memorizing directive syntax. Add sources for scripts, styles, images, and other resources through an intuitive interface and generate a ready-to-use policy.
How to Use
- 1 Select the CSP directives you need (script-src, style-src, img-src, etc.)
- 2 Add allowed sources for each directive using the interactive editor
- 3 Preview the complete CSP header as you build it
- 4 Copy the generated Content-Security-Policy header for your server configuration
More Tools in Networking
U
URL Parser
NetworkingBreak down URLs into their components: protocol, host, path, query parameters, and fragment.
I
IP Range Calculator
NetworkingConvert between IP ranges and CIDR notation, calculate host counts.
I
IPv6 Expander / Compressor
NetworkingExpand compressed IPv6 addresses and compress expanded ones.