How to check a website’s HTTP response headers
Updated 2026-11-17T00:00:00.000Z
Quick answer
Paste the address on viewhtmlonline.com and open the Headers tab. In a browser, open Developer Tools, go to the Network tab, reload, and click the first request.
Headers are short lines a server sends before the page itself. They say what kind of file it is, how long it may be cached, where to redirect, and which security rules apply.
The quick way
Paste the address on viewhtmlonline and open the Headers tab. You get every response header, the redirect chain, and a grade for the security headers.
In your browser
- Open Developer Tools: F12, or Option+Command+I on a Mac.
- Go to the Network tab and reload the page.
- Click the first line, which is the page itself.
- Open Headers and look under Response Headers.
With curl
In a terminal:
curl -sI https://temp.cool
Add -L to follow redirects and see the headers of each step.
Headers worth knowing
| Header | What it tells you |
|---|---|
content-type |
The kind of file, such as text/html; charset=utf-8 |
cache-control |
How long browsers and CDNs may keep a copy |
location |
Where a redirect goes |
set-cookie |
A cookie the site stores in your browser |
strict-transport-security |
Browsers must use https for this site |
content-security-policy |
Which scripts, styles and frames the page may load |
x-robots-tag |
Search engine rules, such as noindex |
server, x-powered-by |
Sometimes the software behind the site |
More on the security ones: security headers explained.
Questions people ask
Why do I see different headers in my browser and on viewhtmlonline?
Servers can answer differently depending on who asks, where they are and which cookies they send. Your browser also sends cookies, while our server fetches the logged-out page.
What is a 304 status?
It means Not Modified: your browser already has the latest copy, so the server sent no new body. Turn on Disable cache in the Network tab to see the full response.