CSP Evaluator
CSP Evaluator
Analyze CSP header strings for missing directives, duplicate rules, and weak security patterns.
Evaluation Report
About the CSP Evaluator Online Free Tool
The CSP Evaluator Online Free Tool reviews a Content-Security-Policy header string for common missing or risky directives. It summarizes directives and highlights basic security warnings.
How to Use the CSP Evaluator Online
- Paste a CSP header value.
- Use the sample policy if you want a known starting point.
- Evaluate the policy.
- Review the directive list and warning messages.
Choosing Options Correctly
Paste only the policy value, not the entire HTTP response. Evaluate both report-only and enforced policy drafts before deploying changes.
Common Use Cases
- Check whether a CSP includes object-src and frame-ancestors.
- Spot unsafe-inline or unsafe-eval usage.
- Review generated CSP output before testing in a browser.
Quick FAQ
Is this a full CSP audit?
No. It is a practical basic evaluator; complex policies still need browser testing and security review.
Can warnings be acceptable?
Sometimes. A warning means the directive deserves review in the context of your application.
Does it send my CSP anywhere?
No. The pasted policy is evaluated in the browser.
Why should I test in a browser too?
Browsers show real violations from your live scripts, styles, frames, and third-party resources.
Related Tools
CSP Generator
Build Content-Security-Policy headers from common directives for production-ready deployment.
CSP Nonce Hash Generator
Generate CSP nonce and hash values for inline scripts.
HTTP Header Checker
Parse and inspect raw HTTP headers with duplicate detection and security header checks.
Color Contrast Checker
Check WCAG AA/AAA contrast ratio between two colors.