Which security headers does this site send?

Enter a web address. You get HTTPS and the http redirect, then HSTS, Content-Security-Policy, X-Content-Type-Options, framing, Referrer-Policy and Permissions-Policy, each marked present, weak or missing, with what it does and what was found.

A domain or a page. The page is opened on https and on http, and for a base domain the www version is tried too.

What it checks

  • HTTPS and the redirect. Whether the page opens on https with a certificate this site's server accepts, and whether the http address sends visitors there, on the same host.
  • HSTS. max-age, includeSubDomains and preload, read the way RFC 6797 says, and whether the domain meets the preload requirements that hstspreload.org lists.
  • Content-Security-Policy. Whether one is enforced, in a header or a meta tag, and its obvious weaknesses for scripts: 'unsafe-inline' without a nonce or hash, 'unsafe-eval', and sources such as * or https: that let scripts load from anywhere.
  • X-Content-Type-Options, framing, Referrer-Policy and Permissions-Policy. Each one's value, checked against what MDN says it accepts and does.
  • Present, weak or missing. Every row stands on its own, with the value that was sent and why it got its mark. There is no overall letter grade.

What it can't see

Other pages. Headers can differ from page to page, and error pages often carry fewer of them. One address is checked at a time.

Whether the policies fit your site. A strict Content-Security-Policy can block your own scripts; only testing on the site shows that.

Most subdomains. The HSTS preload requirements cover every subdomain, internal ones included, but only www is tried here. The tool does not look up whether the domain is already on the preload list.

The certificate itself and the TLS settings. It only knows whether this site's server accepted the certificate. For the certificate's dates, use the certificate checker.

Questions

Where do I add these headers?

On the web server (Apache, nginx, IIS), in your CDN's settings, or with a security plugin on WordPress. They have to come with the page itself, as headers, not as text in the HTML.

Should I add preload to HSTS?

Only if every subdomain works over https, now and later. hstspreload.org warns that removal from the list is slow and can take months to reach users. Start with a short max-age and raise it step by step.

Is Referrer-Policy needed if browsers already have a default?

Browsers use strict-origin-when-cross-origin when none is set (MDN), which is reasonable. Setting it yourself keeps the choice in your hands and covers older browsers.

Why is there no overall grade?

The headers protect against different things, and how much each matters depends on the site. A shop with a login needs a strict policy more than a brochure site. The rows show what is there, so you can decide what to fix first.