Skip to content
ProfitTool
Back to all articles
Developer Tools
1 min read

How to Check HTTP Response Headers of Any Website

HTTP response headers reveal how a server is configured — its cache policy, security posture, technology stack and more. Here are several ways to inspect them.

ProfitTool Team

Security & Dev

Why Response Headers Matter

HTTP response headers are metadata sent by a server alongside every response. They control caching, compression, content type, security policies, cookies, CORS, and more. Inspecting them helps you:

  • Verify security headers are set correctly
  • Debug caching issues
  • Check whether compression is enabled
  • Confirm redirects are working
  • Identify the server technology

Method 1: Browser Developer Tools

The fastest approach for any website you can visit:

  1. Open DevTools (F12 or right-click → Inspect)
  2. Go to the Network tab
  3. Load or refresh the page
  4. Click the main document request (usually the first row)
  5. Click the Headers tab → scroll to Response Headers

Method 2: curl

From a terminal, -I sends a HEAD request (headers only) and -L follows redirects:

curl -I -L https://example.com

To see all headers including on redirects:

curl -v https://example.com 2>&1 | grep "^<"

Method 3: Online Tools

Online header checkers are useful when you want to check from outside your network or share results with a colleague. They work by proxying the request through a neutral server and displaying all response headers.

Method 4: httpie

httpie is a friendlier curl alternative:

http --headers GET https://example.com

Key Headers to Look For

HeaderWhat to check
Strict-Transport-SecurityPresent? max-age >= 31536000?
Content-Security-PolicyPresent? No unsafe-inline?
X-Content-Type-OptionsShould be nosniff
Cache-ControlIs static content cached? Is HTML no-store?
ServerVersion info disclosed? Consider removing or obscuring.
Content-EncodingIs gzip/br compression enabled?

Use our HTTP Response Headers Viewer to inspect any public URL's headers instantly.

Tags:#http headers#developer tools#web debugging#security headers

ProfitTool Team

Security & Dev

Written and maintained by the ProfitTool team. Where an article references a ProfitTool utility, the behaviour described is the behaviour of the tool on this site — you can open it and check the output yourself.