Instructions ยท Content Security Policy Validator

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Paste one policy value or one named CSP header, choose a UTF-8 text file, or select Open Sample.
  3. Choose Enforcing HTTP Header, Report-Only HTTP Header, or HTML Meta Content, then select Validate Policy.
  4. Review the findings and parsed directives. Select Go to Source to locate a finding, or Edit Policy to change the input.
  5. 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.