CSP Checker

Paste a Content-Security-Policy header and check its directives for risky values.

Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.

CSP Checker

How to use this tool

  1. Enter your values in the fields above.
  2. Press Generate to see the result.
  3. Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.

Worked example

Pasting a policy with 'unsafe-inline' in script-src flags that value and counts the directives.

What this tool does not do / Limits

This tool only analyses a policy you paste here. It does not fetch, test or verify any live site or policy.

Frequently asked questions

Does this prove my site is secure?

No. It only flags common risky values in pasted text; a full review still needs testing of the real policy.

Does it check a live site?

No. It only reads the policy you paste, and it never contacts any site.

Related tools