Helenis API
Start for free

Check · free tool, no account

Security headers checker

Every security header graded, with the line to add.

Try . Free, no account, 10 checks a day.

w3.org security audit: weak CSP and Referrer-Policy, TLS, HTTPS and HSTS pass: grade B, 75/100.

For developers

The same check is one call to the Website Security Audit API.

RequestGET
curl -G "https://website-security-audit-headers-ssl-grade.p.rapidapi.com/v1/site-audit/headers" \
  --data-urlencode "url=wikipedia.org" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: website-security-audit-headers-ssl-grade.p.rapidapi.com"

Pricing

Free plan
10 credits a day
Paid plans
from $3.99 a month
One credit
1 credit per website audited.

What this security headers checker tests

Enter a website and the checker loads its home page like a browser would, reads the HTTP response headers and cookies, and grades the site from A+ to F. Each line says what is wrong, why it matters and what to add:

Check What it protects against
HTTPS and TLS certificate Eavesdropping, tampering and expired certificates
Strict-Transport-Security (HSTS) Downgrade to plain HTTP on public Wi-Fi
Content-Security-Policy (CSP) Injected scripts (XSS) stealing data or sessions
X-Frame-Options / frame-ancestors Clickjacking: your page framed inside another site
X-Content-Type-Options Browsers running an uploaded file as a script
Referrer-Policy Full URLs, and what they carry, leaking to other sites
Permissions-Policy Embedded third parties asking for the camera, microphone or location
Cookies: Secure, HttpOnly, SameSite Session cookies stolen by scripts or sent cross-site
Server version disclosure Attackers matching your exact software version with known flaws
COOP, CORP, COEP Cross-window and Spectre-style leaks (shown as information)

It also notes security.txt (how researchers can report a flaw to you) and robots.txt.

How to read the grade

The grade comes from a 0-100 score. Some failures cap it whatever the rest: a site without HTTPS cannot get a good grade, however many headers it sets. The summary line tells you when a cap applies.

A missing CSP or clickjacking protection costs the most, because they stop real attacks. Missing information-level headers (COOP, CORP, COEP) do not lower the grade much: they matter for sites that handle sensitive data in the browser.

How to add the missing headers

Most fixes are one line in your web server or CDN configuration. A solid starting set for nginx:

NGINX
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
add_header Content-Security-Policy "frame-ancestors 'self'" always;
server_tokens off;

On Apache, the same lines go in Header always set ... directives; on Cloudflare, in a Transform Rule that modifies response headers; on Vercel or Netlify, in the headers section of their config file.

A full Content-Security-Policy takes more care: list where your scripts, styles and images come from, and give inline scripts a nonce. Ship it first as Content-Security-Policy-Report-Only, watch what it would block, then enforce it.

For cookies, set Secure and HttpOnly on session and login cookies, and SameSite=Lax (or Strict) unless they must travel cross-site.

Audit many sites

This page grades one site at a time. To monitor your clients' or your own sites every week, the Website Security Audit API returns the same checks and fixes as JSON, with a TLS certificate check and bulk audits on top. The tutorial Security Headers Checker API shows how, in Python.

Frequently asked questions

Is this security headers check free?

Yes, 10 checks a day on this page, without an account. The API has a free plan too, with no card.

Is it safe to check a website I do not own?

Yes. The checker only loads the home page once, as a normal visitor would, and reads the headers the server sends to everyone. It sends no attack and tests no vulnerability.

Why does a well-known site get a low grade?

Many large sites skip headers like CSP because their pages load scripts from many places, and a strict policy takes work to roll out. A low grade means fewer browser-side protections, not that the site is hacked.

Which header should I add first?

Strict-Transport-Security and X-Content-Type-Options are one safe line each. Then clickjacking protection (frame-ancestors in a CSP, or X-Frame-Options). A full Content-Security-Policy brings the most protection but needs testing first.

Do you store the websites I check?

No. The address is checked in memory to show you the answer and is never stored or logged.

Free tools are limited to a few checks a day per visitor. We do not store what you check; daily counters keep only an anonymous key for 48 hours (privacy). Protected by reCAPTCHA: Google's Privacy Policy and Terms apply.