Security Headers Checker — HSTS, CSP & HTTP Header Score
Grade HSTS, CSP, framing, referrer, and permissions headers with A–F score on any URL
How to use this security headers checker tool
- Paste a full URL including https:// and click Check security headers.
- We fetch the response and score five critical header categories out of 100 points.
- View letter grade (A–F), per-header pass/fail cards with point values, and truncated header values.
- Additional headers like X-Content-Type-Options and Cross-Origin-Opener-Policy appear when present.
- Expand All response headers to audit the full map beyond the scored five.
- Copy the JSON report for tickets or compliance documentation.
About this security headers checker tool
HTTP response headers enforce browser-side protections before your application code runs. Strict-Transport-Security stops downgrade attacks, Content-Security-Policy restricts script sources, and X-Frame-Options blocks unwanted embedding. VSPIC fetches the URL you provide, collects response headers, and scores presence of five critical security headers on a 0–100 scale with per-header breakdowns.
Each header category awards fixed points: HSTS and CSP are worth twenty-five each, X-Frame-Options twenty, Referrer-Policy fifteen, and Permissions-Policy (or legacy Feature-Policy) fifteen. Missing headers simply forfeit their points — there is no partial credit for malformed values. Use this alongside TLS grading and clickjacking tests for a complete transport and browser-hardening picture.
Why use VSPIC for security headers checker?
- A–F grade plus 0–100 numeric score at a glance.
- Per-header cards with points, description, and value preview.
- Detects HSTS, CSP, X-Frame-Options, Referrer-Policy, Permissions-Policy.
- Bonus display for X-Content-Type-Options, COOP, and CORP when set.
- Expandable full response header list.
- Copyable JSON report for audits and bug tickets.
What HTTP security headers do
Security headers are directives the server sends before HTML body bytes. Browsers enforce them consistently across your pages without requiring JavaScript frameworks or server-side rewrites on every route. They complement TLS by addressing threats that persist even on encrypted connections — XSS, clickjacking, referrer leakage, and permission abuse.
Unlike WAF rules that block malicious requests, headers shape how the browser interprets your legitimate responses. A missing Content-Security-Policy leaves inline script injection viable; missing HSTS allows sslstrip-style attacks on first visit.
HSTS and transport enforcement
Strict-Transport-Security tells browsers to always use HTTPS for the max-age duration. Include subdomains only when every subdomain supports TLS. preload is optional and requires submission to browser preload lists — verify readiness before adding the token.
Our checker awards twenty-five points when any Strict-Transport-Security header is present. It does not parse max-age minimums — operators should ensure max-age is at least 31536000 seconds for production hardening.
Content-Security-Policy fundamentals
CSP defines allowed sources for scripts, styles, images, and connections. A strict default-src 'self' with explicit exceptions beats a permissive policy that defeats the purpose. Report-uri or report-to directives help monitor violations in production.
We detect presence of Content-Security-Policy and show the first two hundred characters of the value. Long policies are truncated in display but still count toward score. Pair CSP deployment with mixed-content scanning to eliminate http:// dependencies.
Clickjacking and framing controls
X-Frame-Options with DENY or SAMEORIGIN prevents other sites embedding your pages in iframes. Content-Security-Policy frame-ancestors is the modern replacement and takes precedence where supported.
Twenty points apply when X-Frame-Options is set. For clickjacking-specific framing analysis including CSP frame-ancestors parsing, use our dedicated clickjacking test on the same URL.
Referrer-Policy and privacy leakage
Referrer-Policy controls how much URL information browsers send when users navigate away. strict-origin-when-cross-origin balances analytics needs with path privacy. Overly permissive policies leak session tokens in query strings to third parties.
Fifteen points reward any Referrer-Policy header. Review policy tokens against your analytics and affiliate link requirements.
Permissions-Policy for browser features
Permissions-Policy (formerly Feature-Policy) disables powerful APIs — camera, microphone, geolocation, payment — by default unless explicitly allowed. This reduces impact when attacker-controlled scripts execute despite CSP.
We accept either permissions-policy or legacy feature-policy header names. Fifteen points apply when either is present.
Reading your score
One hundred means all five categories are covered. Seventy to ninety-nine indicates one or two gaps — often Referrer-Policy or Permissions-Policy on otherwise mature sites. Below seventy suggests missing HSTS or CSP, which should be prioritized.
Scores are binary per category: a weak CSP counts the same as a strong one. After reaching one hundred on presence, refine policy strictness manually or with CSP evaluators in staging.
Deployment patterns by platform
Nginx and Apache set headers in server config. CDNs often expose header rules at the edge — prefer edge injection for static assets. Application frameworks may set headers in middleware — ensure reverse proxies do not strip them.
Test staging URLs with the same header config as production. Some hosts return different headers for apex vs www — check both variants.
Header checks vs full application security
Headers reduce browser-level attack surface but do not patch SQL injection or authentication flaws. Treat a high score as necessary, not sufficient, for security compliance narratives.
Re-run after every deploy that touches web server, CDN, or middleware configuration. Headers are frequently regressed during infrastructure changes.
Troubleshooting missing headers in results
Redirects may drop headers on intermediate responses — we follow to the final URL. Some paths serve different headers for bots vs browsers; our fetch uses a standard tool user agent.
If headers appear in browser devtools but not here, verify they are on the HTML document response, not only on static subresources.
Important notes & limitations
- Scores presence only — weak CSP values still earn full points.
- Only checks the URL you submit — subresources are not scanned individually.
- Some hosts return different headers to bots vs browsers.
- Requires a publicly reachable URL — localhost is not accessible.
- Header checks complement but do not replace full penetration testing.
security headers checker — frequently asked questions
Yes. VSPIC offers this security headers checker at no cost with no account required. Results load in real time.
We do not permanently store your queries on our servers. Some tools run entirely in your browser; others fetch public data for the request only.
Yes. Open the page in any modern phone or tablet browser. Results work on Wi‑Fi and mobile data.
Use a full URL with scheme, e.g. https://example.com or https://example.com/login. HTTP URLs work but HTTPS is recommended for production sites.
Referrer-Policy and Permissions-Policy are fifteen points each. Missing both drops thirty points from a perfect score.
Presence earns points; policy quality does not. A CSP of default-src * still counts as present — review content separately.
Yes. Paste the API base URL. JSON APIs often omit CSP — that may be acceptable if browsers never render HTML from that origin.
We fetch the URL and report headers from the response chain. Final response headers determine the score.
Prioritize HSTS and CSP, then X-Frame-Options. Referrer-Policy and Permissions-Policy follow for defense in depth.
A is 90+, B is 75+, C is 60+, D is 40+, F is below 40. It summarizes the numeric score for quick reporting.
COOP and CORP are shown when present but are not part of the 100-point score — they are informational extras.
Yes. JSON APIs often omit CSP — that may be acceptable if browsers never render HTML from that origin.
Next step for security headers checker
Continue with ssl/tls grade checker on VSPIC.
Related Tools
Explore more free VSPIC tools for IP, DNS, security, and network diagnostics.
SSL/TLS Grade Checker
SSL grade, protocol support, cipher analysis, and expiry
Use Free →CORS Checker
Check allowed origins, methods, and headers
Use Free →Clickjacking Test
Detect iframe embedding and X-Frame-Options status
Use Free →Mixed Content Checker
Find HTTP resources on HTTPS pages
Use Free →Cookie Analyzer
Analyze cookies — Secure, HttpOnly, SameSite flags
Use Free →Malware URL Scanner
URL reputation scan — single or batch, phishing & malware signals
Use Free →SSL Checker
Validate SSL/TLS certificates and expiration dates
Use Free →
Trusted by Users Who Value Privacy
Always Free
No premium plan ever
100% Private
Files processed in browser
Instant Results
Convert in seconds
Works Everywhere
Any device, any OS