To analyze a website's security HTTP headers, enter its URL in the HTTP headers checker. The tool asks the site's server from its own side, not from your browser, and shows which security headers are present and which are missing.
Every server response carries, besides the content, a block of HTTP headers. That is where you find whether the site forces HTTPS, whether it allows itself to be loaded inside someone else's iframe, or which external resources it may run. Reviewing those headers shows quickly which protections a site declares, whether it's yours or someone else's.
What security HTTP headers are
Beyond the usual headers (content type, encoding, caching), there is a group designed to strengthen the browser against common attacks. The most relevant:
- HSTS (
Strict-Transport-Security): tells the browser to always use HTTPS with that domain for as long asmax-agesays (RFC 6797). - CSP (
Content-Security-Policy): defines which origins may load scripts, styles or images on the page, which limits the impact of an XSS attack if a vulnerability exists. - X-Frame-Options: controls whether the page can be displayed inside an
<iframe>on another site, which prevents clickjacking attacks (RFC 7034). - X-Content-Type-Options: with the value
nosniff, the browser does not try to infer a file type other than the declared one (MDN).
The checker looks at six headers: these four, plus Referrer-Policy and Permissions-Policy.
How to analyze a website's headers
- Enter the URL. If you leave out the protocol, the tool adds
https://. Local and private addresses, such aslocalhostor192.168.x.x, are rejected. - Wait for the response. The tool follows up to five redirects and shows the status code, the time the server took to respond, and all the headers of the final response.
- Review the security headers block. Each header is marked as present or missing.
Mind what it checks. The checker only confirms that a header exists. It does not evaluate its value: a very permissive CSP and a strict one are both marked as present.
HSTS has a particularity. A browser ignores the header if it arrives over an unencrypted HTTP connection (RFC 6797, section 8.1), so it only counts when the site responds over HTTPS.
What a missing header means
A missing Strict-Transport-Security does not prove the site is insecure, but it does mean the site does not declare that protection. Without X-Frame-Options, or frame-ancestors in CSP, the page can be displayed inside a third-party iframe, which is the basis of clickjacking.
There is one case to know about: if the site uses frame-ancestors in its CSP, the directive that does a similar job to X-Frame-Options (MDN), the checker will mark X-Frame-Options as missing even though the protection exists. Check the CSP header to confirm it.
Your own site or someone else's
On your own project, the tool works as a checklist before going live: it confirms the server configuration includes the headers you believe you added. On someone else's site, the information is public, because any browser receives it when loading the page. It helps explain why a site cannot be embedded in an iframe, for example.
Frequently asked questions
Is analyzing another site's headers "hacking"? No. It is a regular request, similar to the one a browser makes when loading the page, and you only receive what the server sends to any visitor.
Which header matters most? It depends on what the site needs to protect. The checker does not weigh the headers: it only counts how many of the six are present.
Why shouldn't my site appear in someone else's iframe? Without X-Frame-Options or frame-ancestors, another page can display yours inside an iframe overlaid on misleading content. The user clicks without knowing which site they are acting on.
Is anything from my query saved? The endpoint only makes the request and returns the response, and the code does not store the result. The visitor's IP is kept in memory to limit requests to 10 per minute.
Check any website's security headers for free with the HTTP headers checker. For the certificate, use the SSL checker as well.