ShieldX Toolly
Open a tool Donate
Home Home
Blog Blog
FAQ FAQ
Open a tool Donate
Web & Domain Live tool

Audit your security headers in seconds

Scan any URL for 13+ security headers — CSP, HSTS, X-Frame-Options, Referrer-Policy, Permissions-Policy, and more. Get a 0–100 posture score, per-header validation, and actionable fix recommendations. All client-side, no signup.

  • 13+ headers
  • Posture score
  • Fix recommendations
  • JSON export
13+
Headers checked
0–100
Posture score
A+ to F
Grade rating
shieldx · headers-scanner
URL https://example.com
Score
75 / 100
Grade B — Moderate
✓ strict-transport-security
✓ x-content-type-options
✗ content-security-policy
! referrer-policy (weak)
Features

The complete header audit toolkit

Sixteen capabilities covering every aspect of HTTP security header analysis — from scanning and scoring to validation, recommendations, and export.

13+ Security Headers Audited

01

Scans for CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, COOP, COEP, CORP, and more — each with specific value validation.

CSPHSTSCOOP/COEPPermissions-Policy

0–100 Posture Score

02

Weighted scoring algorithm assigns points per header based on criticality. CSP and HSTS carry the most weight, while emerging headers like COOP add bonus points.

WeightedA+ to F grade

Value-Level Validation

03

Doesn't just check presence — validates the actual header value. Flags unsafe-inline in CSP, short HSTS max-age, missing includeSubDomains, wildcard sources, and more.

unsafe-inlinemax-ageWildcards

Actionable Fix Recommendations

04

Every missing or misconfigured header comes with a specific fix recommendation, including the exact header value you should set. Copy recommendations with one click.

Copy recsExact values

Paste Headers Mode

05

Can't fetch cross-origin? Switch to Paste Headers mode and paste raw HTTP response headers from DevTools, curl, or any other source. Full analysis without CORS issues.

DevToolscurlNo CORS

JSON Export & Reporting

06

Export the complete scan results — headers, score, grade, and timestamp — as a JSON file. Perfect for CI/CD pipelines, compliance reports, or security audits.

JSON exportCI/CDAudit trail

Instant Rescan

07

Rescan the same URL with a single click to verify header changes after deployment. No need to re-enter the URL — just hit Rescan and get fresh results.

One-clickVerify fixes

Tabbed Results View

08

Three tabs: Headers (detailed per-header status), Recommendations (prioritized fix list), and Raw Headers (the complete response headers as received). Switch instantly.

3 tabsOrganized

Severity Categorization

09

Each header is tagged as Critical, High, Medium, Emerging, Low, or Legacy — so you know exactly what to fix first. Missing CSP is critical; missing X-XSS-Protection is legacy.

CriticalHighEmerging

CORS Proxy Fallback

10

When direct fetch fails due to CORS, the tool automatically falls back to CORS proxy services. If all proxies fail, Paste Headers mode is always available as a backup.

Auto-fallbackResilient

Live Header Preview

11

See the actual header values in the results — not just pass/fail. The raw value is displayed in a monospace code block so you can inspect exactly what the server is sending.

Raw valuesMonospace

Legacy Header Detection

12

Identifies X-XSS-Protection as a legacy header and recommends setting it to 0 — the legacy XSS auditor can introduce vulnerabilities in modern browsers. CSP is the modern replacement.

X-XSS-ProtectionModern guidance

Fast Client-Side Analysis

13

All header parsing, validation, and scoring happens in your browser. No server roundtrip for analysis — only the fetch to the target URL (or proxy) is needed.

Client-sideInstant

Educational Descriptions

14

Each header includes a concise description of what it does and why it matters — so you understand the security implications, not just the pass/fail status.

LearnContext

Clear-Site-Data Detection

15

Checks for Clear-Site-Data header which enables proper cleanup of cache, cookies, and storage on logout — a frequently overlooked header for session security.

Logout securitySession cleanup

Cross-Origin Isolation Check

16

Verifies COOP, COEP, and CORP headers that enable cross-origin isolation — required for advanced browser APIs like SharedArrayBuffer and spectre mitigation.

COOPCOEPCORPSpectre
How it works

From URL to security report

Three steps: enter a URL (or paste headers), the tool fetches and validates each security header, then you get a score, grade, and prioritized fix list.

STEP 01

Enter a URL or paste headers

Type a URL like https://example.com and hit Scan, or switch to Paste Headers mode and paste raw HTTP response headers from DevTools or curl.

URL mode:
  https://example.com → Scan

Paste mode:
  HTTP/2 200
  content-type: text/html
  strict-transport-security: max-age=31536000
  x-content-type-options: nosniff
STEP 02

Headers are fetched & analyzed

The tool fetches the URL (with CORS proxy fallback) or parses pasted headers, then validates each security header against best-practice values.

Checking 13+ headers:
  ✓ content-security-policy
  ✓ strict-transport-security
  ✗ x-frame-options (missing)
  ! referrer-policy (weak policy)
STEP 03

Review score & fix recommendations

Get a 0–100 posture score with A+ to F grade, per-header status, and prioritized fix recommendations. Export as JSON or copy recommendations.

Score: 72/100 (Grade B)
Present: 8 | Missing: 4 | Warnings: 2

Critical fixes:
  1. Add Content-Security-Policy
  2. Add X-Frame-Options: DENY
Use cases

Who benefits from header scanning

Developers, security teams, and bug bounty hunters all use header scanning to identify missing security controls and improve posture.

For Developers

Audit your site before launch

Run a header scan before deploying to production. Fix missing CSP, HSTS, and X-Frame-Options headers before they become security liabilities.

  • Pre-launch security checklist
  • Verify header configuration after deployment
  • Debug CORS and cross-origin isolation issues
  • Generate compliance evidence for audits
Score 72/100
Grade B
Fixes needed 4 headers
For Security Teams

Continuous posture monitoring

Scan multiple domains regularly and export JSON reports for trend tracking. Identify sites with degrading security posture before they're exploited.

  • Bulk scan all company domains
  • Export JSON for SIEM ingestion
  • Track posture score over time
  • Identify legacy header configurations
Domains Unlimited
Export JSON
Headers 13+ checked
For Bug Bounty Hunters

Identify missing security controls

Quickly check which security headers a target is missing — missing CSP or HSTS can be reported as security issues on platforms like HackerOne.

  • Identify missing CSP for XSS reports
  • Check HSTS for downgrade attack reports
  • Find missing X-Frame-Options for clickjacking
  • Document findings with JSON export
CSP Missing
HSTS Missing
X-Frame Missing
Comparison

ShieldX vs other scanners

Feature
ShieldX
Others
13+ security headers checked
0–100 weighted posture score
Value-level validation
Paste Headers mode (no CORS)
JSON export
Fix recommendations with exact values
No signup required
100% free, no limits
Best practices

Security header do's and don'ts

Do

Set CSP first — it's the highest-impact header

Content-Security-Policy prevents XSS, clickjacking, and injection attacks. Start with default-src 'self' and tighten from there. It carries the most weight in the posture score.

Content-Security-Policy: default-src 'self'; object-src 'none'; upgrade-insecure-requests
Do

Use HSTS with preload for production

Set Strict-Transport-Security with max-age=31536000, includeSubDomains, and preload. Then submit your domain to the HSTS preload list for browser-level enforcement.

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Don't

Don't use unsafe-inline or unsafe-eval in CSP

These directives effectively disable CSP's XSS protection. Use nonces (per-request) or hashes (per-script) instead. unsafe-eval allows eval() which is a major XSS vector.

Tip

X-XSS-Protection should be set to 0

The legacy XSS auditor in old browsers can introduce vulnerabilities. Modern browsers have removed it. Set X-XSS-Protection: 0 to explicitly disable it, and rely on CSP instead.

Warning

X-Frame-Options is deprecated by CSP frame-ancestors

While X-Frame-Options still works, CSP frame-ancestors is the modern replacement and supports multiple origins. Set both for maximum compatibility during the transition period.

Tip

COOP + COEP enable advanced APIs

Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp enable cross-origin isolation, which is required for SharedArrayBuffer and spectre mitigations.

FAQ

Security headers questions answered

Why does the scanner sometimes fail to fetch headers?

Browsers enforce CORS (Cross-Origin Resource Sharing) which prevents JavaScript from reading response headers of other domains. The tool tries direct fetch first, then falls back to CORS proxies. If all fail, use Paste Headers mode — copy headers from DevTools Network tab or curl -I and paste them into the tool.

What is a good security posture score?

A score of 80+ (grade A or A+) indicates strong security header coverage. 60–79 (grade B/C) means moderate coverage with some gaps. Below 60 indicates critical headers are missing. The score is weighted — CSP and HSTS contribute the most points.

Should I set X-XSS-Protection to 1 or 0?

Set it to 0. The X-XSS-Protection header enabled a legacy XSS auditor in older browsers (IE, old Chrome) that could introduce vulnerabilities. Modern browsers have removed this feature. Setting it to 0 explicitly disables it. Use Content-Security-Policy instead for XSS protection.

What is the difference between X-Frame-Options and CSP frame-ancestors?

X-Frame-Options supports only DENY or SAMEORIGIN — a single policy. CSP frame-ancestors supports multiple origins and is the modern replacement. However, X-Frame-Options is still needed for older browsers. Best practice: set both during the transition period.

How do I get raw headers for Paste mode?

Open DevTools (F12) → Network tab → click any request → look at Response Headers. Or use curl -I https://example.com in terminal. Copy the headers and paste them into the Paste Headers textarea.

Are the CORS proxy services safe to use?

The proxies are used only to fetch response headers — no sensitive data is sent. However, if you're scanning internal or private URLs, use Paste Headers mode instead to avoid sending internal URLs through third-party proxies.

Scan complete?

Fix your headers with confidence

Got a low score? Not sure how to set CSP or HSTS? Send us your headers and we will help you craft the perfect configuration — no cost, no signup.

Read header guides