MuhammadLab
Browser-onlyCSP auditLearning mode

CSP Policy Viewer — Content Security Policy Formatter

Parse a Content Security Policy string into grouped directives, highlight risky values such as `unsafe-inline`, and review whether the policy includes common baseline controls such as `default-src`, `object-src`, and `frame-ancestors`.

Best for

CSP review

Input

Pasted policy

Output

Warnings and groups

CSP workspace

Paste a CSP header value, then inspect the directive groups and the values that need more caution.

Policy summary

Review the score, directive count, unsafe values, and nonce or hash usage at a glance.

Run the analysis to see directive counts, warning levels, and a policy score here.