HTTP headers

Inspect any URL's headers

Status code, redirect chain, and every response header, fetched live.

What HTTP headers are

Every time a browser asks for a page, the server answers with a status code and a set of headers before any content. Headers tell the browser what it received, how long to keep it, which security rules apply and whether to go somewhere else instead. They are invisible on the page but shape how it loads.

content-type
What the response is, such as text/html or application/json, and often its character set.
cache-control
How long browsers and CDNs may keep a copy before asking again, or whether they may keep one at all.
strict-transport-security
Tells browsers to use HTTPS only for this site for a set time, so a mistyped http:// link is upgraded automatically.
location
Sent with a redirect. It holds the address the browser should go to next.

A redirect chain is the list of hops between the address you typed and the page you end up on, for example from http:// to https:// and then to www. Each hop is another round trip, so a long chain slows the first visit, and search engines may stop following it. One or two hops is normal; more usually means old redirects were stacked on top of each other.

Frequently asked questions

Headers are short name and value pairs a server sends before the page itself. They describe the response: its type, how long it can be cached, security rules, cookies and where to go next if it is a redirect.

More network tools