Developer Tools
CSP Header Generator
Generate a Content-Security-Policy header from directives.
Input
CSP Header Generator
cspsecurity headerhttpgenerator
Output
Generated CSP header
Directives
6
Content-Security-Policy: default-src 'self'; script-src 'self' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' https://api.example.com; frame-ancestors 'none' <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' https://api.example.com; frame-ancestors 'none'" />
Related tools
JSON Formatter
Pretty-print raw JSON with configurable indentation.
JSON Validator
Validate JSON and get a clean parse result.
JSON Minifier
Compress JSON into a single-line payload.
JSON Diff
Compare two JSON documents and list what changed.
JWT Decoder
Decode JWT header and payload without verifying the signature.
Regex Tester
Run a regular expression against sample text and inspect matches.