Content Security Policy Analyzer
Analyze one pasted CSP policy locally. Identify duplicate directives, broad sources, risky allowances and absent independent controls.
How to use it
- Paste a single CSP policy value or an enforcing or Report-Only header line.
- Review effective first occurrences, syntax notes and controls that do not fall back to default-src.
- Compare advice with resources your site needs and test changes against actual supported browsers.
For example, default-src 'self'; object-src 'none' constrains many resource types. Browser CSP behavior also depends on other delivered policies, context and support.
Related guides
- How HSTS Changes Future Visits to a Website
- How to Diagnose Mixed Content on an HTTPS Website
- How TLS Certificates, Chains and Private Keys Work Together
Related tools
Frequently asked questions
Does Report-Only block requests?
A Report-Only header collects policy observations without enforcing that header.
Which duplicate directive is used?
Within one policy, a later duplicate directive does not replace the first.