Security Headers Checker
Analyze HTTP response headers including HSTS, CSP, X-Frame-Options, and Referrer-Policy. Receive an instant letter grade and actionable remediation code.
What are HTTP Security Headers?
When a browser requests a page from your server, the response contains invisible metadata headers alongside the HTML. Security headers tell modern browsers which defense layers to activate against common attacks such as Cross-Site Scripting (XSS), Clickjacking, packet sniffing, and insecure SSL downgrades.
How to Add Security Headers in Next.js
// next.config.ts
const securityHeaders = [
{ key: 'Strict-Transport-Security', value: 'max-age=31536000; includeSubDomains; preload' },
{ key: 'X-Frame-Options', value: 'SAMEORIGIN' },
{ key: 'X-Content-Type-Options', value: 'nosniff' },
{ key: 'Referrer-Policy', value: 'strict-origin-when-cross-origin' },
];
export default {
async headers() {
return [{ source: '/(.*)', headers: securityHeaders }];
},
};Frequently Asked Questions
Technical specifications, limitations, and SEO recommendations.
Related Free SEO Tools
Continue auditing your website signals with complimentary diagnostic utilities.
SEO Checker
Audit your webpage title, meta description, heading structure, canonicals, and on-page signals.
Website SEO Audit
Perform a multi-vector page-level audit of technical security, metadata, and asset health.
Website Checker
Broad health check covering SEO, social cards, schema markup, and basic accessibility.
Continuous security and crawl posture monitoring with RankingsFactor
RankingsFactor monitors your domain's HTTP status codes, security posture, redirect health, and indexability automatically on every crawl cycle.
Deep multi-page crawl • AEO answer engine tracking • Google Search Console sync