Skip to main content

HTTP header checker

Analyze the HTTP response headers of a website. Check security headers, get code snippets for missing ones, and send your own request headers.
Input
Enter a URL
Check a single URL, analyze several targets in bulk mode, and send optional request headers.

Important HTTP headers

Security

HSTS, CSP, X-Content-Type-Options, and X-Frame-Options protect against attacks.

Caching

Cache-Control, ETag, and Last-Modified describe how responses can be cached.

Compression

Content-Encoding (gzip, br) shows whether the response is compressed.

How to read the HTTP headers of a website

  1. Enter the URL of the page you want to check.
  2. Start the check and wait for the server's response.
  3. At the top, look at the status code, response time, protocol, and security score.
  4. Open the header groups below and check what is missing or stands out.

The tool first sends a HEAD request, where the server returns only the headers. If the server answers with 405 or 501, the tool tries the same address with a GET request. If the server takes longer than 10 seconds, the check stops. If an error page with status 520 to 527 answers instead of the page, the tool doesn't rate any headers, because they don't come from the page. With 526, the certificate is invalid or expired.

After a single check, the "Copy link" button copies a link with your URL. Whoever opens it sees the filled-in field and starts the check themselves. Custom request headers and the bulk analysis are not part of the link.

Several URLs and custom headers

In the bulk tab, you enter up to 10 addresses, one per line. You get an overview of all security scores and can export them as CSV. That makes it easy to compare your home page with your shop, blog, and landing pages.

You can also send your own request headers, for example an Accept header or an Authorization header for a protected area. That helps you test how a server behaves for different requests. The tool doesn't allow headers that affect routing, such as Host or X-Forwarded-For.

How to read the result and the security score

The tool sorts the response headers into groups, for example security, caching, and compression. Each header gets a status. If the server redirected you to another address, a separate block shows the URL you entered and the target address. The tool doesn't list the intermediate stops of a longer redirect chain.

The security score shows how many of the six recommended security headers your page delivers and rates as good. Missing headers count as not met, so each of the six makes up about 17%. For Content-Security-Policy, what matters is whether it really restricts scripts. A CSP with frame-ancestors replaces X-Frame-Options, and then that header counts as met too. 'unsafe-inline' without a nonce or hash, 'unsafe-eval', and sources such as * or https: produce a warning. For Referrer-Policy, no-referrer, same-origin, strict-origin, and strict-origin-when-cross-origin count as good, and unsafe-url as bad. For Permissions-Policy, the tool warns if the syntax is invalid or if camera, microphone, location, payment, or USB are open to all pages. A header that is present can also get a warning if its value weakens the protection. It shows the reason for a warning next to the header. The missing headers are listed separately.

  • Strict-Transport-Security
  • Content-Security-Policy
  • X-Content-Type-Options
  • X-Frame-Options
  • Referrer-Policy
  • Permissions-Policy

The tool shows deprecated headers such as X-XSS-Protection and the cross-origin headers COEP, COOP, and CORP, but doesn't include them in the score. For X-XSS-Protection, 0 is the right value today, and 1 gets a warning.

Adding missing security headers

For each missing header you get a code snippet for Apache, Nginx, or Node.js. Copy it into the matching configuration. For WordPress on Apache it usually goes into the .htaccess file, and for Nginx into your host's server configuration.

Test the page thoroughly after a change. A Content-Security-Policy that is too strict can block scripts, fonts, or images. Afterwards, run the tool again to confirm that the header is really delivered.

Frequently asked questions

Everything about HTTP headers
What are HTTP headers?
HTTP headers are metadata sent with every HTTP request and response. They carry information such as the content type, caching rules, and security settings.
Which security headers matter most?
The most important ones include Strict-Transport-Security (HSTS), Content-Security-Policy (CSP), X-Content-Type-Options, X-Frame-Options, Referrer-Policy, and Permissions-Policy. Together they help protect against attacks such as XSS, clickjacking, and man-in-the-middle attacks.
What does Cache-Control mean?
Cache-Control controls how and for how long browsers and CDNs may cache resources. Important values are max-age (cache duration), no-cache (always revalidate), no-store (never cache), and public/private.
What are custom request headers?
With custom request headers, you attach your own HTTP headers to the request. That is useful for testing auth headers, API keys, and Accept headers, or for simulating the behavior of different clients.
Why does Content-Encoding matter?
Content-Encoding shows whether and how the response is compressed. Compression with gzip or Brotli (br) reduces the amount of data that has to be transferred.
How is the security score calculated, and why can a header that is present get a warning?
The score shows how many of the six recommended headers are present and rated as good, and each makes up about 17%. For some headers the tool also checks the value. A Content-Security-Policy with 'unsafe-inline' without a nonce or hash, a Referrer-Policy with unsafe-url, or HSTS with max-age=0 is present but hardly protects, so it doesn't count as met. The tool shows the reason next to the header.
Why does the tool use HEAD instead of GET?
A HEAD request returns only the headers, without the page content, and is faster. If the server answers with 405 or 501, the tool tries the same address with GET. Some servers return slightly different headers for HEAD and GET, for example for caching.
What does the X-Powered-By header show?
X-Powered-By reveals the server technology in use (for example PHP or Express). For security reasons you should remove this header, so attackers get no extra information.
What is HSTS and why does it matter?
HSTS (HTTP Strict Transport Security) tells browsers to use only HTTPS. That protects against downgrade attacks and man-in-the-middle attacks on insecure HTTP connections.

