Security Headers Checker

Score whether a response sends HSTS, CSP, nosniff, clickjacking protection and Referrer-Policy — not a ranking trick.

What this tool gives you

header score
Fetch or paste
HSTS / CSP
Starter snippet

Check security headers

Fetch a public page or paste response headers. The checker scores HSTS, CSP, nosniff, clickjacking and Referrer-Policy — browser hygiene, not a ranking trick.

What this checker looks for

HSTS. CSP. nosniff. X-Frame-Options or frame-ancestors. Referrer-Policy.

HSTS

Strict-Transport-Security with a long max-age keeps HTTPS sticky.

CSP

Content-Security-Policy limits scripts and frames. Report-Only is a staging step.

nosniff

X-Content-Type-Options: nosniff stops MIME sniffing.

Clickjacking

X-Frame-Options DENY/SAMEORIGIN or CSP frame-ancestors.

Referrer-Policy

Prefer strict-origin-when-cross-origin. Never unsafe-url.

Not a ranking lever

This is browser security hygiene, not a citation trick.

How to use the checker

Fix HTTPS first, then HSTS, then CSP and framing.

1

Check the live response

Fetch the public URL or paste headers from curl -I.

2

Turn on HSTS

Send Strict-Transport-Security with max-age of at least 180 days.

3

Lock scripts and frames

Add CSP, nosniff, clickjacking protection and Referrer-Policy.

What security headers usually include

Response headers that tell browsers how to treat HTTPS, scripts, framing and referrers.

HeaderJobDefault for public sites
HSTSKeep HTTPS stickymax-age at least 15552000
CSPLimit scripts and framesEnforcing policy, not only Report-Only
nosniffStop MIME sniffingX-Content-Type-Options: nosniff
FramingBlock clickjackingDENY, SAMEORIGIN or frame-ancestors
Referrer-PolicyLimit URL leakagestrict-origin-when-cross-origin
Neverunsafe-url referrersDo not leak full URLs cross-origin

Related GEO pages

Fix security headers, then mixed content, then outbound HTTPS links.

Security headers FAQs

Do security headers help ChatGPT cite my page?

No. Security headers protect browsers. Citations still depend on crawl access, answer-ready content and corroboration.

Which headers does this checker score?

Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options or CSP frame-ancestors, and Referrer-Policy.

Is a missing CSP always a fail?

Yes for the score. Report-Only counts as a warning. Ship an enforcing policy when the site can take it.