Websites

HTTP security headers check

Check the security headers a website sends and get a grade from A to F.

What does it do?

Visits a website, follows its redirects and analyzes the security headers in the final response. It gives a grade from A to F and explains what's missing and what each header is for.

Why does it matter?

Security headers are nearly free protection: a few lines of server configuration reduce the risk of an attacker injecting scripts, framing your site inside another to trick users, or intercepting the connection. Many security audits and some corporate clients require them.

How does it work?

We make a browser-like request, following up to 10 redirects, and check six headers: HSTS, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy. Each one adds points if present and well configured. We also warn if the server reveals its exact software version.

How to read the result

Grade (A to F)
A guide: A or B is a good setup; D or F means basic protections are missing.
Present
The header is there with a sound value.
Weak
It's there, but with a weak value (for example, an HSTS of only a few days).
Missing
It isn't sent. The explanation says what it protects against.
All headers
The server's full response, handy for checking caching, cookies or the server in use.

What is it for?

Frequently asked questions

How do I add these headers on cPanel?

On Apache hosting, add them to the .htaccess file with lines such as: Header always set X-Content-Type-Options "nosniff". On Nginx, use add_header directives.

Can CSP break my site?

Yes, a very strict policy can block legitimate scripts. Start with "Content-Security-Policy-Report-Only" to see what it would block without enforcing it.

Does an F grade mean I was hacked?

No. It means extra protections for visitors are missing. It says nothing about whether the site was attacked.

Why hide the server version?

Because it helps an attacker look up known flaws for that exact version. Hiding it doesn't replace updating, but it costs nothing.