Header Inspector
Analyze the HTTP response headers of any URL: security headers (CSP, HSTS, XFO), redirect chain, caching policy, and security score.
Analyze the HTTP response headers of any URL: security headers (CSP, HSTS, XFO), redirect chain, caching policy, and security score.
HTTP headers are metadata pairs sent with every request and response between the browser and the server. They travel along with page content but are invisible to the user. They carry security, caching, content type, and server information.
6
Critical security header
HSTS, CSP, XFO, and more
~20-50
Average header count
In a typical HTTP response
100 points
Max. security score
When all headers are fully configured
< 1 ms
Cost of adding
Performance impact of adding headers
Strict-Transport-Security
Forces the browser to always connect to the site over HTTPS.
Example value:
max-age=31536000; includeSubDomains; preloadWithout it, SSL stripping attacks may be possible.
Content-Security-Policy
Restricts which sources can load scripts, styles, and content.
Example value:
default-src 'self'; script-src 'self' 'nonce-…'The strongest protection against XSS attacks and data leakage.
X-Frame-Options
Prevents the page from being displayed inside an iframe on other sites.
Example value:
DENY or SAMEORIGINWithout it, clickjacking attacks may be possible.
X-Content-Type-Options
Prevents the browser from guessing the file type (MIME sniffing).
Example value:
nosniffWhen it is absent, uploaded files may be interpreted differently.
Referrer-Policy
Determines which URL information will be sent when a user clicks a link.
Example value:
strict-origin-when-cross-originSensitive URL parameters leaking to third parties.
Permissions-Policy
Restricts access to browser APIs such as camera, microphone, and location.
Example value:
camera=(), microphone=(), geolocation=()Malicious scripts can access sensitive hardware APIs.
| Header | Purpose |
|---|---|
Cache-Control | How long the resource will be cached |
ETag | Resource version identifier; used in conditional requests |
Last-Modified | The resource's last modified date |
Vary | Determines cache variation |
Expires | Legacy method; Cache-Control should be preferred |
Age | How many seconds the source has been in cache |
Server: Apache/2.4.52Issue: Server software and version are exposed; attackers may target known CVEs.
Solution:Remove version information: 'Server: Apache' or hide it completely.
X-Powered-By: PHP/8.1.0Issue: Exposes the technology in use and its version.
Solution:Remove it with header_remove('X-Powered-By') or more_clear_headers in nginx.
X-AspNet-VersionIssue: .NET framework version is exposed.
Solution:In Web.config: <httpRuntime enableVersionHeader='false' />
X-XSS-ProtectionIssue: Deprecated; if misconfigured, it may cause issues in newer browsers.
Solution:Remove it and replace it with a strong CSP policy.
We answer questions about HTTP headers, security policies, and this tool.
We audit your site's technical SEO end to end, report the issues in priority order and fix them. The first review is free.