Security Headers CheckerWEBTOOLSHUB

Grade your security headers

Score any site's HTTP security headers from A to F: HSTS, CSP, X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Permissions-Policy. Free, instant, no signup.

Enter a full URL or a bare hostname. The checker fetches the live response over HTTPS and grades its headers.

Grade any site's headers.

Enter a URL or host above to score its HTTP security headers.

Present Missing
Check the certificate too? Try the SSL Checker

Issuer, expiry date, days remaining, Subject Alternative Names and TLS version for any host.

POWER USER?

WebToolsHub CLI

The headers command fetches the live response, grades the security headers A to F and lists what is present and missing.

# human readable grade
python cli.py headers github.com

# full structured JSON (score, grade, present, missing, info_leaks)
python cli.py headers github.com --json
THE BIG DIFFERENCE

Grade headers from inside your AI

This tool speaks the Model Context Protocol (MCP) and ships a REST API. Connect it once, then just ask your assistant to grade a site's security headers or tell you which ones are missing.

Claude ChatGPT Gemini Kimi Cursor

What is a security headers checker?

A security headers checker fetches a website over HTTPS and inspects the HTTP response headers that tell the browser how to protect visitors. It grades the result from A to F with a 0 to 100 score, then lists which protective headers are present, which are missing, and how to fix each gap. Getting these headers right is one of the cheapest, highest-impact things you can do to harden a site against cross-site scripting, clickjacking and protocol downgrade attacks.

How to grade your security headers

  1. Type a full URL or bare hostname (for example github.com) into the box above.
  2. Select Check. The grade appears in a few seconds.
  3. Read the A-F grade and score, then the present and missing header lists.
  4. Add any missing headers to your server or CDN using the plain-English guidance for each one.

What each security header does

Why security headers matter

Security headers are instructions the server sends with every response, and the browser enforces them for free. A missing HSTS header leaves visitors open to a downgrade on untrusted networks, a missing Content-Security-Policy makes any injected script far more dangerous, and a missing X-Frame-Options invites clickjacking. Because they are set once at the server or CDN and apply to the whole site, fixing the gaps this tool finds usually takes minutes and measurably reduces your attack surface.

Watch for information-leak headers

Some headers help attackers rather than users. A detailed Server banner or an X-Powered-By header tells the world exactly which software and version you run, which makes it trivial to look up matching exploits. This checker flags those information-leak headers so you can strip or generalize them.

Frequently asked questions

What is a security headers checker?

A security headers checker fetches a site over HTTPS and inspects the response headers that control browser security, such as Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Permissions-Policy. It grades the result from A to F with a 0 to 100 score and explains which headers are present, which are missing, and how to fix them.

Which HTTP security headers matter most?

The highest-impact headers are Strict-Transport-Security (forces HTTPS), Content-Security-Policy (blocks cross-site scripting and injection), X-Content-Type-Options (stops MIME sniffing), X-Frame-Options or CSP frame-ancestors (stops clickjacking), Referrer-Policy (limits referrer leakage) and Permissions-Policy (restricts powerful browser features).

Is the security headers checker free and open source?

Yes. It is completely free and open source under the MIT license, part of WebToolsHub by Konko Maji. It fetches the live response headers over HTTPS and grades them. There is no signup and no data is stored.

How is the grade calculated?

Each recommended security header contributes to a 0 to 100 score. Present headers add points, missing ones cost points, and information-leak headers such as Server or X-Powered-By can reduce the score. The total maps to a letter grade from A for a strong configuration down to F for a site with no protective headers.

Can I check security headers inside Claude, ChatGPT or Gemini?

Yes. It ships an MCP server and a REST API, so you can connect it to Claude, ChatGPT, Gemini, Kimi, Cursor and any MCP client, then ask your assistant to grade a site's security headers for you. See the connection guide.