HTTP Headers and Security Headers Checker

Enter a URL to see the HTTP headers your server sends and a security grade with the exact lines to add.

This check runs on our server. We look up public information only and keep results for up to 1 hour. Privacy

What HTTP headers are

Every time a browser loads a page, the server sends a few lines of instructions before the page itself. These are the HTTP response headers. Some control caching and compression. Others, the security headers, tell the browser how to protect your visitors.

The security headers we grade

  • Strict-Transport-Security (HSTS): always use HTTPS for this site. 25 points.
  • Content-Security-Policy (CSP): where scripts and other files may load from. The strongest protection against cross-site scripting. 25 points.
  • X-Frame-Options or CSP frame-ancestors: stops other sites from framing yours (clickjacking). 15 points.
  • X-Content-Type-Options: nosniff: stops browsers from guessing file types. 10 points.
  • Referrer-Policy: how much of your URL is shared when visitors click a link to another site. 10 points.
  • Permissions-Policy: turns off browser features you do not use. 10 points.
  • No version numbers in Server or X-Powered-By. 5 points.

A is 90 or more, B is 75, C is 55, D is 35.

Adding them safely

On Apache and LiteSpeed hosting, paste the lines we give you into .htaccess. Add HSTS only when every page and subdomain works on HTTPS: once a browser has seen it, it refuses plain http for the whole max-age. A strict CSP can break plugins, embeds and analytics, so start with the safe line we suggest and tighten it later in report-only mode.

FAQ

Do security headers help SEO?

Not directly. They protect your visitors and your site, and HTTPS (which HSTS enforces) is a small ranking signal.

Will adding these headers break my site?

HSTS, nosniff, Referrer-Policy and X-Frame-Options rarely break anything. A strict Content-Security-Policy can, which is why we suggest a safe starter policy.

Is X-XSS-Protection still needed?

No. Modern browsers removed the feature it controlled. Content-Security-Policy is the replacement.

Why does the grade differ from other scanners?

Each tool weighs headers differently. Ours focuses on the headers that make a real difference for a typical website.

More free tools

Need a Tool We Don’t Have?

Tell us what you check on your sites every week. The most-requested tools get built first.