Skip to main content

HTTP Security Headers Checker

Paste raw HTTP response headers and get an instant visual checklist of which security headers are present or missing. Each result explains what the header does and why it matters. Runs entirely in your browser.

✓ 8 security headers checked ✓ Shows header value if present ✓ Explains missing headers ✓ Flags deprecated headers

Tip: get headers via curl -I https://yourdomain.com or DevTools → Network → Response Headers

Security Headers Quick Reference

Header Protects Against
Content-Security-PolicyXSS, data injection, mixed content
Strict-Transport-SecuritySSL stripping, protocol downgrade
X-Frame-OptionsClickjacking
X-Content-Type-OptionsMIME sniffing attacks
Referrer-PolicyReferrer data leakage
Permissions-PolicyFeature/API abuse (camera, mic, etc.)
Cache-ControlSensitive data cached by proxy/browser
X-XSS-ProtectionLegacy IE/Chrome XSS filter (deprecated)

Frequently Asked Questions

What are HTTP security headers and why do they matter?▼

HTTP security headers are response headers sent by a web server that instruct the browser on how to behave when handling the site's content. They form a crucial second layer of defense on top of application-level security. For example, Content-Security-Policy prevents cross-site scripting (XSS) by whitelisting allowed content sources; Strict-Transport-Security forces HTTPS; X-Frame-Options prevents clickjacking. Missing these headers leaves your application vulnerable even if your code itself has no bugs.

How do I get the HTTP response headers for my site?▼

You can retrieve headers in several ways: (1) Open DevTools in Chrome/Firefox, go to the Network tab, reload the page, click the main document request, and look at the Response Headers section. (2) Use curl: run `curl -I https://yourdomain.com` in your terminal — the -I flag fetches only headers. (3) Use online tools like securityheaders.com to scan a live URL. Once you have the raw headers, paste them into this tool to get an instant checklist.

What is Content-Security-Policy and how strict should it be?▼

Content-Security-Policy (CSP) is the most powerful security header. It tells the browser which sources are allowed to load scripts, styles, images, fonts, and other resources. A strict CSP like `default-src 'self'` blocks all external resources. In practice you need to allow your CDN, analytics, fonts, etc. Start with `Content-Security-Policy-Report-Only` to collect violations without blocking, then tighten the policy. Avoid `unsafe-inline` and `unsafe-eval` as they undermine most of CSP's protection.

Is X-XSS-Protection still relevant?▼

X-XSS-Protection was a header supported by older Internet Explorer and Chrome browsers that enabled a built-in XSS auditor. Chrome removed it in v78 (2019) and most modern browsers ignore it. Security experts now recommend setting it to `0` (disabled) to avoid edge-case bugs in older browsers, and instead relying entirely on a strong Content-Security-Policy for XSS protection. This tool flags X-XSS-Protection as deprecated so you know it provides no real protection in modern browsers.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →