What is
What is CORS Header Checker?
A CORS Header Checker helps you answer the question that usually matters most in browser debugging: will the browser allow this request to proceed, or will it stop at the policy layer first? Instead of reading CORS headers one by one and guessing, you can compare the request method, custom headers, credentials mode, and response headers in one place.
This is especially useful when an API works in Postman or curl but fails in the browser. In that situation, the backend may be fine at the transport layer while the browser still blocks the response because the CORS contract is incomplete or internally inconsistent.
How to use
How to use CORS Header Checker
Enter the frontend origin, request method, and any custom request headers the browser will send. Then fill in the response headers your API or gateway currently returns, especially `Access-Control-Allow-Origin`, `Access-Control-Allow-Methods`, and `Access-Control-Allow-Headers`.
The checker will tell you whether the browser sees the request as simple or preflighted, whether the origin is allowed, and whether the preflight response actually grants the method and headers you are asking for.
Example
Example
Scenario:
Frontend origin: https://app.aistacker.dev
Method: GET
Headers: authorization, x-client-version
Allow-Origin: *
Allow-Methods: GET, POST, OPTIONS
Allow-Headers: authorization, x-client-version
Credentials: true
Result:
The browser blocks the request because wildcard Allow-Origin cannot be combined with credentialed requests. Reflect the exact origin instead.Common use cases
Common use cases
1. Explaining why an API call succeeds in curl but fails in the browser.
2. Checking whether a custom header is the real reason a preflight fails.
3. Verifying whether `Access-Control-Allow-Origin: *` is safe for the request mode you are using.
4. Comparing local success against production failure when a gateway rewrites or strips CORS headers.
Frequently asked questions