CORS preflight debugger

Paste preflight request and response headers and see why the browser blocked the call.

Runs in your browser. Your input is not uploaded.

Correctness last checked 2026-11-13. How we verify

Loading the tool…

What it does, how to use it, and questions

What it does

Cross-Origin Resource Sharing is enforced by the browser. A preflight OPTIONS asks which methods and headers are allowed; the real request needs a matching Access-Control-Allow-Origin.

Paste the request headers and the response headers for a checklist. This page never sends the OPTIONS request itself.

How to use it

  1. Paste the browser request or preflight headers.
  2. Paste the server response headers.
  3. Read which checks failed.

Things to watch for

  • Access-Control-Allow-Origin: * cannot be combined with Access-Control-Allow-Credentials: true.
  • A missing Access-Control-Allow-Headers entry fails the preflight even when the simple request would have worked.

Questions

Does this call my API?
No. It only compares the headers you paste.
Where do I copy headers from?
DevTools → Network → the failed request or the OPTIONS preflight.
Why does * fail with credentials?
The spec forbids it. Echo the exact Origin instead.
Is a pass proof my site works?
It means these pasted headers are consistent. Caching, redirects and middleware can still break a live call.