Skip to content
DA PA Checker

Free tool

HTTP Header Checker

See the response headers of any URL, with a grade for security, caching and compression.

Updated by the DA PA Checker team · How we measure

An HTTP header checker shows the response headers a server sends back for a URL. Paste a URL above to see the status code, response time and every header, plus a grade for the security headers that protect visitors, and checks for compression, caching and software versions that should stay hidden.

Headers are invisible in the browser, but they decide a lot: whether the page is cached, compressed, forced to HTTPS, allowed inside frames, and how much information leaks to other sites. Many sites are missing basic ones simply because nobody looked.

Key facts

  • HTTP headers are sent before the page itself and control security, caching and compression.
  • HSTS forces browsers to use HTTPS for the domain.
  • Content-Security-Policy limits where scripts and other files may load from.
  • Cache-Control decides how long browsers and CDNs keep a copy of a file.

Key facts

  • Headers are sent before the page itself and tell the browser how to handle it.
  • The tool requests the URL without following redirects, so you see the first answer exactly.
  • Six security headers are graded: HSTS, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Permissions-Policy.
  • Compression with gzip or Brotli usually cuts HTML size by 70 percent or more.
  • An X-Powered-By header that shows a version number helps attackers and should be hidden.

How to check HTTP headers

  1. Paste the full URL, for example https://example.com/.
  2. Press Go.
  3. Read the grade and the status code.
  4. Fix the failed checks, then scroll down to see every header the server sent.

Security headers explained

HeaderWhat it doesSafe starting value
Strict-Transport-SecurityForces HTTPS on every visitmax-age=31536000; includeSubDomains
Content-Security-PolicyLimits where scripts and styles may load fromStart in report-only mode
X-Content-Type-OptionsStops browsers guessing file typesnosniff
X-Frame-OptionsStops other sites framing your pagesSAMEORIGIN
Referrer-PolicyLimits what URL data goes to other sitesstrict-origin-when-cross-origin
Permissions-PolicyTurns off camera, microphone and other features you do not usecamera=(), microphone=(), geolocation=()

How to add security headers

On Apache or LiteSpeed hosting, add them to .htaccess inside an IfModule block:

<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
</IfModule>

With Cloudflare you can add them under Rules, Transform Rules, Modify Response Header, without touching the server. Add HSTS only when every page and subdomain already works on HTTPS, because browsers remember it for the full max-age.

Caching and compression headers

Cache-Control tells browsers and CDNs how long to keep a file. Static files like CSS, JavaScript and images can be cached for a year when their URLs change on every update. HTML pages usually get short caching or none. Content-Encoding shows whether the response is compressed: br means Brotli, gzip means gzip. No compression on a text page is an easy speed win to fix.

Do security headers help SEO?

Not directly. Google does not rank pages higher for having CSP or X-Frame-Options. They protect your visitors and your site from attacks that can lead to hacked pages, spam injections and malware warnings, and those do hurt rankings badly. HTTPS itself is a light ranking signal, and HSTS keeps it consistent.

Content-Security-Policy can break a site if set too strictly. Start with Content-Security-Policy-Report-Only, watch the browser console for a week, then switch to the enforced header.

Who uses this tool

Developers check headers after a server change. Site owners use it to confirm caching and compression work. Security consultants use it for quick audits. SEO people use it to check status codes, canonical link headers and X-Robots-Tag noindex headers that do not show in the page code.

A real example

A WordPress site gets grade D: no HSTS, no X-Content-Type-Options, no Referrer-Policy and an X-Powered-By header showing PHP 7.4. The owner adds four lines to .htaccess, turns on HSTS in Cloudflare and hides the PHP version in the hosting panel. The next check shows grade B in ten minutes, and the old PHP version is also a reminder to upgrade, because PHP 7.4 stopped receiving security fixes in November 2022.

Status codes you may see

CodeMeaning
200OK, the page loaded
301, 308Moved permanently
302, 307Moved temporarily
304Not modified, the browser may use its cached copy
403Forbidden, often a firewall
404, 410Not found or gone
5xxServer error

Headers that matter for SEO

HeaderWhy SEO people check it
X-Robots-TagCan noindex a page or a PDF without any meta tag
Link: rel=”canonical”Sets a canonical URL from the server, common for PDFs
LocationShows where a redirect goes
Content-TypeWrong types can stop pages or sitemaps from being read
Last-Modified, ETagHelp crawlers skip unchanged pages
VaryTells caches when mobile and desktop versions differ

A surprise X-Robots-Tag: noindex is one of the hardest SEO problems to find, because nothing shows in the page source. If a page refuses to index for no clear reason, check its headers here first.

Frequently asked questions

Why does the tool not follow redirects?

So you see exactly what the first URL returns. If it redirects, the result tells you where, and the redirect checker follows the full chain.

What grade should I aim for?

A or B is good for most sites. A full Content-Security-Policy takes the most work and can come last.

Can headers hide a page from Google?

Yes. An X-Robots-Tag: noindex header works like a noindex meta tag. This tool shows it if the server sends one.

Why is HSTS not checked on my URL?

HSTS only works over HTTPS. Test the https:// version of the URL.

Is X-XSS-Protection still needed?

No. Modern browsers removed that filter. A good Content-Security-Policy replaces it.