CSP Analyzer - Online Test & Improve Policy
Paste a Content‑Security‑Policy header and get a human‑readable breakdown. See potential risks and suggestions.
UD5 Toolkit
Online simulator to view CSP violation reports, deprecation warnings, network errors & more. See exactly what browsers send to your reporting endpoint.
No reports yet.
Click a button above to generate one.
Reporting-Endpoints HTTP response header to your site: Reporting-Endpoints: main="https://your-server.com/reports"report-to main (modern) or the legacy report-uri directive. For deprecation and other report types, use the Report-To header (older) or configure via Reporting-Endpoints (newer spec). Ensure your endpoint server accepts POST requests with Content-Type: application/reports+json.
report-uri is the legacy CSP directive that specifies a single URL for CSP violation reports. report-to is the modern replacement that references a named endpoint group defined in the Report-To or Reporting-Endpoints header, supporting multiple endpoints, load balancing, and failure handling. Browsers are gradually deprecating report-uri in favor of report-to, but many still support both for backward compatibility.
csp-violation) for blocked resources; Deprecation (deprecation) for use of deprecated web platform features; Network Error Logging (network-error) via NEL; Intervention (intervention) when the browser overrides certain behaviors; and Crash (crash) reports for page crashes. Each type has its own JSON schema structure.
document.write() to trigger a deprecation report; (5) Check Chrome DevTools under Application → Reporting API to see pending reports; (6) Monitor your endpoint server logs for incoming POST requests.
report-uri but limited support for the full Reporting API. Safari supports CSP violation reporting via report-uri but does not yet fully implement the Reporting API spec. Always provide fallback mechanisms and check Can I Use for the latest compatibility data.
document.write(), synchronous XMLHttpRequest, deprecated shadow DOM APIs, and legacy TLS versions. These reports help you proactively find and fix issues before browser updates break your site. They include an anticipatedRemoval date so you know how urgently action is needed.
Defines named endpoint groups with URLs, priorities, and failover rules for report delivery.
Use Content-Security-Policy-Report-Only to test policies without blocking resources.
Network Error Logging pairs with Reporting API to capture DNS, TCP, and TLS failures.
Browsers batch reports and send them in groups to reduce network overhead and improve efficiency.
Paste a Content‑Security‑Policy header and get a human‑readable breakdown. See potential risks and suggestions.
A tiny tool that hooks into the console and lets you export all messages to a file. Helpful for non‑technical bug reporting.
Test the Web Share API by sharing text, links, and files directly from the browser. Check compatibility and see example code.
Request permission and detect when the user is idle (away from keyboard). See screen lock state. For native‑like apps.
Convert comma‑separated data into a series of SQL INSERT statements. Define the table name and column order. Local.
See the View Transitions API in action. Cross‑fade and morph between two states. Copy the JavaScript starter code.
Paste SQL INSERT statements and extract the data into a clean CSV table. Works with multiple rows. Local parser.
Test the Fullscreen API: request fullscreen on a colored div, detect changes, and copy the JavaScript boilerplate.
Add web content to the device’s content index (like Google Discover). See the indexed items and delete them.
Watch for updates to aria‑live regions and log what a screen reader would announce. Debug live regions.
Select a SQL clause (JOIN, GROUP BY, HAVING) and get a ready‑to‑run example query with explanation. Great for learning and teaching SQL.
Based on desired annual income and billable days, calculate your minimum day rate. Don't undercharge.
Enter a URL and get a rough client-side performance simulation: request count, DOM size, and potential speed tips. No real Lighthouse.
Enter a URL and click to check if it's reachable from your browser (CORS-limited, uses no-cors fetch). Quick manual test. Local only.
See exact dimensions of your current browser inner/outer window, screen resolution, and pixel ratio. Developer debug.
Accurate online stopwatch with lap and split time capabilities. Start, pause, and reset. Ideal for sports and presentations. Runs natively in the browser.
Breakdown of expected costs (materials, appliances, etc.) for a tiny house. Adjust percentages or enter custom. Local calculation.
Enter a URL and get a one‑page report of titles, description, headings, image alts, and broken links. All from browser.
Calculate how many rolls of wallpaper you need based on wall dimensions, roll size, and pattern repeat. Avoids overbuying. Simple and local.
Calculate the break‑even point in units and dollars. Input fixed costs, variable cost per unit, and price.
Paste HTML or Markdown to count total words, unique words, heading distribution, and reading time. Content audit helper.
List assignments with estimated minutes. See total time and break into Pomodoro sessions. Stay motivated.
Paste your email body and subject, and get a spam score based on common trigger words and patterns. Improve your cold outreach.
Create a pure CSS scroll progress indicator using animation‑timeline: scroll(). No JavaScript. Copy the complete code.
Enter a URL and see live mocked previews for Facebook, Twitter, LinkedIn, and Slack based on its meta tags. Find missing tags.
Track freezer contents with type, date frozen. See what's been in too long. Simple grid view. Data local.
Create a multi‑line text truncation using the standard line‑clamp property. Choose lines. Copy the clean CSS.
Enter pins per roll and calculate total bowling score including strikes and spares. Supports 10 frames. Learn scoring rules visually.
Enter the amount of leftover paint and see how many square feet it still covers. Plan touch-ups.
Decode an image progressively using the ImageDecoder API. See partial results and metadata. Modern alternative to <img>.