# Security headers checker > How well does your site protect its visitors? A grade for the security headers a website sends (HSTS, CSP, framing, referrer and more), with a plain-language fix for each gap. Check the security headers of a public website: HSTS, Content-Security-Policy, framing, nosniff, Referrer-Policy and Permissions-Policy, graded A to F. - Page: https://how.box/security-headers/ - Uses our server; server limits: 20 requests/minute per visitor, 300 requests/day per visitor, 20 http/minute per visitor, 20 requests/minute per target, 20 requests/second per global. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/security-headers/?u={u} - `u` (text): Public web address whose security headers to grade; the check runs when the page opens. Example: `https://example.com/`. Example answer: https://how.box/security-headers/?u=https%3A%2F%2Fexample.com%2F The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `security_headers_grade_url`: Grades the security headers a public web address sends (read once from our server, after any redirects). - Page only: runs on this page (WebMCP), not over MCP. ## How it works Security headers are short instructions a website sends with every page. They tell the browser to use only https (Strict-Transport-Security), which scripts may run (Content-Security-Policy), whether other sites may show the page in a frame (frame-ancestors or X-Frame-Options), not to guess file types (X-Content-Type-Options), how much of the address to share when a link is followed (Referrer-Policy) and which browser features the page may use (Permissions-Policy). They cost nothing to send and close whole classes of attack. The grade is points out of 100: CSP 30, HSTS 25, framing 15, and 10 each for nosniff, referrer and permissions. A header that is right earns all of its points and a weak one half. A missing header earns none, except Referrer-Policy and Permissions-Policy, which earn half: leaving them out is a smaller risk, because browsers then use a safe default for referrers and the page simply gets no extra limits. A starts at 90 points, B at 75, C at 60 and D at 40. Example: HSTS for a year (25), a strict CSP (30), framing blocked (15) and nosniff (10), but no Referrer-Policy or Permissions-Policy (5 + 5), scores 90, an A. The weights are this tool’s policy, not a standard. A CSP counts as weak when it allows 'unsafe-inline' scripts without a nonce or hash, 'unsafe-eval', or wildcards. Sources: MDN Web Docs on each header; the OWASP HTTP Headers Cheat Sheet. The check reads the final response once from our server, after redirects. Headers can differ by page, by country or by browser, and an error page may send different ones. Cross-origin isolation headers (COOP, COEP, CORP) are shown for information only: most sites do not need them. ## FAQ **Which header matters most?** Content-Security-Policy does the most against script injection, but it is also the hardest to get right. Strict-Transport-Security is the easiest big win: one line keeps visitors on https. **Is 'unsafe-inline' always bad?** In a script policy it lets any injected inline script run, which defeats much of the point. It is ignored by browsers when the same directive has a nonce or hash, which is how strict policies are built. **Do I need both X-Frame-Options and frame-ancestors?** frame-ancestors in a CSP is the modern way and wins when both are present. X-Frame-Options still covers very old browsers, so many sites send both. **Why is HSTS flagged on a page that ends on http?** Browsers ignore Strict-Transport-Security sent over plain http. Redirect to https first, then send the header there. **Will a good grade make my site secure?** No. Headers are one layer. They do not fix vulnerable code, weak passwords or outdated software. **Why does the grade differ from another checker?** Every checker picks its own weights and strictness. This one explains each point so you can see exactly what it counted. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)