Local StudioSECURITY TOOLS CSP Validator
100% Offline Download Tool Tools Catalog

Content Security Policy Validator

Check Content Security Policy text and jump from findings to the exact directive or source.

Policy Source

Paste one policy value or one named CSP header.

Validation Settings

Rule Set

Instructions

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

Security Check

Content Security Policy Validator

Check supplied CSP text on your device.

  • Open Policy TextPaste a policy or choose a local UTF-8 text file.
  • Check SyntaxFind duplicates, malformed text, and delivery restrictions.
  • Locate the IssueJump to the source, edit, and validate again.

Local Security Check

Checking This Tool

Checking the launch, browser policy, and resources.

    These checks cover this tool page. Website links open only when selected.

    File Access

    Check one policy value or header text on your device.