HTTP Header Analyzer

Paste raw HTTP response headers or import a local HAR 1.2 or plain-text capture to check security-policy coverage, cookie flags, CORS configuration, caching and indexing hints. Files are processed in this browser tab and are never uploaded.

Import HAR or paste curl/DevTools headers. Check CSP, HSTS, cookies, CORS and indexing; get a score plus copy-ready Nginx, Vercel and Cloudflare fixes locally.

Steps and notes

What is HTTP Header Analyzer — HAR Import & Security Score?

HTTP response headers are metadata a server sends with a response. They influence browser security controls, content handling, caching, cross-origin access and sometimes search indexing. A header reference explains what each field means; an analyzer answers the next practical question: which controls are present in this captured response, which are weak or missing, and what should be checked next? This tool parses the response locally and shows its scoring rules instead of claiming that a single grade proves a site is secure.

  1. Capture the response headers for the page you want to inspect. For a GET response, run curl -sS -D - -o /dev/null https://example.com/; in DevTools, open Network, select the document request and copy Response Headers. You can also export a HAR 1.2 capture from the Network panel.
  2. Import a .har file or a plain-text .txt response-header capture using the file picker or drop zone. HAR files can contain multiple requests; select the response you want to inspect. The file limit is 10 MB.
  3. For a manual check, paste the raw response block including the HTTP status line. Repeated Set-Cookie lines are supported.
  4. Review the coverage checks, CSP directives, cookie findings and any CORS or X-Robots-Tag warnings.
  5. Choose Nginx, Apache, Caddy, Vercel or Cloudflare Pages to copy a configuration snippet for clearly missing, low-context headers.
  6. Test any proposed policy on staging first. The analyzer does not change your server configuration.
  • This page analyzes pasted headers or a local capture; it does not fetch a URL or inspect TLS, application code or server-side behavior.
  • HAR files can contain cookies, authorization values and personal information. Review a capture before importing it, do not share it publicly, and keep exports under 10 MB.
  • The importer extracts response status and response headers for analysis. Request headers and response bodies are not displayed or sent to a server.
  • Generated configuration only adds clearly missing, low-context headers such as X-Content-Type-Options, Referrer-Policy and HSTS. It does not invent CSP, CORS, frame, Permissions-Policy or cookie rules that depend on your application.
  • The score is a weighted header-coverage checklist, not an OWASP rating, penetration test or guarantee of application security.
  • Send HSTS only over HTTPS. Confirm all covered subdomains support HTTPS before adding includeSubDomains; do not enable preload by default.
  • CSP and cross-origin isolation policies can break scripts, embeds or third-party assets. Start CSP with report-only and test policy changes before enforcing them.

Frequently asked questions

Does the analyzer upload my HAR file or pasted headers?
No. HAR and text files are read and parsed locally in this browser tab. The report uses response status and headers only; the file, request headers and response bodies are not sent to DigDevBox or added to analytics. HAR files may contain cookies or tokens, so review them before importing.
How do I choose one response from a HAR capture?
Import the HAR file, then use the response selector to choose the exact request and status you want to inspect. This is useful when one capture contains a document request, API calls, redirects and static assets.
Can the tool scan a URL directly?
No. A browser page cannot freely read another origin’s response headers because of the same-origin and CORS security model. Paste headers captured with curl or DevTools, or import a HAR; this also works for private staging responses that are not publicly reachable.
Which server configuration formats can I copy?
The generator supports Nginx, Apache, Caddy, Vercel vercel.json and Cloudflare Pages _headers. It emits only selected low-context additions for missing headers and does not generate app-specific CSP, CORS or cookie policy.
Does an A grade mean my site is secure?
No. The score measures only the presence and selected characteristics of response headers. It does not test application code, authentication, dependencies, TLS configuration, server-side access control or vulnerabilities.
Should every site enable COEP, COOP and CORP?
No. These policies are useful for particular cross-origin isolation and resource-protection needs, but can block embeds and third-party resources. Enable them only when the application requires them and after compatibility testing.
Should I copy the suggested HSTS or CSP values directly?
No. HSTS can affect every subdomain when includeSubDomains is used, and CSP must match the resources an application really loads. Test changes on staging; begin CSP in report-only mode and review violations before enforcement.

Read the full step-by-step guide for this tool

Category: Web

HTTP tools workflow

HTTP status codes → HTTP status checker → REST API Tester — cURL, Tests & Collections → HTTP Header Analyzer — HAR Import & Security Score → User Agent Parser — Browser, OS & Device Detection → Device information → MIME Type Lookup — Types & Extensions → Basic Auth Generator & Decoder — HTTP Header