DevTools Logo

HTTP Security Header Checker

HTTP Security Header Checker

Audit pasted response headers locally for common browser security protections

Response headers

Paste raw HTTP response headers, one Name: Value pair per line.

Privacy: headers are parsed only in your browser. No network requests are made.

Examples

Check a site that ships strong headers

Input
url: https://example.com
Output
Strict-Transport-Security: max-age=31536000
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Grade: A

HSTS, CSP, and nosniff are present, so the major browser defenses are active and the site scores well.

Detect a missing CSP

Input
url: https://insecure.example
Output
Missing: Content-Security-Policy
Missing: Strict-Transport-Security
Grade: D — add CSP and enable HSTS

Absent headers are flagged so you know exactly which defenses to add to your server or CDN response.

About this tool

HTTP security headers activate browser defenses that ordinary application code cannot replace. They can pin future requests to HTTPS, restrict script and resource loading, prevent unauthorized framing, disable MIME sniffing, limit referrer data and powerful browser features, and isolate pages from untrusted cross-origin windows.

This checker audits seven common controls from a raw response-header block: Strict-Transport-Security, Content-Security-Policy, X-Frame-Options or CSP frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, and Cross-Origin-Opener-Policy. It distinguishes a missing header from a weak value, such as a short HSTS max-age, CSP unsafe-inline or unsafe-eval, an ineffective X-Content-Type-Options value, or a non-isolating COOP policy.

The tool does not fetch your site. Parsing and auditing happen entirely in the browser, so you can safely paste headers copied from developer tools, curl, a private staging environment, or an internal application. Treat the findings as a focused baseline and test policy changes against your application before deploying them broadly.

How to use

  1. Paste response headers

    Copy a raw HTTP response-header block from developer tools or curl and paste one Name: Value pair per line.

  2. Review the summary

    Read the live issue and critical counts, then inspect every present, missing, or weak finding.

  3. Fix and recheck

    Update your server configuration, copy the new response headers, and paste them again until the intended protections show as present.

Use cases

Auditing your own site before launch

Confirm HSTS, CSP, frame-ancestors, and nosniff are sent on every response so browsers enforce your defenses.

Comparing staging vs. production headers

Spot a regression where a proxy stripped a security header between environments.

Pen-test reconnaissance

Quickly see which browser protections a target has enabled or left default during an authorized assessment.

Audited protections

HeaderProtection
Strict-Transport-SecurityHTTPS enforcement and downgrade resistance
Content-Security-PolicyResource allowlisting and script-injection mitigation
X-Frame-Options / frame-ancestorsClickjacking protection
X-Content-Type-OptionsMIME sniffing prevention
Referrer-PolicyOutbound referrer-data control
Permissions-PolicyBrowser capability restrictions
Cross-Origin-Opener-PolicyCross-origin window isolation

The checker audits pasted text locally and makes no network requests.

Common mistakes

Mistake:Treating a green grade as a complete security program.

Fix:Headers harden the browser side; they do not replace authentication, input validation, or dependency patching. A good grade is one layer, not the whole picture.

Mistake:Adding a Content-Security-Policy that breaks the site.

Fix:Start in Report-Only mode, collect violations, then tighten. A mis-set CSP can block your own scripts and styles.

Mistake:Forgetting that the checker only sees response headers.

Fix:It reports what the server sends, not what the app does. A missing header means the defense isn't declared, not necessarily that it's enforced elsewhere.

Frequently asked questions

References & standards