Instructions ยท Content Security Policy Validator
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Paste one policy value or one named CSP header, choose a UTF-8 text file, or select Open Sample.
- Choose Enforcing HTTP Header, Report-Only HTTP Header, or HTML Meta Content, then select Validate Policy.
- Review the findings and parsed directives. Select Go to Source to locate a finding, or Edit Policy to change the input.
- Run Validate Policy again after correction. Browser enforcement is outside the static checks.
Check one pasted policy value or named CSP header up to 65,536 characters, or open one UTF-8 text file up to 64 KiB. Runtime enforcement is unevaluated.