HTTP Security Headers & OWASP Compliance Inspector
Analyze website HTTP response headers for Content-Security-Policy (CSP), Strict-Transport-Security (HSTS), X-Frame-Options, Permissions-Policy, and CORS safety.
Run this command in your terminal to fetch any staging or production headers, then paste the output into the box above.
100% Client-Side Privacy
Unlike remote header scanners that send your internal hostnames or tokens to cloud servers, this tool evaluates everything locally inside your browser sandbox. No target endpoints, IP addresses, or cookies are ever recorded or transmitted.
Awaiting HTTP Response Headers
Paste raw HTTP headers in the workbench on the left, or test a predefined security baseline from our OWASP presets below.
OWASP Top 10 Header Hardening
Audits presence and strictness of HSTS, CSP, X-Content-Type-Options, and X-Frame-Options against modern web application security benchmarks.
Clickjacking & MIME-Sniffing Defense
Validates frame-ancestors and nosniff directives to prevent cross-site framing, UI redressing, and malicious file-type execution.
Zero-Trust Privacy & Permissions Policies
Evaluates modern Permissions-Policy and Referrer-Policy configurations to restrict camera, microphone, and cross-origin tracking leakage.
HTTP Security Headers & OWASP Compliance Inspector — Reference Guide
Analyze website HTTP response headers for Content-Security-Policy (CSP), Strict-Transport-Security (HSTS), X-Frame-Options, Permissions-Policy, and CORS safety.
Essential HTTP Security Headers & Production Directives Table
Recommended production values, OWASP priority ratings, attack vectors mitigated, and browser support for critical HTTP security response headers.
| Security Header Name | Recommended Production Value | OWASP Priority | Attack Vector Mitigated | Browser Support |
|---|---|---|---|---|
| Content-Security-Policy | default-src 'self'; script-src 'self' 'nonce-...'; object-src 'none'; | Critical | Cross-Site Scripting (XSS), malicious script injection, data exfiltration | Modern Browsers |
| Strict-Transport-Security | max-age=31536000; includeSubDomains; preload | Critical | Man-in-the-Middle (MitM) attacks, SSL stripping, insecure HTTP downgrade | Universal |
| X-Content-Type-Options | nosniff | High | MIME-confusion attacks, executable script sniffing from user uploads | Universal |
| X-Frame-Options | DENY (or SAMEORIGIN) | High | Clickjacking, unauthorized invisible iframe embedding | Universal |
| Referrer-Policy | strict-origin-when-cross-origin | Medium | Sensitive token/path leakage in HTTP Referer header to external domains | Universal |
| Permissions-Policy | camera=(), microphone=(), geolocation=() | Medium | Unauthorized browser hardware API access by embedded third-party scripts | Modern Browsers |
Key Parameters & Controls
| Parameter | Type / Unit | Description | Default |
|---|---|---|---|
| Target Website URL | string | Fully-qualified HTTPS website URL to audit for security headers. | https://example.com |
| HSTS Inspection | boolean | Verifies Strict-Transport-Security max-age, includeSubDomains, and preload status. | true |
| CSP Validation | boolean | Audits Content-Security-Policy directives for unsafe-inline or missing fallback origins. | true |
| Framing Controls | boolean | Checks X-Frame-Options and frame-ancestors clickjacking defenses. | true |
Pro Tips & Best Practices
Setting X-Content-Type-Options: nosniff blocks browsers from MIME-sniffing a response away from the declared content-type, preventing malicious script execution in uploaded files.
Start with max-age=300 (5 minutes) in testing, increase to max-age=31536000 (1 year) with includeSubDomains once verified, and finally apply for browser preload.
While X-Frame-Options only supports DENY or SAMEORIGIN, CSP frame-ancestors supports specific allowed domains and takes precedence in modern browsers.
Common Gotchas & Troubleshooting
⚠️Server returns headers over HTTP but not HTTPS
Check your reverse proxy (Nginx, Cloudflare) configuration to ensure add_header directives are placed within the HTTPS server block.
⚠️Duplicate security headers detected
Duplicate headers (e.g. from both application code and CDN) can cause browsers to discard policies or default to the most restrictive option.
Frequently Asked Questions
What is HSTS Preloading?▼
HSTS Preload is a list baked directly into major browsers (Chrome, Firefox, Safari) guaranteeing that connections to your domain always use HTTPS even before the first visit.
What does X-Content-Type-Options: nosniff do?▼
It forces browsers to strictly respect the MIME type declared in the Content-Type header rather than attempting to guess it by inspecting file bytes.
Why is Permissions-Policy important?▼
It allows web applications to explicitly restrict access to powerful hardware features like geolocation, microphone, camera, and payment APIs.
Does this tool store audited website URLs?▼
No. Header inspections run directly in the browser via client-side fetch requests with zero server-side storage.
Related Tools & Utilities
All Tools →Parse raw HTTP request and response headers into structured key-value tables, inspect Cache-Control directives, evaluate security posture, and decode Set-Cookie tokens.
Generate HTTP Strict-Transport-Security (HSTS) headers with max-age calculator, includeSubDomains, and Chrome preload readiness check.
Generate secure Content Security Policy (CSP) headers instantly. Configure script-src, style-src, nonces, and hashes to prevent XSS attacks and fix CSP errors.
Build and validate modern Permissions-Policy HTTP response headers (camera, geolocation, microphone, payment) with strict origin allowlists.
Evaluate password resilience against brute-force attacks with Shannon entropy calculations, zxcvbn pattern matching, crack time estimates, and zero server transmission.
Inspect, parse, and validate RSA, ECDSA, and Ed25519 PEM keys (PKCS#1, PKCS#8, SPKI) locally in your browser with zero data transmission.