Security Headers Check
Security headers are instructions your website sends to every visitor's browser. They block common attacks, and anyone can see whether they are missing. Enter your site to get an instant A+ to F grade and exactly what to add.
Free, no sign-up. We read one page of your site, the same way a browser does.
What security headers are
Every time someone opens a page on your site, your server sends the page along with a few lines of instructions called headers. Security headers are the ones that tell the browser how to protect your visitors: always use a secure connection, refuse scripts from unknown places, don't let other sites frame your pages.
They cost nothing to add, they don't change how your site looks, and they close off whole kinds of attacks. They are also public: anyone, including a customer's IT person or a competitor selling SEO, can look them up in seconds.
The six headers we grade
Strict-Transport-Security (25 points)
Tells browsers to always use the secure HTTPS version of your site, even if someone types or clicks an http:// link.
Strict-Transport-Security: max-age=31536000; includeSubDomains
Content-Security-Policy (25 points)
Lists where your pages may load scripts, styles and frames from, so a script injected by an attacker is blocked.
Content-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'
X-Frame-Options (15 points)
Stops other sites from showing your pages inside a frame to trick visitors into clicking things (clickjacking).
X-Frame-Options: DENY
X-Content-Type-Options (15 points)
Stops browsers from guessing a file's type, which attackers use to run an uploaded file as a script.
X-Content-Type-Options: nosniff
Referrer-Policy (10 points)
Controls how much of your page address is passed to other sites when visitors click a link away.
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy (10 points)
Switches off browser features your site does not use, such as the camera, microphone and location.
Permissions-Policy: camera=(), microphone=(), geolocation=()
How the grade works
Each header is worth points, 100 in all. A header has to be set properly to count: an HSTS rule that lasts only a day gets partial credit, and X-Frame-Options has to say DENY or SAMEORIGIN.
- A+All six headers, set well, with no warnings
- A90 points or more
- B75 points or more
- C55 points or more
- D35 points or more
- FUnder 35 points, or no HTTPS
Warnings don't cost points but keep a site from an A+. The most common is a Content-Security-Policy that still allows inline scripts, which many sites need while they tidy up older code.
The same grade appears in the Security section of our full website evaluation.
How to fix a low grade
Headers are set on your web server, hosting control panel, or CDN, not on the pages themselves. Most can be added in a few minutes. A Content-Security-Policy takes more care, because a strict one can block scripts your site relies on; test it before you switch it on.
Want us to fix your headers, or look at the rest of your site? Every site we host gets these headers set up.