What it does
Security headers tell the browser how to behave around a response: what may execute, what may be framed, which origins may embed it, and whether HTTPS is required. This checker reads the headers a site sends and grades the important ones, with each finding explained rather than folded into a single letter.
How it works
Content-Security-Policy is the broadest control. It restricts script, style, image, frame and connection sources. A policy with 'unsafe-inline' or * provides little protection; nonces or hashes are the modern approach for scripts.
HSTS forces HTTPS for future requests. max-age, includeSubDomains and preload change how strict it is. A missing header leaves the first request vulnerable to interception.
X-Frame-Options and CSP frame-ancestors control framing. The legacy header still matters for older clients; frame-ancestors is more precise. Clickjacking protection needs one of them.
Referrer-Policy limits how much URL information leaks to other sites. strict-origin-when-cross-origin is a common default; no-referrer is stricter but breaks some analytics.
X-Content-Type-Options: nosniff stops MIME sniffing. Permissions-Policy disables powerful browser features you do not use. Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy enable isolation but can break third-party embeds.
When to use it
- Baseline a site before a security review.
- Check a new deployment did not drop headers added at the origin.
- Prioritise fixes by impact rather than by letter grade.
- Verify a CSP rollout in report-only mode before enforcing.
Glossary
- CSP
- Content-Security-Policy, which restricts resources a page may load or execute.
- HSTS
- A header forcing HTTPS for future requests to a host.
- Clickjacking
- Tricking a user into clicking a framed page they did not intend to interact with.
- nosniff
- X-Content-Type-Options value that stops browsers guessing content types.
- COOP / COEP
- Headers that isolate a browsing context from cross-origin windows and resources.
Frequently asked questions
Does a good grade mean the site is secure?+
No. Headers are one layer. Authentication, authorization, input handling, dependency risk and server configuration are not visible here.
Why does CSP break my site?+
It blocks inline scripts, eval or third-party origins the page depends on. Roll out with Content-Security-Policy-Report-Only, collect violations, then enforce.
Are all headers necessary?+
No. Choose based on the application. A static marketing site needs different controls from an app embedding third-party widgets.
Why is HSTS missing on a redirect?+
The header must arrive over HTTPS. If it is only sent on the HTTP response, browsers ignore it. Send it on the final HTTPS response.
Can headers be added at the CDN?+
Usually yes, and that is a good place to enforce consistency. Verify with a raw header check that the edge sends them and does not strip upstream values.
API & MCP
The same result envelope is available over REST and MCP. Replace the sample value with your own target.
curl "https://100www.dev/api/v1/tools/security-headers-checker?u=https%3A%2F%2Fexample.com"Shareable result
https://100www.dev/tools/security-headers-checker?u=https%3A%2F%2Fexample.com

100www engineering
EditorialReviewed by Steve · · Report an error
Tested from the 100www probe network; results vary by location and network.


