Skip to content

Security headers checker

Free, no sign-up Runs in your browser

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.

Get the headers of a site
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

  1. Run the curl command shown, with your own address, or open the Network tab in your browser.
  2. Copy the response headers and paste them in.
  3. Read the table for the grade of each expected header.
  4. 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

How do I see the HTTP headers of a website?

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.

Why can this tool not fetch the headers for me?

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.

Is a missing Permissions-Policy a vulnerability?

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.

Why is a Server header with a version a finding?

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.

Related tools