RESPONSE HEADERS

HTTP headers checker: headers, redirects and security

See the response headers a server sends for any web address, follow every redirect, and check the main security headers.

Web address
Our server fetches the address with a normal GET request over HTTP/1.1, follows up to 8 redirects and shows the response headers. The page body is not downloaded or stored. Checks are limited per visitor to keep the tool fair for everyone.
The basics

What are HTTP headers?

Every time a browser loads a page, the server first sends a block of response headers: the status code, the type and size of the content, how long it can be cached, cookies to set, and instructions about security. Visitors never see them, but they decide how the page is cached, whether it is delivered over a secure connection, and how well the site is protected against common attacks.

Checking the headers is the quickest way to see why a page is not caching, where a redirect really goes, whether a CDN is serving it, or whether the basic security headers are in place.

Security headers

The headers this tool looks for

Strict-Transport-Security (HSTS)

Tells the browser to use HTTPS only for this site for a stated time, which stops downgrade attacks on later visits.

Content-Security-Policy

Lists the places a page may load scripts, styles and frames from. A well-written policy is one of the strongest defences against cross-site scripting.

X-Content-Type-Options

The value nosniff stops browsers from guessing a file’s type, which blocks a class of content-confusion attacks.

Clickjacking protection

Either X-Frame-Options or the frame-ancestors part of the Content-Security-Policy stops other sites from displaying your page in a hidden frame.

Referrer-Policy

Controls how much of the address a visitor came from is passed on to other sites when they follow a link.

Permissions-Policy

Switches off browser features such as the camera, microphone or location for the page and any frames in it.

Reading the result

What a missing header means

The security table shows whether each header is present, not whether its policy is well written, so treat it as a checklist and not a grade. A missing header is not automatically a flaw: a simple static site may not need a Content-Security-Policy, and a site that is only ever reached over plain HTTP cannot use HSTS. A weak value, such as a policy that allows any script, can be worse than helpful, so read the value too.

Some things cannot be seen from here. The check is made by our server over HTTP/1.1, so it will not show you how a browser negotiates HTTP/2 or HTTP/3 (look for an alt-svc header), and a site may send different headers to different visitors, countries or user agents.

FAQ

Frequently asked questions

How do I check the HTTP headers of a website?

Enter the address above and press Check headers. You will see the status code, every redirect step, and all the response headers of the final page.

What does each status code mean?

200 means success. 301 and 308 are permanent redirects, 302 and 307 are temporary redirects, 404 means the page was not found and 500 or higher means a server error. 403 often means a firewall or bot protection refused our request.

Why do I get 403 or a different page than in my browser?

Some sites and firewalls block requests that come from servers or that do not look like a browser. Our request identifies itself as a checker, so a protected site may answer differently than it does for you.

Is the page content downloaded?

No. The check reads the response headers and then closes the connection, so the body is not downloaded, stored or analysed.

Why does it say HTTP/1.1 when my site uses HTTP/2 or HTTP/3?

This tool makes its request over HTTP/1.1, which every server understands, so that is what it reports. If your site supports HTTP/3 it will usually say so in an alt-svc header, which this tool shows.

Can I check pages that need a login?

No. The request carries no cookies or credentials, so you see what an anonymous visitor would get, which is usually the login page or a redirect to it.

Why can I not check an IP address or an internal site?

The check is made from our server on the public internet, so it only connects to public hostnames on ports 80, 443, 8080 and 8443. IP addresses and internal addresses are refused for safety.

What is the difference between a 301 and a 302 redirect?

A 301 is permanent, so browsers and search engines remember it and treat the new address as the real one. A 302 is temporary and tells them to keep using the original address. Use 301 for a lasting move, such as sending HTTP to HTTPS.