Free, browser-based utilities for everyday developer workflows

CORS Debugger / Preflight Simulator

API & Web

Find out why a cross-origin request is blocked — and exactly how to fix the server headers — without sending a request.

  • Enter the request (origin, method, URL, headers, credentials).
  • Paste the server's CORS response headers.
  • See whether the preflight + request pass, with concrete fixes.
Runs locally

The request

Result

Enter the request and the server CORS headers.

Next steps

Inspect the raw headers, audit security headers, or rebuild the request after fixing CORS.

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