Get started
Free tool

HTTP header checker

Enter a URL to see every response header the page sends, after any redirects, and a security headers check: a grade from A to F with a plain fix for each missing or weak header. It also checks caching, compression, server details and X-Robots-Tag.

  • All response headers in one table.
  • HSTS, CSP, nosniff, framing, Referrer-Policy and Permissions-Policy graded.
  • Cache-Control, compression, version leaks and noindex headers.

Free, no sign-up, a few seconds.

Check a page

Your homepage or any page. Redirects are followed to the final page.

What the HTTP header checker does

Every time a browser or crawler loads a page, the server answers with a status code and a list of headers before any of the page itself. Headers say what the content is, how long it may be cached, whether it was compressed, which security rules the browser should apply and, sometimes, whether search engines may index it. None of this is visible on the page, which is why problems here go unnoticed for years.

The checker requests your URL, follows any redirects to the final page, and lists every header that page sends. It then grades six security headers and checks four more things that affect speed, privacy and indexing. Only the headers are read; the page body is not downloaded.

The six security headers

Strict-Transport-Security
Tells browsers to use https for your site for a set time, even when someone types http:// or follows an old link. A max-age of at least six months is expected; one year is common.
Content-Security-Policy
Lists where scripts, styles, images and frames may load from. A good policy stops most injected scripts from running. Start in report-only mode, because a strict policy can break third-party tools.
X-Content-Type-Options
Set to nosniff, it stops browsers guessing a file's type, so an uploaded text file cannot be run as a script.
X-Frame-Options or frame-ancestors
Controls which sites may show your page in a frame. Without it, another site can frame your page invisibly and trick visitors into clicking (clickjacking).
Referrer-Policy
Decides how much of your page's address is sent to other sites when someone follows a link. strict-origin-when-cross-origin sends only your domain to other sites.
Permissions-Policy
Turns off browser features you do not use, such as the camera, microphone and location, for your page and anything it embeds.

Caching, compression, server details and indexing

Cache-Control tells browsers and CDNs how long they may reuse a copy. Without it, each one guesses. HTML that changes often suits no-cache, which reuses a copy only after checking it is current; versioned CSS, JavaScript and images suit a long max-age with immutable. Compression (Brotli or gzip, shown in Content-Encoding) usually cuts HTML to a fifth of its size and is a single setting on most servers and CDNs.

Server details such as Server: Apache/2.4.41 or X-Powered-By: PHP/8.1 tell anyone which software and version you run, which makes it easier to try known flaws. They help no visitor, so remove the version or the header. X-Robots-Tag is a robots directive sent as a header. A noindex here keeps the page out of search results and AI answers exactly as a robots meta tag would, and because it is invisible in the page source, it is a common cause of pages that vanish from search after a server or CDN change.

How to read and fix the results

Start with anything marked Fix: a noindex header on a page you want found, a page served over http, and missing HSTS, nosniff or clickjacking protection. Those three headers are safe to add on almost any site; one line each in your server or CDN settings. Content-Security-Policy takes more care, because a strict policy can block analytics, chat widgets or payment forms. Begin with Content-Security-Policy-Report-Only, watch what it would block, adjust, then switch to the enforcing header. Referrer-Policy and Permissions-Policy are marked Improve when missing, since current browsers have sensible defaults, but setting them explicitly costs nothing.

After a change, run the check again, and check more than one kind of page. Headers set in a framework may apply only to some routes, and headers set at a CDN may not reach pages served from a different origin.

Headers, SEO and AI search

Search engines and AI crawlers read headers before anything else. A wrong status code, a stray X-Robots-Tag or a missing redirect to https can keep a page out of search results and out of the sources that ChatGPT, Perplexity and Google's AI Overviews cite, however good its content. Compression and caching make pages faster for crawlers with tight time limits as well as for visitors. To see the redirects before the final page, use the redirect checker. For the page itself, run the website SEO checker and the meta tag checker, and check that AI crawlers may read it with the AI crawler checker. To see whether AI assistants already name your brand, run the free AI visibility check.

Questions

How is the security grade worked out?

Six headers count: Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options (or frame-ancestors), Referrer-Policy and Permissions-Policy. Each pass counts in full and each warning counts half; the total is a score out of 100 and a grade from A to F. Caching, compression, server details and X-Robots-Tag are checked too but do not change the grade.

Do security headers help SEO?

Not directly: search engines do not rank pages by their security headers. HTTPS itself is a ranking signal, and HSTS keeps visitors on it. Security headers protect your visitors and your site from injected scripts and clickjacking, and a hacked site loses rankings fast. X-Robots-Tag, on the other hand, affects indexing directly.

Which headers does the checker read?

The headers of the final page, after any redirects, exactly as your server or CDN sends them to a crawler. Headers can differ by page, so check your homepage and a typical inner page. Some CDNs and firewalls send different headers to bots; if what you see here differs from your browser's developer tools, that is the likely cause.

Where do I add these headers?

Wherever your responses are built: the server configuration (nginx add_header, Apache Header set), your hosting platform's headers file or settings, CDN response rules, or your web framework's middleware. Many content systems have a plugin for security headers.

Is this header checker free?

Yes, with no sign-up. Each network can run 30 checks a day across our website tools. The page's headers are read once and not stored.

Headers are the start

See who AI recommends
in your market.

CiteGaps tracks your buyers' questions on ChatGPT, Gemini, Perplexity and Google's AI every week, and drafts the content that gets you named.

7-day free trial, no card · 7-day money-back guarantee · Cancel anytime