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.
How to Use
- Enter URL to check headers
- Click "Check" for analysis
- 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
https://example.com
Security score B with missing Content-Security-Policy and X-Frame-Options.
FAQ
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-inlineearns 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
| Check | Points |
|---|---|
| Final URL served over HTTPS | 20 |
| Strict-Transport-Security | 15 |
| Content-Security-Policy | 15 |
| X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy | 10 each |
| X-Permitted-Cross-Domain-Policies | 5 |
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
| Header | Working value | Note |
|---|---|---|
| Strict-Transport-Security | max-age=31536000; includeSubDomains | Enable only once every subdomain works over HTTPS; start with a short max-age |
| X-Content-Type-Options | nosniff | The only valid value |
| X-Frame-Options | SAMEORIGIN or DENY | The modern replacement is CSP frame-ancestors; sending both is fine |
| Referrer-Policy | strict-origin-when-cross-origin | Other sites see your domain in referral data, not paths or query strings |
| Permissions-Policy | camera=(), microphone=(), geolocation=() | Switch off browser APIs the site does not use |
| Content-Security-Policy | Site-specific | Roll out as Report-Only first, collect violations, then enforce |
| X-XSS-Protection | 0 | The 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-Optionsor twoCache-Controlrows 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.0orX-Powered-By: PHP/7.4tells an attacker which vulnerabilities to try. Hide them withserver_tokens off;in nginx andexpose_php = Offin 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-CacheandAgetell 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-cacheor a shortmax-ageso 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 Modifiedresponses. 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.


