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
| Header | What it protects against | Good value |
|---|---|---|
| Content-Security-Policy | Cross-site scripting (XSS), data injection, malicious third-party scripts | default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none' with no 'unsafe-inline' scripts |
| Strict-Transport-Security | SSL stripping and downgrade to HTTP | max-age=31536000; includeSubDomains |
| X-Frame-Options / frame-ancestors | Clickjacking | DENY or SAMEORIGIN, or CSP frame-ancestors 'none' |
| X-Content-Type-Options | MIME sniffing | nosniff |
| Referrer-Policy | Leaking URLs and tokens to other sites | strict-origin-when-cross-origin |
| Permissions-Policy | Abuse of camera, microphone, location and other browser features | geolocation=(), camera=(), microphone=() |
| Cross-Origin-Opener-Policy | Cross-window attacks such as XS-Leaks | same-origin |
| Cross-Origin-Resource-Policy | Other sites embedding your resources | same-origin or same-site |
| Set-Cookie flags | Session theft and CSRF | Secure; 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.
More free security tools
- Free website & app scanScan a website or upload an app
- Free VAPT scanRun a free VAPT scan online
- Website vulnerability scannerFree online website vulnerability scanner
- Android APK scannerFree online APK vulnerability scanner
- iOS IPA scannerFree online iOS IPA security scanner
- Mobile app security scannerFree mobile application security scanner for Android APK and iOS IPA
- Desktop app (EXE, DLL, JAR) scanFree online static security scanner for EXE, DLL, MSI, DMG, PKG, DEB, RPM, AppImage, JAR and Electron apps