HTTP Header Checker |
HTTP Header Checker — View HTTP Response Headers from Any Domain
HTTP Header Checker sends an HTTP HEAD request (RFC 9110) to any public domain and returns the complete set of response headers the web server sends back. Response headers are key-value pairs that communicate the server's software identity, content type, caching policy, compression method, and security configuration. Results include the HTTP status code, Content-Type, Cache-Control, Server, Content-Encoding, and all security headers — Strict-Transport-Security (RFC 6797), X-Frame-Options (RFC 7034), and Content-Security-Policy.
| Fact | Value |
|---|---|
| Request method | HTTP HEAD — headers only, no response body transferred |
| Protocol order | HTTPS (port 443) first, HTTP (port 80) fallback |
| RFC reference | RFC 9110 — HTTP Semantics (June 2022) |
| Key security headers | HSTS · CSP · X-Frame-Options · X-Content-Type-Options |
| Data retention | None — results not stored or logged |
What HTTP Response Headers Are Returned?
The table below covers the response headers most commonly returned by web servers.
Headers with lowercase names indicate an HTTP/2 response — HTTP/2 mandates lowercase
header names per RFC 9113. Headers prefixed with x- are non-standard
extensions added by specific servers, CDNs, or frameworks.
| Header | Purpose | Security Relevance |
|---|---|---|
content-type |
Media type and character encoding of the response body | — |
content-encoding |
Compression applied to the body — gzip, br (Brotli), zstd | — |
cache-control |
Browser and CDN caching rules — max-age, no-store, public, private | no-store required for responses containing sensitive data |
server |
Web server software identifier — nginx, Apache, cloudflare | Exposing version numbers is an information disclosure risk |
strict-transport-security |
HSTS — instructs the browser to use HTTPS only (RFC 6797) | Required for A-grade security posture — missing is a critical gap |
x-frame-options |
Controls iframe embedding to prevent clickjacking (RFC 7034) | DENY or SAMEORIGIN recommended |
content-security-policy |
Restricts which resource origins the browser may load | Prevents XSS and data injection attacks — most common audit finding |
x-content-type-options |
Blocks MIME-type sniffing by the browser | nosniff value required |
referrer-policy |
Controls referrer data sent to third-party origins | strict-origin-when-cross-origin recommended |
set-cookie |
Sets browser cookies — inspect for Secure and HttpOnly attributes | Missing Secure flag = cookie transmitted over plain HTTP |
How to Use the HTTP Header Checker
Fetch all HTTP response headers from any domain in seconds.
Submit the Request
Read the Header Table
Check Security Headers
Do it yourself
How to Check HTTP Response Headers Without an Online Tool
HTTP response headers can be fetched from any terminal using curl.
The -I flag sends a HEAD request — identical to what this tool performs.
Use -sD - -o /dev/null to send a GET request and display only the headers,
which surfaces any headers a server omits from HEAD responses.
Windows Command Prompt (curl available on Windows 10 build 17063 and later)
curl -I https://example.com
GET-based inspection — reveals headers that may differ from HEAD response:
curl -sD - -o /dev/null https://example.com
Windows PowerShell
(Invoke-WebRequest -Uri "https://example.com" -Method Head).Headers
Mac / Linux curl
curl -I https://example.com
The online tool queries from an external server in a neutral location. Results may differ from a local curl command if a CDN serves different headers based on client IP geolocation or network path.
HTTP Security Headers — What to Look For in Your Results
Security headers are HTTP response headers that instruct the browser how to handle the server's content and which actions to block. Their absence is the most frequently reported finding in web application security audits. Check your results for these four critical entries:
-
Strict-Transport-Security (RFC 6797) — instructs the browser to
connect only via HTTPS for the duration defined by
max-age. Recommended value:max-age=31536000; includeSubDomains; preload. This header is absent on servers not configured for HTTPS — its presence confirms the server actively enforces encrypted connections. - Content-Security-Policy — restricts which scripts, stylesheets, fonts, and API endpoints the browser may load for the page. A missing CSP is the single most common critical finding in third-party web security audits and prevents cross-site scripting (XSS) and data injection attacks.
-
X-Frame-Options (RFC 7034) — controls whether the page can be
loaded inside an iframe on another domain.
DENYblocks all embedding;SAMEORIGINpermits embedding only from the same origin. Prevents clickjacking attacks that trick users into interacting with hidden frames. -
X-Content-Type-Options — set to
nosniffto prevent browsers from interpreting files as a MIME type other than the one declared inContent-Type. Blocks MIME confusion attacks where a crafted file is executed as a different type than intended.
Common Uses for HTTP Response Header Checking
Post-deployment security verification. A web developer deploys a new
nginx configuration with HSTS and CSP directives and needs to confirm the headers are
active before removing the HTTP listener. They enter the domain, confirm
strict-transport-security: max-age=31536000; includeSubDomains is present,
and verify content-security-policy and x-frame-options are
also set before marking the deployment complete.
CDN cache verification. A DevOps engineer suspects a CDN configuration
change broke caching after a deployment. They check the cache-control,
x-cache, and age headers to confirm whether responses are
originating from the CDN edge or bypassing it to the origin server, and verify the
max-age directive matches the intended caching policy.
Third-party security audit. A security analyst checking a client's production domain finds that Content-Security-Policy, X-Frame-Options, and X-Content-Type-Options are all absent from the response headers. They document the three missing headers, reference OWASP Secure Headers Project recommendations for each, and use the findings to build the remediation priority list for the engineering team.
Frequently Asked Questions
What does the HTTP Header Checker return?
How accurate are the HTTP response headers shown?
curl -I https://yourdomain.com
in a terminal to perform an independent comparison.
What are the most important HTTP security headers to check?
Why are some HTTP headers missing from my results?
curl -I https://yourdomain.com to confirm whether the header
exists at the origin.