Content Security Report Analyzer
Paste CSP violation reports (report-uri or Reporting API) and see what was blocked, grouped by directive and source, with a suggested allow-list. Extension noise removed.
Tool
About this tool
About Content Security Report Analyzer
When your Content-Security-Policy runs in Report-Only mode, browsers send a JSON report for everything it would have blocked. Hundreds of reports are hard to read. Paste them here (one per line, an array, or a log file) and the analyzer groups them by directive and blocked source, counts them, shows example pages, ignores reports caused by browser extensions and suggests the sources to add – while warning about inline scripts and eval, which should be fixed rather than allowed.
How it works
Example
How to use this tool
- Paste the reports your endpoint received, or open the log file.
- Look at the grouped list – the biggest groups first.
- Copy the suggested sources you trust into the CSP Policy Builder.
Frequently asked questions
Should I allow everything that was blocked?
No. A blocked source can be an attack or an unwanted extension. Only allow sources you added on purpose.
Which report formats work?
The classic report-uri format ({"csp-report": …}) and the Reporting API format (type csp-violation with a body), one per line or as a JSON array.
Is my data uploaded?
No. Everything runs in your browser and stays on this device.
Does the Content Security Report Analyzer send my data to a server?
No. The Content Security Report Analyzer runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.