HTTP Headers Checker

See the HTTP status code, full redirect chain and response headers for any URL, and get a security headers grade with fixes.

  • Free
  • No sign-up
  • Works on phone and computer

Guide

What this HTTP header checker shows

Every web page arrives with a set of response headers that tell the browser how to cache it, what type of content it is, and which security rules to apply. Enter any URL and we request it from our server, follow its redirects one at a time, and show you three things: the redirect chain with each status code and response time, a security headers grade from A to F for the final page, and the full list of response headers exactly as the server sent them.

How to use it

  1. Enter a URL such as https://example.com/page. Without http:// or https:// we assume HTTPS.
  2. Press Check headers.
  3. Look at the grade first, then the red items in the security list, then search the response headers table for anything specific, such as cache-control or content-encoding.

Reading the results

Redirect chain. One row per request, with status, URL and time to the response headers. If you only care about redirects, the redirect checker shows each Location target and judges the chain.

Security headers. We look for six headers on the final page:

HeaderWhat it doesA safe starting value
Strict-Transport-SecurityMakes browsers use HTTPS for future visits (HSTS). Not applicable on plain HTTP pages.max-age=31536000; includeSubDomains
Content-Security-PolicyLimits where scripts, styles and frames can load from; the strongest defence against cross-site scripting.default-src 'self'; frame-ancestors 'self' (adjust to your site)
X-Content-Type-OptionsStops browsers guessing content types.nosniff
X-Frame-OptionsPrevents clickjacking. A CSP with frame-ancestors also counts.SAMEORIGIN
Referrer-PolicyControls how much of the URL is sent to other sites.strict-origin-when-cross-origin
Permissions-PolicyTurns off browser features the site does not use.camera=(), microphone=(), geolocation=()

The grade is the share of applicable headers present: all of them is A, at least 80% is B, 60% is C, 40% is D, and less is F. A final page served over plain HTTP always gets F, because none of these headers can protect a connection that is not encrypted. The score next to the grade, such as 4/6, shows the raw count.

HTTP/3, Server and Powered by. HTTP/3 is "Advertised" when the Alt-Svc header contains h3. Server and X-Powered-By reveal the web server or framework if the site sends them.

Response headers. Every header of the final response, plus the final URL and the IP address we connected to.

Worked example. A small business site returns 200 OK over HTTPS with Strict-Transport-Security, X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN and Referrer-Policy, but no Content-Security-Policy or Permissions-Policy. That is 4 of 6, about 67%, so grade C. Adding Permissions-Policy raises it to 5/6 and grade B; a working CSP makes it A. The headers table also shows Server: nginx and X-Powered-By: PHP/8.1; removing X-Powered-By stops advertising the PHP version.

Practical uses

  • Pages are not updating for visitors. Check cache-control, age and any CDN cache header such as cf-cache-status or x-cache. A long max-age on HTML means browsers keep old copies.
  • A page is not being indexed. Look for an x-robots-tag: noindex header, which hides pages from search engines just like a meta tag, and confirm the status is 200. The SEO checker covers the on-page side.
  • The site feels slow. Check that content-encoding shows gzip or br and look at the response times in the chain, then run the website speed test for a fuller picture.
  • Adding security headers safely. Add HSTS only once every subdomain supports HTTPS, and roll out CSP in Content-Security-Policy-Report-Only mode first so you can see what it would block. Our website security checklist puts headers in context, and the SSL checker covers the certificate side.
  • Checking which CDN or host serves a site. Headers such as server: cloudflare or via often name the CDN. The website location checker adds the IP owner and country.

Limits

  • Only ports 80, 443, 8080 and 8443 on public addresses can be checked. Private and internal addresses are blocked for security.
  • We follow up to 8 requests within 20 seconds, and HTTPS certificates must be valid.
  • The grade checks whether each header is present, not whether its value is strong. A CSP that allows unsafe-inline everywhere still counts.
  • Sites can send different headers to different visitors (by country, cookie or user agent), and some block requests from data centres with a 403.
  • Headers set by the page's HTML, such as a CSP in a meta tag, are not counted.

Privacy

Our server sends ordinary GET requests to the URL you enter, identifying itself as ToolsForAnyone/2.0. We read the headers and do not save the URLs you check to a database.

Frequently asked questions

Why do I see a 403 when the site works in my browser?

Some sites block automated requests or requests from cloud data centres with bot protection.

Which ports can I check?

Ports 80, 443, 8080 and 8443 on public addresses. Private and internal addresses are blocked for security.

Is X-XSS-Protection still needed?

No. Modern browsers have removed the filter it controlled, so we do not grade it. Use a Content-Security-Policy instead.

How do I view headers myself?

Open your browser's developer tools, go to the Network tab, reload the page and click the first request. From a terminal, curl -I https://example.com prints the response headers.

Does a grade of A mean the site is secure?

No. It means the main protective headers are present. Server software, plugins, passwords and the application itself matter far more.

Updated

Comments

Share a tip, ask a question or tell others how the tool worked for you.
Copied to clipboard