Related tools

All tools

Changelog

Latest updates and improvements to the HTTP header checker
v1.6.0

November 20, 2026

Fixes for X-Frame-Options, Permissions-Policy and X-XSS-Protection

  • • Fixed: if X-Frame-Options was missing while the Content-Security-Policy sets frame-ancestors, the header counted as missing. It now counts as met, in the score and in the list of missing headers
  • • Fixed: the Permissions-Policy rejected valid parameters such as camera=(self);report-to=x, and camera=(*) did not count as open
  • • Fixed: X-XSS-Protection with 1 counted as good. Today 0 is right, and 1 gets a warning with a reason. The snippet sets X-XSS-Protection to 0
  • • The HSTS snippet no longer contains preload, because getting onto the preload list is hard to undo
  • • Fixed: in bulk mode, http:// and https:// in capital letters were not recognized and expanded to https://HTTP://...
  • • Corrected: the guide claimed that the tool shows each redirect of the server separately. It shows the URL you entered and the target URL
  • • The FAQ now explains how the security score is calculated and why HEAD is used instead of GET
v1.5.0

November 20, 2026

Rating of header values

  • • Content-Security-Policy, Referrer-Policy, and Permissions-Policy no longer count as good just because they are present. The tool checks their content and names the reason for a warning, for example 'unsafe-inline' for scripts
  • • Strict-Transport-Security with max-age=0 counts as a warning, because that value turns HSTS off
  • • X-Frame-Options and X-Content-Type-Options are read without regard to upper and lower case
  • • Fixed: commas inside a URL split the input in bulk mode
  • • As a result, the security score can be lower than before
v1.4.0

November 18, 2026

Bulk without limit errors, clear errors for certificate problems

  • • Fixed: the bulk analysis failed from the 11th URL on because of the request limit. The tool now waits briefly, shows a notice, and then continues
  • • Bulk results show the specific cause of an error instead of just "Error"
  • • Fixed: with an invalid or expired certificate, the tool rated the headers of an error page and showed status 526. Now it shows the message that the certificate is invalid or expired, without a score
  • • Fixed: ftp:// and javascript: were rewritten to https:// or reported as invalid. Now every scheme except HTTP and HTTPS gets the message "Only HTTP and HTTPS URLs are allowed". Input without a scheme, such as example.com, still works
Show older versions
v1.3.0

November 17, 2026

Stricter security score and shareable link

  • • Added a guide with instructions and use cases below the tool
  • • Added related tools at the end of the page
  • • The security score now rates the six recommended headers, and missing ones count as not met
  • • X-XSS-Protection and the cross-origin headers COEP, COOP, and CORP no longer count toward the score
  • • Fixed: the list of missing security headers with the code snippets stayed empty for API responses, because the placeholders for missing headers counted as present
  • • Added a shareable link with ?url= for the single URL view, which fills in the field without starting the check
  • • Added a "Copy link" button next to the result
v1.2.0

December 28, 2025

Bulk analysis for several URLs

  • • Added: analyze several URLs at once (up to 10)
  • • Added: comparative overview of all security scores
  • • Added: CSV export of the bulk results
  • • Improved progress display during the bulk check
v1.1.0

December 20, 2025

Security snippets and custom headers

  • • Code snippets for missing security headers
  • • Send custom request headers
  • • Support for Apache, Nginx, and Node.js
  • • Improved header analysis
v1.0.0

December 17, 2025

Launch

  • • Analyze HTTP response headers
  • • Check security headers
  • • Show caching headers
  • • Detect compression
  • • Analyze CORS headers
  • • Follow redirects
  • • Measure response time