Security headers checker
Paste the response headers from curl or your browser and get each security header graded present, weak or missing, plus version leaks and unsafe cookies.
A web page cannot read the headers another site sends: the browser does not allow it. Get them yourself with the command below, or copy them from the Network tab of your browser’s developer tools, and paste them here. Nothing you paste leaves this page.
curl -sI https://example.com
Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.
How to use the security headers checker
- Run the curl command shown, with your own address, or open the Network tab in your browser.
- Copy the response headers and paste them in.
- Read the table for the grade of each expected header.
- Work through the findings, worst first, and check again after the fix.
About this tool
This checker grades the security headers of a response you paste: Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, the framing rules, Referrer-Policy, Permissions-Policy and the cross-origin policies. For each one it says whether the header is present, weak or missing, why that matters for your visitors, and what value to use instead. Nothing is sent anywhere.
It works on pasted text because a web page is not allowed to read another site’s response headers; the browser blocks it. That also means it works on what other checkers cannot reach: a staging site, an internal tool, a page behind a login. Run curl -sI against the address, or copy the headers from the Network tab of your browser’s developer tools.
Beyond the expected headers, it flags what the response gives away, such as a Server header with an exact version or X-Powered-By, and cookies set without Secure, HttpOnly or SameSite. A present header is not always a good one: HSTS with a one-day max-age and a CSP that allows inline script both count as weak. The result is a set of rules, not a review of the application.
Sources
Questions
From a terminal, run curl -sI followed by the address. In a browser, open the developer tools, go to the Network tab, reload, click the first request and look at Response Headers. Both show exactly what the server sent.
Browsers do not let a page read the response headers of another origin unless that site opts in. A checker that takes a URL does the request from its own server instead. Pasting keeps everything in your browser and works for sites that are not public.
No. Permissions-Policy and the cross-origin headers are hardening: they reduce what an injected or third-party script can do. The checker lists them at low severity. Missing HSTS or a missing Content Security Policy matters more.
The version tells an attacker which published vulnerabilities apply, and lets mass scanners pick out affected servers quickly. Hiding it does not fix anything, but it costs one line of config and removes free information. Keeping the software patched is the real fix.