Web Development

HTTP Header & Redirect Checker

Check any URL's redirect chain and HTTP response headers, with the status code and timing of every hop and a security-headers grade explained in plain words.

HTTP Header & Redirect Checker
Enter a URL to see every redirect, the response headers and a security grade.

About this tool

The HTTP Header & Redirect Checker shows exactly what happens when a browser asks for a URL. Enter an address and our server requests it and follows every redirect one hop at a time, up to ten, showing each hop's status code (301, 302, 307, 308 and the rest), where it points next, which IP answered and how long it took, so you can spot redirect loops, needless extra hops, HTTP to HTTPS upgrades and www or trailing-slash rules. For the final response you get every header grouped by purpose (security, caching, content, CORS, cookies and server), plus a grade from A+ to F for the six security headers that matter most: Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, clickjacking protection (X-Frame-Options or frame-ancestors), Referrer-Policy and Permissions-Policy. Each one comes with a plain explanation of what it does and how to fix it. Choose GET or HEAD and a user agent such as Chrome, iPhone Safari, Googlebot or curl. Only response headers are read; page content is never downloaded.

How to use the HTTP Header & Redirect Checker

  1. Enter a URL, like example.com or https://example.com/page.
  2. Pick GET or HEAD, and a user agent if you want to see what a phone or Googlebot gets.
  3. Click Check to follow the redirect chain hop by hop.
  4. Read each hop's status code, destination and timing, and expand a hop to see its headers.
  5. Review the security grade and the grouped headers of the final response, and copy them if you need to.

Use it from your code

The HTTP Header & Redirect Checker is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

curl "https://opentools.ca/api/v1/tools/http-header-checker?url=http://example.com&userAgent=googlebot" \
  -H "Authorization: Bearer YOUR_API_KEY"

Give us your feedback

Help us improve HTTP Header & Redirect Checker!

Frequently asked questions

How is the security grade worked out?

Six headers are scored out of 100: Strict-Transport-Security and Content-Security-Policy (25 each), X-Content-Type-Options and clickjacking protection (15 each), and Referrer-Policy and Permissions-Policy (10 each). A weak setting, such as a CSP that allows unsafe-inline scripts, earns half marks. A+ needs full marks and a CSP without unsafe-eval. Pages served over plain HTTP are capped at C.

Should I use GET or HEAD?

GET is what browsers send, so it shows the real headers. HEAD asks for headers only, but some servers answer it differently or refuse it with 405. Either way, this tool reads only the headers and never downloads the page.

Why do I see different results from my browser?

Sites can answer differently depending on user agent, location, cookies and language. This check runs from our server without cookies, over HTTP/1.1, so try the user-agent presets to compare what desktop, mobile and Googlebot get.

Can I check a local or internal site?

No. For safety the checker only connects to public internet addresses on ordinary web ports. Private, loopback and cloud-internal addresses are refused, even when a public site redirects to them.

What if the certificate is invalid?

The check still shows the headers, and the hop is flagged with the certificate problem, such as expired or self-signed. Use the SSL Certificate Checker for the full certificate details.

HTTP Header & Redirect Checker screenshot