Skip to main content

Developer

CSP Header Parser Documentation

Break a Content-Security-Policy header into its individual directives and sources for review.

Use CSP Header Parser
What does it do?

Break a Content-Security-Policy header into its individual directives and sources for review.

How does it work?

SiteIndex splits a pasted Content-Security-Policy value on semicolons, then lists each directive with its allowed sources in an easy-to-scan table.

When to use it
  • Review a CSP header before deploying a security policy change.
  • Spot an overly permissive or missing directive at a glance.
  • Document the current CSP rules for a page or application.
Inputs and outputs
Input
Text, files, or values entered in the browser, depending on the tool.
Output
A result shown in the browser that can be reviewed or copied where supported.
Limitations
  • Results depend on the input, browser, network, and external service involved.
  • This tool is informational and does not replace specialist diagnostics.
Privacy and data handling

Inputs for this browser-side tool are processed locally and are not sent to SiteIndex. Normal page analytics may still be collected as described in the Privacy Policy. Read the Privacy Policy.

How to use it

  1. Open the tool and enter the requested input.
  2. Run the check or conversion.
  3. Review the result and act on it within the limitations above.

Related tools