Security Header Checker

Analyze your website's HTTP security headers instantly. Get detailed explanations and code snippets to fix vulnerabilities.

Check Your Security Headers

Free analyses remaining today: 10/10

What are HTTP Security Headers?

HTTP security headers are directives sent by your web server to browsers. They instruct browsers on how to behave when handling your site's content. They protect you from web attacks.

Security headers

Security headers add an extra layer of protection even if your application has vulnerabilities.

Easy to Implement

Adding security headers requires no code changes - just server configuration.

Prevent Common Attacks

Protect against XSS, clickjacking, MIME sniffing attacks...

Example Security Headers

HTTP/1.1 200 OK
Content-Security-Policy: default-src 'self'
Strict-Transport-Security: max-age=31536000
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin

Frequently Asked Questions

What is a security header?

Security headers are HTTP response headers that your web server sends to browsers. They provide instructions on how to handle your site's content securely.

My site has a D or F score. Is it vulnerable?

A low score indicates your site misses security protections. It doesn't mean you've been hacked, but your site is more vulnerable to web attacks. We recommend implementing the missing headers ASAP.

How do I add security headers?

Security headers are configured at the server level. Click on any missing header in your results to see code snippets for Apache, Nginx, Vercel, Cloudflare... Simply copy the snippet and add it to your server configuration.

Are security headers enough to secure my site?

Security headers are an important layer of defense. But not a complete solution. They work best with secure coding practices, regular updates, HTTPS, and other security best practices.

What does "deprecated" mean for X-XSS-Protection?

X-XSS-Protection was removed from modern browsers, because the filter had security issues. However, it still provides protection for older browsers like Internet Explorer.

Love this free tool? Share it with your network!