Free HTTP header security test

Security headers checker Test CSP, HSTS, X-Frame-Options and more, instantly.

Enter a website to check its HTTP security headers. The checker fetches the page and grades Content-Security-Policy, Strict-Transport-Security (HSTS), X-Frame-Options and frame-ancestors (clickjacking protection), X-Content-Type-Options, Referrer-Policy, Permissions-Policy, cross-origin policies and cookie flags, and tells you exactly which header to add or fix.

One GET request, nothing stored. Want TLS, ports, DNS and the app too? Run the full scan.

  • PriceFree
  • TimeA few seconds
  • Checks9 headers + cookies
  • GradeA+ to F

The security headers this checker tests

HeaderWhat it protects againstGood value
Content-Security-PolicyCross-site scripting (XSS), data injection, malicious third-party scriptsdefault-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none' with no 'unsafe-inline' scripts
Strict-Transport-SecuritySSL stripping and downgrade to HTTPmax-age=31536000; includeSubDomains
X-Frame-Options / frame-ancestorsClickjackingDENY or SAMEORIGIN, or CSP frame-ancestors 'none'
X-Content-Type-OptionsMIME sniffingnosniff
Referrer-PolicyLeaking URLs and tokens to other sitesstrict-origin-when-cross-origin
Permissions-PolicyAbuse of camera, microphone, location and other browser featuresgeolocation=(), camera=(), microphone=()
Cross-Origin-Opener-PolicyCross-window attacks such as XS-Leakssame-origin
Cross-Origin-Resource-PolicyOther sites embedding your resourcessame-origin or same-site
Set-Cookie flagsSession theft and CSRFSecure; HttpOnly; SameSite=Lax

How to check a Content Security Policy

A Content Security Policy only helps if it is strict. The checker flags the common weaknesses: 'unsafe-inline' or 'unsafe-eval' in script-src, wildcard (*) or https: sources, a missing object-src 'none' or base-uri, and a policy sent only as Content-Security-Policy-Report-Only, which reports but blocks nothing.

How to check clickjacking protection

A page is protected against clickjacking when it sends X-Frame-Options: DENY (or SAMEORIGIN) or a CSP frame-ancestors directive. If neither is present, any site can load your page in an invisible frame and trick users into clicking. The checker reports which one you have.

How the grade works

Each header carries a weight by impact: CSP and HSTS count most, then frame protection and X-Content-Type-Options, then the rest. Weak values lose part of their weight. 95 and above is A+, then A, B, C, D, and below 30 is F. The grade covers headers only. For TLS, open ports, DNS and the application itself, run the full website vulnerability scan.

Frequently asked questions

How do I check the security headers of a website?

Enter the address in the checker on this page. It fetches the page once, lists every security header it found or missed, grades the result and gives the value to add.

Which security headers are most important?

Content-Security-Policy and Strict-Transport-Security have the biggest impact, followed by clickjacking protection (X-Frame-Options or frame-ancestors) and X-Content-Type-Options: nosniff.

Is X-Frame-Options still needed if I have CSP frame-ancestors?

Modern browsers honour frame-ancestors and ignore X-Frame-Options when both are set. Sending both is harmless and covers old browsers.

Is X-XSS-Protection still recommended?

No. Modern browsers removed the XSS auditor. Send X-XSS-Protection: 0 or leave it out, and rely on Content-Security-Policy.

Does the checker store the sites I test?

No. The header check is not saved and needs no email.

Expert testing when you need proof

The free scan finds what tools can find. For audits, regulators and enterprise customers, Sumrite's certified testers go further.