Web and SSL Certificates · #71
Online HTTP Security Header Analyzer
Interprets response headers only from the text you paste; no request is sent to any site.
- Data is processed in your browser and not sent to a server
Tool
What does this tool do?
Security headers tell the browser how to protect a site: HSTS blocks unencrypted connections, CSP blocks injected scripts, X-Frame-Options blocks clickjacking. A missing or wrong header is often the first finding in a penetration test. The tool gives a status and a concrete fix for each header.
How to use it
- Get the headers: browser developer tools → Network → document request → Response headers, or
curl -sI https://domain. - Paste the text (status line optional) and press Run.
Fields
- HTTP response headers
- One 'Name: value' per line. Data does not leave the browser.
Worked example
| Input | Value |
|---|---|
| HTTP response headers | |
Expected result: HSTS, X-Content-Type-Options and Referrer-Policy are fine; CSP frame-ancestors replaces X-Frame-Options. CSP contains 'unsafe-inline'; Permissions-Policy is missing; nginx and PHP versions are disclosed; the PHPSESSID cookie lacks Secure and SameSite.
The top fix is adding Secure; SameSite=Lax to the session cookie. Then hide version information (server_tokens off;, expose_php = Off) and replace inline scripts in CSP with nonces or hashes.
Second scenario
| Input | Value |
|---|---|
| HTTP response headers | |
Expected result: An old IIS response lacks HSTS, CSP, X-Frame-Options and X-Content-Type-Options; X-XSS-Protection is on; IIS and ASP.NET versions show; the session cookie is not Secure.
Method and assumptions
Header names are read case-insensitively. HSTS max-age below 180 days gives a warning. In CSP, 'unsafe-inline' without nonce/hash, 'unsafe-eval', wildcard script sources and missing object-src 'none' are flagged. Cookies are checked for Secure, HttpOnly and SameSite.
X-XSS-Protection is only positive with value 0 because it enables a legacy browser filter. Server and X-Powered-By headers containing a version number give a warning.
Using the result and troubleshooting
Manage headers in one place (web server, application or CDN/WAF) and rerun this tool after changes. Trial CSP with Content-Security-Policy-Report-Only first.
Limits and common mistakes
- Only the pasted response is evaluated; other pages, redirects or API responses may differ. Full semantic validation of CSP is not performed.
Frequently asked questions
Can't the tool fetch the headers if I enter the URL?
This version deliberately sends no request to any target. Paste curl -sI output or the response headers from browser developer tools.
Related tools and service
- PEM Certificate DecoderDecodes the PEM certificate you paste in your browser only; it does not connect to any server.
- Certificate Inventory and Renewal CalendarSorts certificate expiry dates, marks the renewal window and creates a calendar file.
Related service: Web Application Security and WAF