HTTP Security Headers Inspector

Review common browser security headers on a URL you control. The optional check is a direct request from your browser: there is no proxy, server-side fetch, or bypass for CORS.

Enter an HTTP or HTTPS URL. Only headers exposed by the target's CORS policy can be read.
Header review
Observed security headers
HeaderValue / findingGuidance
Embed this tool on your website / blog No code required · Copy and paste
HTML Embed Code (iframe):
<iframe src="https://lucentool.com/security-headers-checker" width="100%" height="650" style="border:1px solid #e5e0d8;border-radius:12px;max-width:850px;width:100%;" frameborder="0"></iframe>
<div style="font-size:12px;color:#78716c;margin-top:6px;font-family:sans-serif;">Powered by <a href="https://lucentool.com/security-headers-checker" target="_blank" style="color:#c85a32;text-decoration:none;">Lucentool - HTTP Security Headers Inspector</a></div>

Why browser checks are limited

A web page cannot freely read another origin's response headers. The target must opt in with Access-Control-Allow-Origin, and only CORS-safelisted or explicitly exposed headers are available to JavaScript. A network error can therefore mean “the server blocked browser access,” not “the server has no security headers.”

Headers covered

For authoritative results, inspect response headers at the server or CDN, test redirects and representative routes, and use a security scanner you trust. Never paste credentials or sensitive URLs into a third-party checker.

How the conversion runs

You enter a URL and the page issues one fetch() with mode:'cors', credentials:'omit', redirect:'follow' and cache:'no-store', then reads the response headers. check() tests for CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy and Permissions-Policy, evaluates the values against common expectations, and renderRows() tabulates the findings with a risk level. escapeHtml() keeps header values from being interpreted as markup.

Edge cases and hard limits

Same-origin policy is the hard limit: if the target does not send permissive CORS headers, the browser refuses to expose the response and you get "cannot read headers" — that is a read restriction, not a missing header. Only the final response is visible, so headers set on intermediate redirect hops are invisible. The tool checks presence and common values, not whether a CSP is actually strong. Private network addresses are usually blocked outright.

Privacy: processed in your browser

The request goes from your browser to the site you typed, which sees your IP; this site’s server is not involved and does not log which hosts you checked.

Frequently asked questions

Why can it not read the headers?

Because the target does not allow cross-origin reads. Use curl or a server-side tool when you need the full header set.

Can it check an internal host?

Usually not — browsers block cross-origin requests to private address ranges, so the page never receives a response to inspect.

Does a CSP mean the site is safe?

No. This only checks that the header exists and looks plausible; whether it contains unsafe-inline or misses key directives needs a human read.