Try the HTTP Headers

HTTP Headers Checker β€” Inspect Response Headers for Any URL Instantly

Learn what HTTP response headers are, what the key headers (Cache-Control, HSTS, CSP, CORS, X-Frame-Options) mean, and how to use a free HTTP headers checker for security audits and debugging.

By sadiqbd Β· June 6, 2026

Share:
HTTP Headers Checker β€” Inspect Response Headers for Any URL Instantly

HTTP headers carry more information than most people ever look at

Every HTTP response your browser receives contains headers β€” metadata that travels alongside the content but isn't displayed on the page. These headers control caching, security policies, redirects, content type, compression, cookies, CORS permissions, and much more. For developers, security researchers, and SEOs, reading HTTP headers is a fundamental diagnostic skill.

An HTTP headers checker fetches a URL and displays all the response headers β€” no browser dev tools required, accessible from anywhere.


What HTTP Headers Are

HTTP uses a request-response model. Every response includes:

  1. A status line β€” e.g. HTTP/1.1 200 OK
  2. Response headers β€” key-value pairs describing the response
  3. Response body β€” the actual content (HTML, JSON, image, etc.)

The headers section contains information the browser uses but doesn't show you. Some examples:

HTTP/2 200
content-type: text/html; charset=utf-8
cache-control: public, max-age=3600
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubDomains
content-encoding: gzip
server: nginx
x-frame-options: DENY

Key HTTP Headers and What They Mean

Content and encoding

  • Content-Type β€” the MIME type of the response (text/html, application/json, image/webp)
  • Content-Encoding β€” compression used (gzip, br for Brotli, deflate)
  • Content-Length β€” size of the response body in bytes
  • Transfer-Encoding β€” how the body is transferred (chunked for streaming responses)

Caching

  • Cache-Control β€” caching directives: max-age=3600 (cache for 1 hour), no-cache, no-store, public, private
  • ETag β€” a fingerprint of the resource; browsers send it on subsequent requests; if unchanged, the server returns 304 Not Modified
  • Last-Modified β€” when the resource was last changed; used for conditional caching
  • Expires β€” older caching header; Cache-Control takes precedence

Security headers

  • Strict-Transport-Security (HSTS) β€” forces HTTPS for subsequent visits; max-age=31536000; includeSubDomains; preload
  • Content-Security-Policy (CSP) β€” controls what resources can be loaded (scripts, styles, images, frames)
  • X-Frame-Options β€” prevents clickjacking by blocking iframe embedding: DENY or SAMEORIGIN
  • X-Content-Type-Options β€” prevents MIME type sniffing: nosniff
  • Referrer-Policy β€” controls what referrer information is sent with requests
  • Permissions-Policy β€” controls browser feature access (camera, microphone, geolocation)

Redirects

  • Location β€” the redirect URL, returned with 301/302/307/308 status codes

CORS

  • Access-Control-Allow-Origin β€” which origins can make cross-origin requests
  • Access-Control-Allow-Methods β€” which HTTP methods are allowed in CORS requests
  • Access-Control-Allow-Headers β€” which request headers are allowed

Server information

  • Server β€” the web server software (nginx, Apache, cloudflare)
  • X-Powered-By β€” application framework (PHP/8.1, Express) β€” often removed for security

How to Use the HTTP Headers Checker on sadiqbd.com

  1. Enter the URL β€” the full URL including https://
  2. Run the check β€” the tool sends an HTTP request and displays all response headers
  3. Read the results β€” headers are displayed as key-value pairs with their values

The tool typically follows redirects and shows headers at each redirect step, which is useful for diagnosing redirect chains.


Real-World Examples

Verifying security headers

You've added security headers to your web server configuration. Check if they're actually being served:

Fetch https://example.com and look for:

  • Strict-Transport-Security β†’ HTTPS enforcement active
  • Content-Security-Policy β†’ XSS and injection protection active
  • X-Frame-Options: DENY β†’ clickjacking protection active
  • X-Content-Type-Options: nosniff β†’ MIME sniffing protection active

