SSL & Security
CSP Checker
Check a domain's Content-Security-Policy
Tool features
CSP Detection
Header Analysis
Configuration Validation
Best Practices
What is a Content Security Policy & how it works
A Content Security Policy (CSP) is a response header that tells the browser which sources of scripts, styles, images and other content it may load. By allow-listing trusted origins and blocking everything else, CSP is the strongest defence against cross-site scripting (XSS) and content injection.
The policy is published as a Content-Security-Policy header made of directives such as script-src and default-src, each naming permitted sources. This tool reads the live header, breaks it down directive by directive, flags unsafe values like 'unsafe-inline' or *, and scores the overall configuration alongside related security headers.
How to use this tool
example.com — the page is requested over HTTPS.