How to use CSP Violation-Report Analyzer
- Paste a Reporting API array of csp-violation events or a supported legacy csp-report object. Keep the collection within 1 MiB and 1,000 events.
- Run Analyze CSP reports. Read which entries were accepted or skipped and compare directive counts with their stated enforcing or report-only disposition.
- Inspect document/referrer origins and blocked-source summaries. Unknown directives and dispositions remain unknown rather than being inferred.
- Download the normalized event CSV if needed. Paths, queries, fragments, credentials, script samples and the original policy are omitted; origins can still identify a site.
Example: CSP Violation-Report Analyzer
Group one enforcing img-src report and one report-only script-src report.
Options
- Violation reports as JSON
- Up to 1 MiB and 1,000 events. Paste the Reporting API array or a legacy {"csp-report": ...} object. Reports remain in your browser.
Supported inputs and limits
- Up to 1 MiB and 1,000 supplied events in the supported Reporting API or legacy format.
- Unsupported entries are skipped and reported.
- Directives are matched against a fixed list; unrecognized names or dispositions remain unknown.
- URL details, samples, original policies and unsupported extensions are omitted from normalized output.
- No URL is fetched, report authenticated or current policy discovered.
More details
Even an event marked enforce is a supplied claim, not proof that a real browser blocked an operation.
Where your input is processed
This tool does not upload your inputs. See the limits for anything saved on your device.
Reports are observations supplied by someone else
An enforcing event and a report-only event have different meanings, so keep their groups separate. Reports can be incomplete or forged and do not establish a site’s current policy. URL values are reduced to the supported scheme/origin representation; samples and arbitrary extensions are omitted rather than copied into exports.
Questions about CSP Violation-Report Analyzer
Are URL tokens exported?
Detailed path, query, fragment and credential values are omitted by the supported sanitization.
Does a report prove a current policy?
No. Supplied reports can be stale, partial or forged.
Are script samples included?
No. Samples and unsupported extensions are omitted from the report.