Security Headers Analyzer
Review important HTTP security headers for a website. Paste the response headers copied from your browser’s Developer Tools to see which protections are present and which may need attention.
This tool checks whether selected header names are present. It does not validate their directives, prove a site is secure, or fetch a URL. Results are generated in your browser; pasted headers are not sent to our server.
How to copy response headers
- Open the website you want to review in Chrome or Edge.
- Open Developer Tools (press F12), then select the Network tab.
- Reload the page and select the main document request (usually the first request with the page’s domain).
- In the Headers panel, find Response Headers and copy the header lines.
- Paste the lines into the analyzer above and select Analyze headers.
What these headers do
Security headers are one part of a website’s defense-in-depth. A missing header is a prompt for investigation, not proof of a vulnerability. Some protections need careful configuration for the site’s applications, content delivery network, and business requirements.
For a complete review, test the live site and its important routes, check the actual header values, and assess the wider application configuration. Do not treat this quick analyzer as a penetration test or compliance audit.
Browse all free cybersecurity tools or send us feedback.
Understanding the main website security headers
HTTP response security headers tell browsers how to handle parts of a website. They can reduce certain risks, but they work best alongside secure application code, patching, access controls and careful configuration.
Content-Security-Policy (CSP)
CSP lets a site owner define which sources are allowed to provide scripts, styles, images and other resources. A carefully tested policy can help limit the impact of cross-site scripting (XSS). Start by reviewing the resources a site genuinely needs; an overly broad policy may provide little protection, while a policy that is too strict can break site features. Consider testing with a report-only policy before enforcement.
Strict-Transport-Security (HSTS)
HSTS tells browsers to use HTTPS for future visits. Enable it only after HTTPS works correctly across the site and required subdomains. Choose a suitable max-age and understand the effect of includeSubDomains before applying it. HSTS does not replace valid TLS certificates or correct HTTP-to-HTTPS configuration.
X-Content-Type-Options
The commonly recommended value is nosniff. It tells browsers not to guess a different MIME type from the one declared by the server. Check that your server also sends appropriate Content-Type values for files and application responses.
Referrer-Policy and Permissions-Policy
Referrer-Policy controls how much URL information a browser shares in the Referer header when navigating to another page. Permissions-Policy can restrict selected browser features, such as camera, microphone and geolocation. Choose values that match the website’s actual features and privacy requirements.
How to review findings safely
- Check the main HTML document and important routes, not just one request or one page.
- Review the complete header values and directives; a header being present does not mean it is configured correctly.
- Test changes in staging first, especially CSP and HSTS, because incorrect settings can break features or make subdomains inaccessible.
- Check responses served through your CDN, reverse proxy and web server, since different layers may add, remove or override headers.
- Re-test after deployment and after major website, plugin, hosting or CDN changes.
Frequently asked questions
Does this analyzer scan my website URL?
No. It analyzes header text that you paste into the tool. It does not fetch a URL, crawl pages or make requests to your website. You can copy response headers from your browser’s Developer Tools and analyze them locally.
Does a “Found” result mean my website is secure?
No. The analyzer checks for selected header names and does not validate every directive or value. A present header may still be misconfigured, and security depends on many controls beyond HTTP headers.
Which security headers should a small business website review?
Start by reviewing CSP, HSTS, X-Content-Type-Options, Referrer-Policy and Permissions-Policy. Also consider clickjacking protection through X-Frame-Options or a suitable CSP frame-ancestors directive. The right configuration depends on your site and its integrations.
Can I generate recommended headers?
Use our HTTP Security Headers Generator to prepare a starting configuration, then review and test it for your own application before deployment. A generated policy should never be copied blindly into a production site.
For authoritative configuration guidance, see the MDN Content-Security-Policy reference and the OWASP Secure Headers Project.
