Security Headers
Security Headers Checker
Enter a URL and our server opens the page once and reads its HTTP response headers. Each security header is graded with a short explanation, and the overall result is shown from A to E. Copy-ready configuration examples for nginx, Apache and .htaccess are included for anything missing.
Results by header
All response headers
- Only the headers of the page you enter (after redirects) are checked. Other pages, such as admin or login pages, may send different headers.
- The grade is our own simple score (100 points minus deductions) to help you find what to fix; it is not an official rating. Apply CSP carefully, as a strict policy can break external services.
- In nginx, add_header in a location block replaces the server-level headers. Test changes in a staging environment if you can. The URL you enter is logged to improve the tool.
About this tool
Enter a URL to read the HTTP response headers your website sends and check HSTS, Content-Security-Policy (CSP), X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, cookie flags (Secure, HttpOnly, SameSite) and server version exposure. Each header gets a clear verdict and the site is graded from A to E. Missing headers come with copy-ready examples for nginx, Apache and .htaccess.
How to use
- Enter the URL of the page you want to test (for example https://example.com/) and press Check.
- The overall grade (A–E), score and checked URL appear at the top.
- Review each header under Results by header, with its current value.
- Open “What is this? · Configuration examples” on any item to copy the nginx, Apache or .htaccess setting.
- After updating your server, press Check again to confirm the improvement.
Useful for
- Checking security headers before launching or after redesigning a website
- Answering security questionnaires that ask about HSTS or CSP
- Telling your developer or hosting provider exactly which headers to add
- Making sure server and PHP versions are not exposed
FAQ
What are HTTP security headers?
They are response headers that switch on browser security features, such as forcing https (HSTS), limiting where scripts can load from (CSP) and blocking your page from being framed (X-Frame-Options). They reduce the impact of attacks without changing how your site looks.
Does a low grade mean my site is hacked?
No. Missing headers do not mean an attack has happened, only that some browser protections are not active. Start with low-risk headers such as HSTS, X-Content-Type-Options and X-Frame-Options.
Will adding a Content Security Policy break my site?
A strict CSP can block maps, videos or analytics. Start with Content-Security-Policy-Report-Only, add the sources you need, then switch to an enforced policy.
Can I check pages behind a login?
No. Only publicly reachable pages are checked; cookies and headers sent after login are not included.
Need help setting security headers?
We configure security headers, HTTPS and server settings for business websites, including a CSP tuned to the services you use.
Contact usUpdates to this tool
All updatesReleased 6 security and network tools: security headers checker, email header analyzer, suspicious URL checker, WHOIS lookup, subnet calculator and browser info
Other free tools
All 183 free tools- Website Security CheckEnter a URL to grade HTTPS, certificates, security headers, WordPress exposure and more, from A to E.
- WordPress Security CheckerCheck a WordPress site from outside: outdated version, username leaks, xmlrpc.php, debug.log and more, with fixes.
- Email Spoofing Protection CheckCheck whether your domain's SPF, DKIM and DMARC protect you from spoofed email.
- Password Generator and Strength CheckCreate strong passwords in bulk and check how strong your current one is.
- SSL Certificate CheckerCheck the issuer, expiry date and covered domains of a site's SSL certificate.
- Email Header AnalyzerTrace the delivery route, read SPF, DKIM and DMARC results and spot spoofed senders.
- Suspicious URL CheckerCheck a link for phishing tricks such as look-alike domains and hidden destinations without opening it.
- What Is My IPShow your IP address and browser, OS and screen details.