Request a tool
WEBSITE SECURITY TOOLS · FREE ONLINE TOOL

Content Security Policy Checker

Parse and grade any website Content Security Policy directive by directiveCross-site scripting is still one of the most exploited web vulnerabilities, and a Content Security Policy is the closest thing to a cure. Enter a URL and get your live policy parsed into a readable, directive-by-directive view.

✓ Free to use✓ No sign-up✓ Ready in your browser
// CONTENT SECURITY POLICY CHECKER · GET STARTED

Use Content Security Policy Checker

Parse and grade any website Content Security Policy directive by directive

// CONTENT SECURITY POLICY CHECKER · HOW IT WORKS

How to use the Content Security Policy Checker

01

Enter URL

Enter the website URL you want to test (e.g. https://example.com).

02

Parse the policy

Click "Check CSP" and wait while the policy is fetched and parsed.

03

Review the grade

Review the A to F grade and the directive-by-directive findings.

// CONTENT SECURITY POLICY CHECKER · ABOUT THIS TOOL

About the Content Security Policy Checker

Content Security Policy is the single most effective browser-level defense against cross-site scripting. The CSP Checker fetches the live policy, parses every directive, and shows you what it actually permits.

Every directive gets a plain-language verdict, plus an A to F grade and concrete fixes for common weaknesses.

Where it helps most

Turning a scary header into a manageable checklist.

Pre-review audits

Audit your own policy before a security review and see exactly where it stands today.

Debugging blocked scripts

Find exactly which directive is blocking legitimate scripts, instead of guessing blindly.

Vendor sanity checks

Verify a vendor's claims about their security posture with your own eyes.

Report-only rollouts

Use violation reports to build an accurate allowlist before flipping enforcement on.

Reading the report

The weaknesses that quietly gut a policy.

unsafe-inline and unsafe-eval

These permit exactly the attack vector a CSP is meant to close; the fix is moving toward nonces or hashes.

Wildcards and data: URIs

Wildcard sources and data: URIs in script-src open holes that attackers love to abuse.

Missing directives

Missing object-src and base-uri leave gaps in coverage; the report flags what your policy forgot.

Content Security Policy Checker: built for trust

Each finding explains why it matters in plain language, not spec jargon. No signup needed.

// CONTENT SECURITY POLICY CHECKER · COMMON QUESTIONS

Content Security Policy Checker FAQs

It gives the browser an allowlist of trusted sources for scripts, styles, images, fonts, and frames. Anything not on the list is blocked, which stops most cross-site scripting attacks even if an attacker manages to inject code into your page.