If any are missing, they weren't applied β€” check your server config or CDN settings.

Diagnosing a redirect loop or unexpected redirect

You're getting a redirect when you shouldn't be (or the wrong one). Check the headers:

GET http://example.com β†’ 301 Moved Permanently, Location: https://example.com (HTTP to HTTPS) GET https://example.com β†’ 200 OK (no more redirects)

Two-step redirect chain: HTTP β†’ HTTPS β†’ content. Normal.

If the tool shows: http://example.com β†’ https://example.com β†’ http://example.com β†’ ..., that's a redirect loop. The headers reveal exactly where it breaks.

Checking cache behaviour

A CDN-served page should be cacheable. Check the headers:

Cache-Control: public, max-age=86400 β€” cached for 24 hours βœ“ ETag: "a3b2c1d0" β€” versioning enabled βœ“ CF-Cache-Status: HIT (Cloudflare-specific) β€” served from CDN cache βœ“

If Cache-Control: no-store is present when it shouldn't be, that's why your CDN isn't caching.

Checking CORS configuration

Your frontend JavaScript is getting CORS errors. Check the API endpoint's headers:

Missing Access-Control-Allow-Origin header β†’ CORS not configured Access-Control-Allow-Origin: * β†’ allows any origin Access-Control-Allow-Origin: https://yourfrontend.com β†’ restricted to your domain

Detecting server information leakage

Server: Apache/2.4.51 (Ubuntu) β€” reveals exact software version (security risk) X-Powered-By: PHP/7.4.3 β€” reveals exact PHP version (security risk)

These headers should typically be removed or obscured in production. Knowing the exact server version helps attackers target known vulnerabilities.


HTTP Status Codes

The status line reveals the response type:

  • 1xx β€” Informational (rarely seen)
  • 2xx β€” Success: 200 OK, 201 Created, 204 No Content
  • 3xx β€” Redirects: 301 Permanent, 302 Temporary, 304 Not Modified
  • 4xx β€” Client errors: 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests
  • 5xx β€” Server errors: 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable

Tips for Using HTTP Headers

Always check security headers before going live. Run your site through an HTTP headers check before launch. Missing HSTS, CSP, or X-Frame-Options are common oversights.

Use security header graders for a full audit. Tools like securityheaders.com score your security header configuration. The HTTP checker shows you what's there; graders tell you what's missing and why it matters.

Watch for version information in Server and X-Powered-By. Remove or mask these headers in production to avoid giving attackers a roadmap.

Check headers on APIs, not just web pages. API endpoints often have different (and sometimes weaker) security header configurations than the main website.


Frequently Asked Questions

Can I see request headers (what my browser sends) with this tool? HTTP header checkers typically show response headers (what the server sends back). Request headers are visible in your browser's developer tools (Network tab).

Why does the Server header show "cloudflare" even though I use nginx? Cloudflare sits in front of your origin server. The HTTP headers checker sees Cloudflare's response, not your origin's. Use x-cache and other Cloudflare-specific headers to understand what Cloudflare is doing.

What does Cache-Control: no-store mean? The response must not be stored in any cache β€” browser or CDN. Every request fetches fresh content from the origin. Use this for sensitive pages (banking, medical), not general content.

How do I add HSTS to my site? In nginx: add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;. In Apache: Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains". Start with a shorter max-age (300 seconds) before committing to a year.

Is the HTTP headers checker free? Yes β€” completely free, no sign-up required.


HTTP headers are one of the most information-dense parts of the web stack. The checker surfaces them instantly β€” useful for security audits, debugging redirects, verifying caching, and understanding what any server is actually telling your browser.

Try the HTTP Headers Checker free at sadiqbd.com β€” fetch any URL and inspect all response headers instantly.

Share:
Try the related tool:
Open HTTP Headers

More HTTP Headers articles