Content Security Policy Builder
Compose a Content-Security-Policy with explanations and a weakness review, and build a Permissions-Policy header.
Open toolPaste response headers to get each one explained and checked: HSTS, CSP, cookies, caching, CORS and information leaks.
Not yet professionally reviewed. This tool’s formulas and wording have not been checked by a qualified professional. Use the results as an estimate and verify anything important.
A planning and formatting aid, not a security or compliance audit. It doesn't test your live site; check every change in a staging environment and with your server or provider's documentation before deploying.
Copy response headers from your browser's dev tools or curl -I and paste them in. Every header gets a plain-language explanation, and common security and caching settings are checked: HSTS (max-age, includeSubDomains and the preload requirements published by hstspreload.org), Content-Security-Policy weaknesses, clickjacking protection, nosniff, Referrer-Policy, cookie Secure/HttpOnly/SameSite flags, CORS mistakes such as * with credentials, missing Vary: Origin, version banners and duplicate headers.
Nothing is fetched: you choose exactly which response to analyse. Everything runs in your browser: nothing you paste or type is uploaded, and no website, DNS server or API is contacted.
Your code or text
Pasted or opened from a file
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Ready to download or copy
In dev tools open the Network tab, pick the document request and copy its response headers (or run curl -I).
Paste them and tick whether they came over HTTPS.
Work through the checks, most serious first.
Zero-upload architecture
Free, with no sign-up or watermark · Your files stay on your device
Launch the app and add your file. There is nothing to install and no account to create.
Paste them and tick whether they came over HTTPS.
Work through the checks, most serious first.
Compose a Content-Security-Policy with explanations and a weakness review, and build a Permissions-Policy header.
Open toolBuild correct CORS headers for your API from allowed origins, methods and headers, with nginx and Express examples.
Open toolExplain any HTTP status code with likely causes, and turn a pasted list of URLs and statuses into a grouped report.
Open toolPaste response headers and check security headers (HSTS, CSP, framing, nosniff, cookies, CORS) with plain-language fixes.
Open tool