Tools / HTTP headers

HSTS and preload checker

Checks that your site sends Strict-Transport-Security, that plain HTTP redirects to HTTPS, and whether it meets the rules for the browser HSTS preload list.

Is HTTPS enforced with Strict-Transport-Security, does HTTP redirect to HTTPS, and is the site eligible for the browser preload list?

Free, no sign-up. Results are cached for a few minutes.

Questions

What does HSTS protect against?

Without it, the first request to your site can go over plain HTTP, and someone on the same network can downgrade or intercept it. HSTS tells browsers to use HTTPS only.

Should I preload?

Only if every subdomain serves HTTPS and will keep doing so. Getting off the preload list takes months.

Is it free?

Yes, and there is no account to make. Every result gets a link you can share.

Can I run it from a script or CI?

Yes: curl -s "https://xura.tools/api/v1/check/hsts?host=example.com" returns JSON. See the API docs at https://xura.tools/developers.

Can I show the result on my site?

Yes. Every result page has a badge you can embed, like https://xura.tools/badge/hsts/example.com.svg.

Related checks

Security headers, security.txt, HTTPS redirect chain, Cookie security flags, Content Security Policy grader. All tools.