API & Web Processed locally

CORS Debugger / Preflight Simulator

Debug a CORS error without sending a request. Enter the request origin, method, and target URL, paste the request headers and the server's CORS response headers, and the tool replays the browser's CORS algorithm locally — telling you whether the preflight and the actual request would pass, and exactly which header to change. No network request is made.

Request & CORS response

Auto-analyzes as you type. Ctrl+Enter to re-run.

How to use the CORS Debugger / Preflight Simulator

CORS errors are confusing because the browser, not your code, blocks the response. This tool replays the browser's CORS algorithm locally: you describe the cross-origin request and paste the server's CORS response headers, and it tells you whether the preflight (OPTIONS) and the actual request would pass — and exactly which header to change. It never makes a network request, so there is nothing to upload and no origin to probe.

What it does

When to use it

How to use it

  1. Enter the request origin, method, target URL, and request headers.
  2. Paste the server's Access-Control-* response headers.
  3. Toggle "sends credentials" if cookies/auth are involved, then read the result and fixes.

Tips & pitfalls

FAQ

Related guides