Black Friday until Nov 30: +50% on top-ups ⏳ Take the bonus
SEO Analysis

HTTP Header Checker and Security Headers Check

HTTP response header analysis: security, caching, compression, CORS.

Key facts

Check a website's HTTP headers online: enter an address and get every response header, a security score from 0 to 100 (HSTS, CSP, X-Frame-Options and five more) and caching and compression details. No sign-up. The tool checks server headers, not the H1–H6 tags on a page.

Price
Free
Sign-up
Not required
Processing
On our server: we send a GET request to the address, follow redirects and parse the headers of the final response
Input
One public URL or domain (https:// is added automatically)
Limits
30 checks per minute per IP; we wait up to 15 seconds; up to 10 redirects; one URL at a time
Output
All HTTP response headers, a 0–100 security score based on 8 headers plus HTTPS, a caching and compression block (Cache-Control, ETag, Last-Modified, Content-Encoding, Vary, Content-Type), status code, time, the Server header
Last updated

See it in action

HTTP Headers Check — Security and Caching

Check the HTTP response headers of any URL: security headers (CSP, HSTS, X-Frame-Options), caching and compression. A percentage score for security headers present and the full header list, including X-Robots-Tag.

Server security headers analysis
CSP, HSTS, X-Frame-Options check
Security score in percentage
Caching and compression check
Full list of response headers

How to Use

  1. Enter URL to check headers
  2. Click "Check" for analysis
  3. Review security score and headers list

Use Cases

  • Run quick header security checks on dev, staging, and production.
  • Validate cache policy and CORS behavior for pages and APIs.

Limitations

  • Shows headers for a specific URL, not the full site structure.
  • Some headers are added only on edge/CDN and may vary by path.

Example Input / Output

Example Input
https://example.com
Example Output
Security score B with missing Content-Security-Policy and X-Frame-Options.

FAQ

Enter the address and press Check. You get every response header plus a 0 to 100 security score based on eight headers (HSTS, CSP, X-Content-Type-Options, X-Frame-Options and others) and HTTPS. The score shows which security headers are missing.

Enter the address and click Check. The tool sends a request from our server, follows redirects and shows every header of the final response, a 0–100 security score and caching and compression details. No sign-up; the limit is 30 checks per minute.

HTTP headers: the ones a server sends before the page (Server, Cache-Control, HSTS and so on). H1–H6, title and description are inside the HTML itself. For those use the on-page checker or the meta tag analyzer.

Eight: Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, X-XSS-Protection, Referrer-Policy, Permissions-Policy and X-Permitted-Cross-Domain-Policies, plus 20 points for HTTPS. Points are given for a header being present; values are not graded.

All eight headers are present and the page is served over HTTPS. It is not a guarantee of safety: header values are not analysed and the tool does not look for vulnerabilities in the site itself. For that you need a security scanner.

The request comes from our server, and bot protection (Cloudflare, for example) or a load balancer may send different headers than you receive. Some headers are also added only for certain page types or paths.

No, only the headers of the final response are shown. For the chain and the code of each step use the redirect checker.

Who it is for and typical uses

  • A quick security audit of a site. It shows which of the eight protective headers (HSTS, CSP, X-Frame-Options and others) the server sends at all.
  • Tuning caching. Check Cache-Control, ETag and Last-Modified so browsers and CDNs do not reload static files on every visit.
  • Checking compression. The Content-Encoding header shows whether the server sends gzip or brotli.
  • After changing server, CDN or Cloudflare. Make sure headers did not disappear and the content type is correct.
  • Developer debugging. Server, Vary and Content-Type help you see which layer of the stack answered.

HTTP headers say nothing about the certificate itself: its expiry date, chain and SAN domains are shown by the SSL checker.

Honest limitations

  • The score counts presence only. A header is credited even if its value is weak or wrong: a CSP with unsafe-inline earns the same points as a strict one.
  • X-XSS-Protection is not scored. The header is obsolete and modern scanners no longer test it, so it is shown but earns no points, and its absence is not a mistake.
  • Only the final response is shown. Headers of intermediate redirects are not displayed; for the chain use the redirect checker.
  • HTML headings are not checked. H1–H6, title and description live in the page, not in the HTTP response: for them see the on-page checker and the meta tag analyzer.
  • No TLS or cookie analysis. Protocol versions, the certificate and Set-Cookie flags are not evaluated here.
  • The request comes from our server, and sites with bot protection may send us different headers than your browser gets.

Related: security headers, website security scanner, compression checker, HTTP status checker, SSL checker.

PromoPilot vs alternatives: comparison

We compare only what is confirmed on each service's own pages. Where we could not confirm a fact, the cell shows "—".

Parameter PromoPilot MDN HTTP Observatory KeyCDN HTTP Header Checker httpstatus.io
Free and limits Yes: 30 checks per minute, no sign-up Any domain can be scanned; a rescan only once every 60 seconds A free online curl test; limits not stated A web tool; terms and prices not stated (the API says “get started for free”)
Security grade Score 0–100 for the presence of 8 headers and HTTPS ✓ letter grade and numeric score ✗ ✗
Analysis of header values ✗ ✓ policy tests (CSP, Referrer-Policy and others) ✗ ✗
Several URLs at once ✗ — — ✓ up to 100 URLs simultaneously
Custom request headers (Referer etc.) ✗ — ✓ Referer and X-Pull, Brotli/Gzip option —
Caching and compression block ✓ — — —
Headers for each redirect step ✗ Tests that the HTTP→HTTPS redirect stays on the same host — ✓ up to ten redirects with headers, bodies and timings

Scroll the table sideways

Where we are weaker: the score counts only whether headers are present and does not parse their values; there is no multi-URL check, custom request headers or headers of intermediate redirects.

When to choose PromoPilot: When you want every response header in seconds and a quick view of which protective headers are missing, plus caching and compression. The score counts only whether a header is present, so for a deep analysis of values (such as CSP quality) use a dedicated security scanner.

Checked on: . "—" means not confirmed on the official page; terms and prices change, so check the services' own sites.

HTTP headers checker: what the report shows

The tool sends a normal GET request (not HEAD) to the URL, follows up to 10 redirects and shows the headers of the final response. The redirect chain itself is not listed; to see each hop and its status code, use the redirect checker.

The report has four parts: an overview (HTTP status, response time, HTTPS or HTTP, header count and the Server value), "Security Headers", the full "All Response Headers" table and "Caching & Performance".

Requests go out with the user agent PromoPilot SEO Tools. If the site sits behind a WAF or bot protection, you may see a 403 or 503 and the headers of a challenge page rather than the real response. When that happens, compare with the curl commands below.

How the security score is calculated

CheckPoints
Final URL served over HTTPS20
Strict-Transport-Security15
Content-Security-Policy15
X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy10 each
X-Permitted-Cross-Domain-Policies5

Only the presence of a header is scored, not its value. Strict-Transport-Security: max-age=0 or a CSP full of 'unsafe-inline' earns full points while protecting very little. A policy sent as Content-Security-Policy-Report-Only earns nothing, because the checker looks for the exact header name. So read the values — each one is printed under the header it belongs to.

Recommended security header values

HeaderWorking valueNote
Strict-Transport-Securitymax-age=31536000; includeSubDomainsEnable only once every subdomain works over HTTPS; start with a short max-age
X-Content-Type-OptionsnosniffThe only valid value
X-Frame-OptionsSAMEORIGIN or DENYThe modern replacement is CSP frame-ancestors; sending both is fine
Referrer-Policystrict-origin-when-cross-originOther sites see your domain in referral data, not paths or query strings
Permissions-Policycamera=(), microphone=(), geolocation=()Switch off browser APIs the site does not use
Content-Security-PolicySite-specificRoll out as Report-Only first, collect violations, then enforce
X-XSS-Protection0The filter is gone from modern browsers; it is shown but not scored; 0 is the recommended value

nginx

add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;

The nginx trap: if a location block has even one add_header of its own, it inherits none from the server level. The usual symptom is headers on the home page that vanish on static files or one section of the site — so test several URLs, not just the root.

Apache and .htaccess

<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>

WordPress, Shopify and hosted builders

On WordPress, set headers in .htaccess or the server config. From theme code, the send_headers hook with header() works, but only for responses PHP generates — images and static files will not get them. On hosted platforms such as Shopify, Wix or Squarespace you cannot edit server config; custom headers are only possible through a proxy in front of the site, for example Cloudflare's response header transform rules.

Common problems the report reveals

  • The same header twice. Two X-Frame-Options or two Cache-Control rows with different values mean both the CMS and the server (or the server and the CDN) are adding them. Browsers then behave unpredictably — keep one source.
  • Software versions on display. Server: nginx/1.18.0 or X-Powered-By: PHP/7.4 tells an attacker which vulnerabilities to try. Hide them with server_tokens off; in nginx and expose_php = Off in PHP.
  • HSTS on a plain HTTP response. Browsers accept Strict-Transport-Security only over HTTPS; on an HTTP response it does nothing.
  • Headers missing on errors. Without always, nginx does not add headers to 4xx and 5xx responses. While you are at it, test a URL that does not exist: it should return 404, not 200.
  • CDN cache status. Headers such as cf-cache-status, X-Cache and Age tell you whether the page came from the CDN cache or from your origin.

For a letter grade from A to F on the same set of security headers, use the separate security headers check.

Caching and compression headers

The "Caching & Performance" block shows whether Cache-Control, ETag, Last-Modified, Content-Encoding, Vary and Content-Type are present. How to judge them:

  • HTML pages are usually sent with Cache-Control: no-cache or a short max-age so edits show up immediately.
  • Fingerprinted static files (a hash in the file name) can use Cache-Control: public, max-age=31536000, immutable.
  • ETag and Last-Modified enable 304 Not Modified responses. Google has said its crawlers support these conditional requests, which saves crawl budget on large sites.
  • Content-Encoding: the checker tells the server it accepts compressed responses, so a missing header usually means HTML is sent without gzip or Brotli. The compression checker goes into detail.
  • Vary: Accept-Encoding belongs on compressed responses so a CDN does not serve a compressed copy to a client that cannot read it.

X-Robots-Tag and other SEO-relevant headers

The checker does not score these, but you will find them in "All Response Headers":

  • X-Robots-Tag: noindex keeps a page out of the index exactly like a meta robots tag — even when the HTML looks fine. A classic cause is a staging rule copied to production. See Google's documentation on robots directives.
  • Link: <…>; rel="canonical" sets a canonical URL for PDFs and other non-HTML files.
  • Content-Type should include charset=utf-8; without it, snippets can show garbled characters.
  • Set-Cookie on every response prevents CDN caching.

Keeping PDFs out of the index with nginx:

location ~* \.pdf$ {
    add_header X-Robots-Tag "noindex, nofollow";
}

Which URLs to test

Headers come from server rules, the CMS and the CDN, and they often differ between URLs. For a complete picture, run five or six addresses: the home page, a category page, a product page or article, any CSS file or image, a PDF if you have one, and a URL that does not exist. The differences between them are your to-do list.

Checking headers with curl -I and DevTools

# Headers only (HEAD request)
curl -I https://example.com/

# Headers of a normal GET, following every redirect
curl -sSL -D - -o /dev/null https://example.com/

# Does the server send Brotli or gzip?
curl -sI -H "Accept-Encoding: br, gzip" https://example.com/ | grep -i content-encoding

curl -I sends HEAD, and some servers and CDNs answer HEAD differently from GET — when results differ, trust the second command. In a browser, open DevTools → Network → the document request → Headers.

Looking to check H1–H6 headings rather than HTTP headers? That is a different job: the on-page checker shows a page's heading structure.

Cascade link promotion for your site $30 bonusBacklinks 5→50→5000 across 100+ platforms. From $30 to start, plus a $30 bonus for newcomers.