natbox.io

HTTP headers checker

See what a web server really sends back: status code, redirects, every header, and which security headers are missing. Free, and nothing is stored.


The security headers we look for

HeaderWhat it does
Strict-Transport-SecurityTells browsers to use HTTPS only for your site from now on (HSTS).
Content-Security-PolicyLimits where scripts, styles and images may load from; the strongest defence against injected scripts.
X-Frame-OptionsStops other sites showing yours in a frame (clickjacking).
X-Content-Type-Optionsnosniff stops browsers guessing file types.
Referrer-PolicyControls how much of your URL is sent to other sites in links.
Permissions-PolicyTurns off browser features you don't use, like the camera or location.

With Caddy or nginx on your server you add these in a few lines (Caddy guide, nginx guide).

Questions

Does it download the page?

No. It reads the status line and headers and closes the connection.

Which addresses can it check?

Public sites on ports 80, 443, 8080 and 8443, found through public DNS. Private networks are never contacted.

Why does it say a header is missing when my browser shows it?

Some sites send different headers to different clients, or only on some pages. Check the exact URL, and remember the result is for the final page after redirects.

More free tools: SSL certificate checker, DNS lookup, open port checker, all tools.