Free tool
CSP policy analyzer
Paste a Content-Security-Policy header and get a letter grade and the reason for it, from the same rubric as the site scanner. Each finding says what it means and what to change, including allowlisted hosts known to serve script an injection can use.
No account, no email address, and nothing is uploaded. The analysis runs in JavaScript on this page, so your network tab stays empty. A share link carries the policy after the #, which browsers never send to a server.
The header name is optional. If you send both a Content-Security-Policy and a Content-Security-Policy-Report-Only header, paste both lines: each policy is analysed on its own.
Nothing to analyse yet. Paste a policy above, or load the example.
Policy grade
This grades the policy alone. A scan also grades the headers around it (HTTPS and HSTS, framing, nosniff, Referrer-Policy, cookies and script integrity) and reads the policy your site serves.
What this cannot tell you
It reads the header you paste. Whether your site serves this policy at all, whether a CDN rewrites it on the way out, and whether a page adds a second one in a <meta> tag are questions only a fetch answers, and the site scanner asks them. A header that passes every rule here can still block something you need: the vendor tag added last week, an inline handler in one old template, a font that only loads for signed-in users. Violation reports show you those, and no header check can.
See what your policy is blocking
Point the reporting directives at HeaderHawk and the violations arrive grouped by directive, blocked source and page, with the file, line and script sample behind each group. Free for 1 site.