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.
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
- Paste the browser request or preflight headers.
- Paste the server response headers.
- Read which checks failed.
Things to watch for
Access-Control-Allow-Origin: *cannot be combined withAccess-Control-Allow-Credentials: true.- A missing
Access-Control-Allow-Headersentry 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.