---
title: "Security headers checker"
description: "Free security headers checker. Test CSP, HSTS, X-Frame-Options, Referrer-Policy and more for any URL, with copy-ready fixes."
url: "https://mozolite.com/tools/security-headers"
---

# Security headers checker

See which HTTP security headers a page sends, which ones are missing, and the exact line to add.

Use the tool: https://mozolite.com/tools/security-headers

## What this checks

We request the page the way a browser does and read the response headers: Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and Cross-Origin-Opener-Policy. We also flag headers that reveal your server software and version.

## Why it matters

Security headers are cheap to add and block whole classes of attacks: clickjacking, protocol downgrades, MIME sniffing and a large share of cross-site scripting. Many audits and security questionnaires ask for them by name.

## Where to add them

On Nginx use add_header in the server block. On Apache use Header set in .htaccess. On Vercel, Netlify and Cloudflare Pages there is a headers config file. In Next.js you can set them in next.config with the headers() function.
