DevTools Logo

HTTP Security Header Checker

HTTP Security Header Checker

Audit pasted response headers against OWASP Secure Headers and MDN guidance. Parsed in your browser; nothing is fetched or sent.

Runs in your browser
Try an example

Response headers

Security header audit

Paste response headers to audit them

Results update as you type. Run curl -I https://your-site to get a block.

    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.

    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.

    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

    What security headers does it check?

    It evaluates common headers such as Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy, and frame protections.

    Why is a header marked missing?

    The checker did not find the expected header in the response you supplied or inspected. Add it at the correct server or proxy layer and recheck.

    Does a passing header guarantee security?

    No. Headers reduce specific browser-side risks, but they do not replace secure coding, dependency updates, access control, or a complete security review.

    References & standards