Toolvore

HTTP Header Inspector & Compare

Compare pasted headers and check CORS origins, credentials and preflights without fetching a URL.

This tool processes its input contents in your browser instead of sending them to a processing service. Page, asset and fixed usage-measurement requests are described on the Privacy page.

Inspects and compares pasted response headers and evaluates the supplied CORS actual/preflight fields without fetching the target or claiming a live security audit.

How to use it

  1. 1For general inspection, paste Response A and optionally B, then select the response blocks to compare.
  2. 2For CORS, enter the exact origin, method and credentials mode, then paste one actual response and optional preflight.
  3. 3Review every pass, failure and limitation before copying JSON or downloading the local report.

Example

Input
Credentialed PUT from https://app.example with Authorization
Output
Pass only when actual and preflight responses explicitly permit the supplied request

A passing pasted report is not evidence from the live origin.

What happens to your data

Pasted header text stays in component memory and no target URL is fetched. Anonymous action events contain no header values; copy and download are explicit actions whose output should be reviewed before sharing.

Last updated November 2026

Inspect pasted HTTP response headers locally, compare two captures, or check the CORS fields from an actual response and its preflight. The original inspector keeps repeated fields such as Set-Cookie separate, supports multiple pasted response blocks, compares selected A and B blocks, and explains cache and security-header clues. The CORS workbench adds a focused check for one request origin, method, credentials mode and the non-safelisted request-header names reported by the browser.

This is not a live URL test or a security audit. It never contacts the target, follows redirects, observes cookies or proves what a browser received. Results describe only the text and request facts you supply.

How it works

The header inspector accepts HTTP/1.x, HTTP/2 and HTTP/3 status lines, :status lines and ordinary name: value fields. Each side is limited to 65,536 characters, 1,000 lines, 500 header fields and 20 response blocks. A new status line or blank separator can create another response block. Repeated values retain their order instead of being combined. A/B comparison treats field names as case-insensitive and values as exact text after outer whitespace is removed; equivalent policies written differently can therefore appear changed. JSON preserves parsed values, while CSV neutralizes formula-like cells for safer spreadsheet opening. Cache-Control, CSP, HSTS and related notes are explanations, not grades or proof of enforcement.

For CORS, paste exactly one actual response and, when relevant, exactly one preflight response. The checker follows the Fetch standard rules it can establish from those inputs: Access-Control-Allow-Origin must occur once and match the serialized origin, except that a wildcard can serve a non-credentialed request. Credentials mode include also requires the case-sensitive value true. A supplied preflight must have a 200–299 status. Non-safelisted methods and header names must be allowed; wildcard method or header permission does not cover credentialed requests, and Authorization is never covered by the header wildcard. Malformed lists, duplicate origin fields and unsupported response text are rejected rather than guessed.

The checker does not infer the complete request, execute a fetch, evaluate Access-Control-Expose-Headers, Private Network Access, redirect behavior, service workers, caches, CSP or extensions. A passing report means only that the supplied checks passed. Pasted headers remain in component memory; anonymous action telemetry contains no header values. Copy and download are explicit local actions, and exports may contain origins or header-derived findings that you should review before sharing.

Worked example: Credentialed PUT with Authorization

Input
Origin https://app.example; method PUT; credentials include; requested headers authorization, content-type; actual and 204 preflight responses explicitly allow that origin, credentials, method and both headers.
Result
Supplied CORS checks pass: actual origin and credentials pass; preflight status, origin, credentials, method and requested headers pass.

The fixture is covered by the focused helper check. It does not prove a live deployment behaves the same way.

Common use cases

  • Comparing response headers captured before and after a configuration change
  • Checking credentialed CORS response and preflight fields without contacting the origin
  • Keeping repeated Set-Cookie fields distinct while reviewing cache or security policy text

Frequently asked questions

Does a passing CORS report prove the request works?+

No. It means the fields you pasted satisfy the checks that can be made from them. Redirects, cookie behavior, caches, private-network rules, service workers and the complete live request remain outside this local analysis.

Why does a credentialed wildcard fail?+

When credentials mode is include, Access-Control-Allow-Origin must name the request origin and Access-Control-Allow-Credentials must be exactly true. Wildcards for allowed methods and headers also lose their wildcard meaning, and Authorization always needs an explicit header name.