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.
Tip: get headers via curl -I https://yourdomain.com or DevTools → Network → Response Headers
Results
Security Headers Quick Reference
| Header | Protects Against |
|---|---|
| Content-Security-Policy | XSS, data injection, mixed content |
| Strict-Transport-Security | SSL stripping, protocol downgrade |
| X-Frame-Options | Clickjacking |
| X-Content-Type-Options | MIME sniffing attacks |
| Referrer-Policy | Referrer data leakage |
| Permissions-Policy | Feature/API abuse (camera, mic, etc.) |
| Cache-Control | Sensitive data cached by proxy/browser |
| X-XSS-Protection | Legacy 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.
Related Products
on GumroadPremium Workflow Pack
Production-grade workflows, architecture guides, and deployment scripts for teams that ship. 10 advanced CI/CD workflows (blue-green, canary, E2E, security), 5 architecture deep-dives, code review checklist, PR process guide, and 5 battle-tested Bash deployment scripts.
Buy on Gumroad →GitHub Actions CI/CD Templates Pack
12 production-ready GitHub Actions workflow templates covering Node.js, Python, Docker, multi-environment deployments, security scanning, and auto-changelog. Copy, paste, ship.
Buy on Gumroad →Developer Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →You Might Also Need
HTTP Security Headers Generator
Generate HTTP security headers configuration for nginx and Apache. Configure HSTS, CSP, X-Frame-Options, Referrer-Policy, and more with toggle switches. Copy ready-to-use configs.
Open free tool →
HTTP Status Code Reference
Complete HTTP status code reference. Search all 1xx, 2xx, 3xx, 4xx, and 5xx codes with plain-English descriptions, real-world use cases, and when to use each in REST APIs.
Open free tool →
Content Security Policy Builder
Visual CSP builder with all directives. Generate Content-Security-Policy headers with source expressions, nonces, and report endpoints.
Open free tool →
More Free Tools
Related Articles
Complete Guide to HTTP Security Headers: CSP, HSTS, and Modern Browser Security 2026
Master HTTP security headers in 2026: Content-Security-Policy configuration, HSTS preloading, Permissions-Policy, COEP/COOP for cross-origin isolation, and real-world configs for nginx, Apache, and Next.js.
HTTP Headers Explained: Security & Performance (2025)
A developer's guide to HTTP headers. Covers security headers (HSTS, CSP, CORS), performance headers (Cache-Control, ETag), and how to inspect headers with free tools.
DevSecOps Tools Checklist 2026: 20 Essential Tools for Shift-Left Security
Complete DevSecOps tools checklist for 2026. 20 essential SAST, DAST, SCA, secrets scanning, and container security tools with free/open-source options.
Kubernetes Security Hardening: 15 Essential Practices
A comprehensive guide to Kubernetes security hardening—RBAC, Pod Security Standards, network policies, secrets management, and container scanning with real examples.
Zero-Trust Architecture Implementation Guide for Developers 2026
Practical zero-trust architecture guide for developers: identity verification, network segmentation, service mesh, mTLS, and step-by-step implementation roadmap.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$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.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →