HTTP Security Header Helper

Paste raw HTTP response headers from your browser's Network tab or a command like curl -I. Parsing and analysis happen entirely in your browser. This tool analyzes pasted headers only — it does not and cannot fetch a remote URL and inspect live headers for you.

Nothing pasted yet — add some response headers above to see the parsed directives, risky combinations, missing recommended headers, and example baseline configs.

Baseline configuration examples

These are illustrative starting points, not universal best settings for every app.

HTTP security header examples

Review headers as a policy set: individual directives can interact or contradict each other.

Basic content restrictions

Content-Security-Policy: default-src 'self'; object-src 'none'; base-uri 'self'

A starting policy that still needs application-specific script, style, image, and connection sources.

Cookie hardening

Set-Cookie: session=example; Secure; HttpOnly; SameSite=Lax

The browser limits insecure transport, script access, and some cross-site requests.

Common mistakes

  • Enabling HSTS before HTTPS works reliably on every required subdomain.
  • Combining wildcard CORS with credentialed requests.
  • Copying a CSP without testing the application's actual dependencies.

Examples and guidance reviewed .

FAQ

See also: