Tools
HTTP Security Headers Analyzer
Analyze HTTP security headers and get a security score with detailed recommendations.
What does this tool do?
Analyze your HTTP response headers for security best practices. The tool evaluates 10 critical security headers, checks for information leakage, and provides a weighted score with actionable recommendations. You can paste headers manually or fetch them directly from a URL.
Which headers are analyzed?
Content-Security-Policy (25 pts) — XSS and injection prevention
Strict-Transport-Security (15 pts) — HTTPS enforcement
X-Content-Type-Options (10 pts) — MIME sniffing prevention
X-Frame-Options (8 pts) — clickjacking protection
Referrer-Policy (8 pts) — referrer information control
Permissions-Policy (8 pts) — browser feature restrictions
Cross-Origin-Opener-Policy (8 pts) — browsing context isolation
Cross-Origin-Resource-Policy (8 pts) — resource loading control
Cross-Origin-Embedder-Policy (7 pts) — embedding control
X-XSS-Protection (3 pts) — legacy XSS filter (should be disabled)
Additionally, the tool checks for information leakage via Server, X-Powered-By, and X-AspNet-Version headers.
Grading Scale
A+ (90-100) — Excellent security posture
A (80-89) — Strong, minor improvements possible
B (70-79) — Good, some headers missing
C (50-69) — Fair, several important headers missing
D (30-49) — Poor, major gaps
F (0-29) — Critical, most headers missing
How do I use it?
Enter a URL and click Fetch, or paste headers from browser DevTools / curl
- Click Analyze to see the security score and recommendations
- Fix missing headers in your server configuration and re-analyze
Is my data private?
All analysis happens entirely in your browser. When using the Fetch feature, the request is made directly from your browser — no server-side proxy is used. Note that CORS restrictions may limit which headers are visible; use curl for complete results.
Linux Command Reference
You can inspect HTTP headers from the terminal using these tools:
curl — Headers Only
curl — Filter Security Headers
curl — Verbose (TLS + Headers)
wget — Spider Mode
Check Specific Header
Compare Multiple Sites
Learn More
See
Implementing CSP in Nginx
for a detailed guide on configuring security headers.
Frequently asked questions
Which HTTP security headers does this tool check?
It evaluates 10 critical headers including Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy and the three Cross-Origin policies. It also flags information leakage from "Server", "X-Powered-By" and "X-AspNet-Version" headers.
How is the security score calculated?
Each header carries a weight reflecting its impact, with Content-Security-Policy worth the most (25 points) and X-XSS-Protection the least (3 points). The weighted total maps to a letter grade from A+ (90-100) down to F (0-29).
Why are some headers missing when I fetch them from a URL?
The Fetch feature runs directly in your browser, so CORS restrictions can hide certain response headers. For complete results, paste headers captured with curl -sI or copied from browser DevTools.
Is my data sent to a server when I analyze headers?
No. All analysis happens entirely in your browser, and the optional Fetch request is made directly from your browser with no server-side proxy involved.
Should I still set X-XSS-Protection?
No. X-XSS-Protection is a legacy filter that modern browsers ignore or that can introduce vulnerabilities; the recommended value is "0" to disable it, and a strong Content-Security-Policy is the proper XSS defense.