ⓘ Tests HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and more.
ⓘ Tests HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and more.
⚠️ IMPORTANT DISCLAIMER: The tools and scripts on this site are provided "AS IS" for educational purposes.
Review destructive commands before executing. By using this site, you assume all risk and agree to our Full Terms of Service.
Security headers tell browsers to enforce HTTPS, block clickjacking, limit where scripts load from and keep URLs private. Enter a URL and the tester grades what’s there and gives remediation snippets. Browsers don’t let one website read most other sites’ headers, so when a site blocks that, you’ll see what a typical unconfigured server needs, plus the command to check your real headers.
curl -sI https://example.com prints the response headers. In a browser, open DevTools, go to the Network tab, reload, click the first request and look at Response Headers.
Strict-Transport-Security (HSTS), Content-Security-Policy, X-Content-Type-Options: nosniff, Referrer-Policy, and either X-Frame-Options: SAMEORIGIN or the CSP frame-ancestors directive against clickjacking. Permissions-Policy turns off browser features you don’t use.
In the server block: add_header Strict-Transport-Security "max-age=31536000" always; and the same pattern for the others. Watch out: an add_header inside a location block replaces all the ones inherited from the server block, so repeat them there.
Once a browser sees HSTS, it refuses plain HTTP to your site for the max-age period. Make sure every subdomain works over HTTPS before adding includeSubDomains, and only add preload when you’re sure; leaving the preload list takes months.
CSP blocks anything not listed: inline scripts, scripts from CDNs and analytics, fonts and frames. Start with Content-Security-Policy-Report-Only to see what would be blocked, then add the sources you really use.
Related tools: SSL Checker · Port Reference · Nginx Location Tester · All tools A–Z
Most tools run entirely in your browser. Tools marked 📡 contact outside services, as listed in the Privacy Policy. Review commands before you run them; see the Terms.