CSP Evaluator

All tools

Options

Grade
-
Critical
0
Warnings
0
Passes
0

Findings

Normalized directives

What is a CSP Evaluator?

A CSP Evaluator reviews a Content-Security-Policy header and highlights directives that may weaken browser-side protection.

It is useful when tuning XSS defenses, reviewing application headers, comparing policies, or preparing a stricter production CSP.

How to use the CSP Evaluator

  1. Paste a Content-Security-Policy header into the input field.
  2. Click Evaluate CSP or enable automatic evaluation.
  3. Review critical findings, warnings, passed checks, and the normalized directive list.
  4. Adjust your server configuration and test again.

Related tools

You may also find these tools useful.

CSP Evaluator FAQ

Does this tool fetch my website headers?
No. Paste the CSP header manually. Use the Security Headers Checker if you want to scan a URL.
Is unsafe-inline always bad?
It weakens CSP for scripts. It is sometimes used during migrations, but a nonce or hash based policy is safer.
Should every policy include frame-ancestors?
Most web apps should set frame-ancestors to reduce clickjacking risk, unless embedding is intentionally required.
Is my CSP stored?
No. Evaluation happens in your browser.