HTTP Headers Checker — Inspect Response Headers Online
Inspect HTTP response headers for any URL. Check security headers, caching settings, and server information. Free HTTP headers analyzer. No signup required.
Use HTTP Headers Checker
Launch the HTTP Headers Checker tool — fully free, no signup required.
What Are HTTP Headers?
Important HTTP Security Headers
| Header | Purpose | Example |
|---|---|---|
| Strict-Transport-Security | Forces HTTPS | max-age=31536000 |
| X-Frame-Options | Prevents clickjacking | DENY |
| X-Content-Type-Options | Prevents MIME sniffing | nosniff |
| Content-Security-Policy | Prevents XSS | default-src 'self' |
| Referrer-Policy | Controls referrer info | strict-origin |
How to Use the HTTP Headers Checker
Common Missing Security Headers
What It Is
HTTP response headers are the metadata a web server returns alongside every page, API response, image, and asset. They control caching, encoding, security policy, cookies, MIME type, CORS, and dozens of other browser behaviors. The body of the response is what your eyes see; the headers are what your browser obeys. The HTTP Headers Checker fetches any URL and lays out the full header set so you can audit it in seconds. Security teams use it to spot missing CSP and HSTS. Performance engineers use it to verify Cache-Control. SEOs use it to confirm X-Robots-Tag and Vary. Anyone debugging a CORS error reaches for it first.
How It Works
The tool issues an HTTP request from our backend to the URL you provide, follows redirects, and captures the response status line plus every header the server sends. Because the request comes from a server (not a logged-in browser), you see exactly what an anonymous crawler or external monitor sees — no cookies, no personalization, no Service Worker rewrites. Headers are returned in the order the server sent them, so you can spot duplicates or misorderings that a browser would silently merge.
Real-World Examples
A frontend developer chasing a CORS error confirms the server returns Access-Control-Allow-Origin with the right value. A security engineer audits a new microservice and finds it's missing HSTS, CSP, and X-Content-Type-Options — three quick wins. A CDN engineer verifies that a long-tail asset is returning Cache-Control: public, max-age=31536000, immutable so it's cached for a year. An SEO consultant confirms a staging environment is returning X-Robots-Tag: noindex so it can't accidentally leak into Google. A platform team debugging a stale-asset complaint sees that the response has no Cache-Control at all, so every proxy is applying its own default.
Common Mistakes to Avoid
Don't audit only the homepage — different routes often have different headers, and that's where misconfigurations hide. Don't trust browser DevTools alone; extensions, Service Workers, and disk cache can rewrite headers in transit. Don't set both Cache-Control and Expires with conflicting values — Cache-Control wins in modern clients, but inconsistency confuses humans. Don't paste a wide-open CSP from Stack Overflow; a permissive policy is worse than no policy because it makes you feel secure. And don't ignore the order of Set-Cookie headers — some old clients only honor the first one.
Security Implications
Five headers do most of the security heavy lifting: Strict-Transport-Security forces every future request to HTTPS for the duration you specify (months at minimum, plus preload for serious sites). Content-Security-Policy whitelists exactly which origins can serve scripts, styles, and frames, which is the single best defense against XSS. X-Frame-Options (or frame-ancestors in CSP) blocks clickjacking. X-Content-Type-Options: nosniff stops the browser from second-guessing MIME types. Referrer-Policy stops you from leaking sensitive URLs to third parties. Missing any of these is a finding on every modern security review.
Best Practices
Build a baseline header policy and apply it at the edge (Cloudflare, Fastly, CloudFront, nginx) rather than per-app. Use Cache-Control aggressively on static assets and conservatively on HTML. Always set Content-Type explicitly — never rely on the server's guess. Use HSTS with a max-age of at least 6 months and apply for preload once you're confident. Roll out CSP in report-only mode first so you can capture violations without breaking the site, then promote to enforce. And re-check headers after every CDN or platform migration; defaults differ between providers.
Troubleshooting Guide
Headers look right in the tool but wrong in the browser? You're probably looking at a cached response — open a private window and force-reload. CSP is blocking your own scripts? Check the Console for the violation message; CSP errors are extremely specific about which directive failed. Cache-Control set but the asset still re-downloads? Check Vary; a wildly varying Vary header effectively disables caching. Setting Set-Cookie but the cookie doesn't stick? Verify Domain, Path, Secure, SameSite, and that the request is HTTPS if Secure is on. Getting a 502 from the checker? The upstream server returned no headers — try the origin directly to bypass CDN edge errors.
Frequently Asked Questions
What are HTTP response headers?+
HTTP headers are metadata sent by a web server along with every response. They control caching, security policies, content type, and other browser behaviors.
What is the difference between request and response headers?+
Request headers are sent by the client (browser, curl, this tool) to describe what it wants. Response headers are sent back by the server to describe what it's returning. This tool inspects response headers.
Do I need every security header on every page?+
HSTS and X-Content-Type-Options apply sitewide. CSP and X-Frame-Options should be set globally but may need per-route exceptions. The cost of being too restrictive is low — start strict and relax only where needed.
Why are headers case-insensitive?+
RFC 9110 requires header field names to be matched case-insensitively. Most servers normalize to lowercase, but the protocol doesn't care about the case.
What's the difference between Etag and Last-Modified?+
Both let a client revalidate a cached response. Etag is an opaque token (a hash, a version) and is more precise. Last-Modified is a timestamp and is cheaper to generate. Use both where you can.
Should I hide the Server header?+
Hiding it is security through obscurity — it raises the bar slightly for casual scans but doesn't stop a real attacker. Patching the underlying software matters far more.
How do I add security headers without modifying my app?+
Set them at the CDN or reverse proxy layer (Cloudflare Page Rules, Fastly VCL, nginx add_header). That keeps the policy centralized and consistent across services.
Why does the same URL return different headers from different tools?+
User-Agent, Accept-Encoding, geographic edge, and follow-redirect behavior all influence the response. This tool reports the final response after following redirects, from our backend region.
How to inspect HTTP response headers
- 1
Enter the URL
Paste the full URL including https:// — the path matters because different routes can return different headers.
- 2
Run the request
The tool issues an HTTP GET (and inspects the response). Redirects are followed so you see the final headers.
- 3
Read the status line
Confirm the status code matches your expectations: 200 OK, 301/302 for redirects, 4xx/5xx for errors.
- 4
Audit security headers
Check for Strict-Transport-Security, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, and Referrer-Policy.
- 5
Verify caching headers
Cache-Control, Etag, and Last-Modified determine how the CDN and the browser cache your response — and how fast repeat visits are.
Learn More — Related Guides
Related Tools — More Developer Tools
JSON Formatter
Format, validate and beautify JSON data instantly. Free online JSON formatter, no signup needed.
Base64 Encoder
Encode or decode Base64 strings instantly online. Free Base64 converter, no signup required.
URL Encoder
Encode or decode URLs instantly online. Free URL encoder and decoder, no account needed.
JWT Decoder
Decode and inspect any JWT token instantly. Free online JWT decoder with header and payload display.
URL Parser
Parse and analyze any URL into its components instantly. Free online URL parser tool.
Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from any text. Free online hash generator.