🔐
Security Header Tester
HTTP security header analysis & remediation snippets
Target URL
Examples: google.com github.com cloudflare.com mozilla.org

ⓘ Tests HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and more.

⚠ CORS Limitation Detected — Modern browsers block cross-origin HEAD requests due to security policies. The results below show recommendations based on a typical unconfigured server. To inspect real headers, use Browser DevTools → Network tab and check the response headers for the page's main document.
Fetching security headers…
—
—
Security Score: 0/100
Live analysis
Share MySysAd

⚠️ 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.

Add the security headers your site is missing

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.

Common questions

How do I check a website’s security 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.

Which security headers should every site have?

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.

How do I add security headers in nginx?

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.

Is HSTS safe to turn on?

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.

Why does my Content-Security-Policy break the site?

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