Home / Free tools / Security / Security Headers Checker
Security Headers Checker
Paste your site's response headers and get a plain-language review of HSTS, CSP, cookies, framing and more, with suggested values.
Get headers with curl -sI https://your-site.example or from your browser's developer tools (Network tab, click the page, Response Headers). Nothing is fetched by this page.
Runs in your browser. Nothing you paste or choose is uploaded or stored.
What this security headers checker does
HTTP security headers are instructions a website sends to the browser: always use HTTPS, only run scripts from these places, do not let other sites put this page in a frame, and so on. They are cheap to add and block whole classes of attack. This tool reads the response headers you paste and reports which important ones are missing, weak or fine, with a suggested value and a link to the documentation for each.
You paste the headers; the tool does not fetch your site. That keeps it private and avoids a server making requests on your behalf. It also means it only sees what you paste.
What it checks
- Strict-Transport-Security (HSTS): present, and a max-age of at least six months, ideally a year.
- Content-Security-Policy: present, and free of broad allowances such as
unsafe-inline,unsafe-eval, wildcards, and missingobject-src,base-uriandframe-ancestors. - X-Content-Type-Options, Referrer-Policy, Permissions-Policy and clickjacking protection (
X-Frame-Optionsorframe-ancestors). - Cookies. Each
Set-Cookieis checked forSecure,HttpOnlyandSameSite. - Information leaks.
ServerandX-Powered-Byvalues that reveal version numbers, a permissive CORS setup, and the obsoleteX-XSS-Protection. - Cross-origin isolation headers (COOP, CORP, COEP) are shown as optional.
Worked example
Load the example. The server announces nginx/1.18.0 and PHP/7.4.3 (both reveal versions), HSTS lasts only a day, the CSP allows unsafe-inline scripts and any https source, one cookie lacks Secure and SameSite, there is no referrer or permissions policy, and CORS allows every origin. The tool lists each issue with the value to use instead and shows what is already fine.
Limits
Headers are one layer. A site with perfect headers can still have application bugs, and one with missing headers can still be well built. Recommendations are general: test a new Content-Security-Policy in report-only mode before enforcing it, because a strict policy can break a site. This tool looks for patterns and known issues. It cannot prove that anything is safe, and a result of "none detected" is not a guarantee. It is not security, legal or financial advice.
Sources and date checked
Checked on December 4, 2026. Rules and rates change, so open the source before you rely on a figure for a filing, a contract or a roadside check.
- OWASP Secure Headers Project: recommended headers and values
- MDN: Content-Security-Policy
- MDN: Strict-Transport-Security
- MDN: Set-Cookie: Secure, HttpOnly and SameSite attributes
- MDN: Referrer-Policy
Questions
How do I get my site's response headers?
Run curl -sI https://yoursite.example in a terminal, or open your browser's developer tools, choose the Network tab, reload, click the first request and copy the Response Headers.
Does this tool request my website?
No. You paste the headers, and the page analyses them locally. Nothing is fetched or uploaded.
Which security headers matter most?
Strict-Transport-Security, a Content-Security-Policy, X-Content-Type-Options, a framing control (frame-ancestors or X-Frame-Options), Referrer-Policy and secure cookie attributes are the usual core set.
Is X-XSS-Protection still useful?
No. The old browser XSS filter has been removed from modern browsers. OWASP recommends turning it off (value 0) and relying on a Content-Security-Policy.
Will adding a CSP break my site?
It can. Start with Content-Security-Policy-Report-Only to see what would be blocked, fix the findings, then enforce the policy.
Google, Merchant Center, YouTube, LinkedIn, Indeed, Glassdoor and Shopify are trademarks of their owners. Van Born Labs is independent and not affiliated with them. Google's own help pages are the final word on its rules.