Get HTTP Headers

Get HTTP Headers

Analyze server response headers instantly to troubleshoot site performance, redirects, and security configurations.

How to Get HTTP Headers for a URL

Paste the full address, including https://, into the field and run the tool. It returns the status line first, then one header per line. A typical result looks like this:

HTTP/2 200 OK
content-type: text/html; charset=UTF-8
cache-control: public, max-age=3600
etag: "5d8c72a5edda8"
last-modified: Mon, 09 Nov 2026 08:12:40 GMT
server: nginx
x-frame-options: SAMEORIGIN
strict-transport-security: max-age=63072000

The status 200 OK means the page was delivered. content-type tells the browser how to read the body, and server names the software, although many hosts hide or change it. The MDN reference for HTTP headers documents every standard field if you meet one you do not recognize.

The HTTP Headers Checker displays the raw server response metadata for your URL.The Get HTTP Headers tool lists the status line and every header the server returns.

When you get HTTP headers for a URL, you see what the server really answered, not what a browser extension or a CDN dashboard reports. That matters when a page still shows old content after an update, when a redirect lands in the wrong place, or when you suspect a security header is missing.

Reading a Sample Response

How to Get HTTP Headers for a URL

Paste the full address, including https://, into the field and run the tool. It returns the status line first, then one header per line. A typical result looks like this:

HTTP/2 200 OK
content-type: text/html; charset=UTF-8
cache-control: public, max-age=3600
etag: "5d8c72a5edda8"
last-modified: Mon, 09 Nov 2026 08:12:40 GMT
server: nginx
x-frame-options: SAMEORIGIN
strict-transport-security: max-age=63072000

The status 200 OK means the page was delivered. content-type tells the browser how to read the body, and server names the software, although many hosts hide or change it. The MDN reference for HTTP headers documents every standard field if you meet one you do not recognize.

Cache Headers and Stale Content

cache-control: public, max-age=3600 lets browsers and shared caches, a CDN for example, reuse this response for 3,600 seconds without asking the server again. A short max-age makes the browser check back sooner. If the header is missing, browsers may fall back on heuristic caching, which often uses the Last-Modified date, so the result is harder to predict.

ETag and Last-Modified are validators. Once a cached copy expires, the browser sends them back and the server can answer 304 Not Modified instead of sending the file again. Without them the browser has no cheap way to confirm its copy, so it downloads the file again after expiry.

If visitors see an old file after a deploy, look at max-age first. Then check whether a CDN holds its own copy, because its rules can differ from the ones the browser sees.

Redirects and Status Codes

A redirect response carries a 3xx status and a location header:

HTTP/1.1 301 Moved Permanently
location: https://www.example.com/

One request shows one hop. A path like http://example.com to http://www.example.com to https://www.example.com takes three requests, and you only see the whole chain if the tool follows redirects. Otherwise, run it again on each location value. Long chains add latency, and crawlers may stop following after a few hops.

If the response is a 4xx or 5xx, the Server Status Checker shows whether the error hits every page or only certain paths. Once the server response looks right, the Analyze Meta Tags tool reads the title, description and robots tags in the delivered HTML. That separates a delivery problem from an on-page one.

Security Headers

x-frame-options: SAMEORIGIN lets only pages from your own domain put the page in a frame, which blocks clickjacking from other sites. The frame-ancestors directive in a Content-Security-Policy header does the same job with finer control, and browsers that support it give it priority over X-Frame-Options.

strict-transport-security tells browsers to use HTTPS for the domain for the given number of seconds. The value above is about two years. Browsers only honor it when it arrives over HTTPS.

None of these headers encrypt anything, since that is TLS's job. A missing header in the result means this response did not include it. A proxy or CDN in front of the server may add or remove headers, so test the public URL, not only the origin.


Avatar

Hisham Fouad

CEO / Co-Founder

We build free, practical SEO, webmaster and YouTube tools for website owners and content creators. Have a suggestion? Get in touch through the Contact page.