WebTools

Free website and network diagnostic tools

HTTP Headers Parser - View Response Headers Online

View and parse the full set of HTTP response headers a server returns for any URL.


HTTP Headers Parser - View Response Headers Online

What Is an HTTP Headers Parser?

Before a server sends you a page, it sends a set of headers — key-value pairs carrying instructions about the response. They specify what type of content is coming, how long browsers may cache it, whether the connection must use HTTPS, which origins may embed the page, and much more. Browsers act on these instructions silently, so most people never see them.

A headers parser requests a URL and displays that entire set in readable form. This matters because a large share of caching, security, and rendering problems are invisible in the page itself but obvious in the headers. A page that refuses to cache, a font that will not load cross-origin, or a redirect loop that only affects some visitors — each leaves a trace here. The HTTP status code tells you what the server decided; the headers tell you the terms it decided on.

How to Use This Tool?

  1. Paste the full URL, including https://
  2. Run the parse
  3. Review the headers grouped by what they control — caching, security, content, and server details

The tool sends a standard request and reports what comes back, exactly as a browser would receive it. No account or installation is needed.

Understanding the Results

Content-Type declares the format and character encoding of the response. A mismatch here causes visible corruption — a page served as text/plain renders as raw markup, and a missing charset produces mangled characters on non-English text.

Cache-Control governs how long browsers and intermediate caches may reuse the response. no-store prevents caching entirely, max-age sets a lifetime in seconds, and public or private decides whether shared caches may keep a copy. If your static assets are being re-downloaded on every visit, this header is usually the reason.

ETag and Last-Modified let a browser ask whether its cached copy is still current. When the answer is yes, the server replies 304 and sends nothing further — a meaningful bandwidth saving on repeat visits.

Strict-Transport-Security instructs browsers to use HTTPS for the domain going forward, even if a user types http://. Once set with a long max-age, it removes an entire class of downgrade attacks. Its absence on an HTTPS site is worth fixing.

Content-Security-Policy restricts which sources may load scripts, styles, and frames. It is the most effective defence against cross-site scripting, and also the header most likely to break a page when configured too tightly.

X-Frame-Options and the newer frame-ancestors directive control whether other sites may embed your pages in a frame, which helps prevent clickjacking.

Server and X-Powered-By disclose the software stack. Neither is required, and removing them is a small, standard hardening step — there is no reason to advertise your PHP version to scanners.

Location appears on redirect responses and names the destination. If a redirect is not behaving as expected, comparing this value against what you configured is usually the fastest way to find the mistake.

Content-Encoding shows whether the response was compressed with gzip or brotli. Its absence on text assets means you are shipping more bytes than necessary. To see how much a compressed response actually saves, run a GZIP compression test on the URL.

When Is This Tool Useful?

  • Confirming that caching headers are set as intended after a performance change
  • Auditing which security headers a site sends, and which are missing
  • Diagnosing why an asset fails to load across origins by checking the CORS headers
  • Verifying that HSTS is active before submitting a domain to a preload list
  • Checking where a redirect actually points, rather than where it was meant to point
  • Confirming compression is enabled on text responses
  • Checking whether a server is reachable at all before examining its headers — if nothing returns, confirm the site is up first

What This Tool Does Not Do

The headers shown are those returned to this request, from this server, at this moment. Sites that vary responses by user agent, geography, or cookie state may send you something different. A CDN sitting in front of the origin will also add, remove, or rewrite headers, so what you see is the edge's response rather than the origin's.

The tool reports the headers; it does not judge whether your policy is correct. A Content-Security-Policy can be present, syntactically valid, and still permissive enough to be useless. Reading the values is the start of the audit, not the conclusion.

Frequently Asked Questions

How do I view the HTTP response headers for a URL?

 Paste the URL above and run the check. The tool makes the request and lists every header the server returns. This is the same information browser devtools show under the Network tab, without having to open devtools, reload the page, and find the right request.

How do I check what server software a website runs on?

 Look at the Server header in the results, and sometimes X-Powered-By. Between them, they often reveal the web server, its version, and the application framework behind it. Not every site sends these — many deliberately strip them, which is itself informative.

Which security headers should my site have?

 At minimum: Strict-Transport-Security to force HTTPS, X-Content-Type-Options: nosniff, Referrer-Policy, and a Content-Security-Policy. Their absence is not an active vulnerability, but each one closes off a category of attack that is otherwise available.

What does the Location header tell me?

 It is the destination of a redirect. When a server returns a 3xx status, Location holds the URL it is sending you to. If you need the whole route rather than one step, the redirect checker follows each hop in turn.

Why do my images reload on every visit?

 Almost always a Cache-Control problem. If the header is absent or set to no-store, browsers must fetch the file again each time. Static assets that rarely change should carry a long max-age.

What is the difference between a header and a status code?

 The status code is a single number summarising the outcome. Headers are the accompanying metadata describing the response — its type, its caching rules, its security constraints. Every response has both.

Should I remove the Server header?

 It is good practice. The header serves no functional purpose for visitors and tells automated scanners which software and version you run. Removing it does not secure anything by itself, but it removes free reconnaissance.

Why does the tool show different headers than my browser?

 A CDN or reverse proxy may respond differently based on location, and your browser may add its own headers to the request that change the response. Requests from a server and from a browser are not always treated identically.

Contact

Missing something?

Feel free to request missing tools or give some feedback using our contact form.

Contact Us