CORS Checker
AvailableSend a URL requests with different Origin headers and OPTIONS preflights, see the exact CORS response headers, and learn what a browser would allow — simple, preflighted and credentialed — with Origin reflection, wildcard, null and subdomain-trust detection, evidence-based findings and configuration examples.
Test a CORS configuration
Sending test requests…
CORS test results
Server-side header inspection with a browser-access model: NetTools sent the requests from its server and applied the browser’s CORS rules (WHATWG Fetch) to the responses. It is not an actual browser enforcement test — see “Actual browser test” below.
CORS policy
Response headers
Preflight analysis
Security findings
Findings are based on the responses received. CORS is a browser-enforced response-sharing mechanism — it is not authentication, and it does not stop curl, servers or other clients from sending requests.
Origin comparison
Highlighted cells differ from the selected Origin’s response. Select a row to inspect it.
Request and response inspector
What NetTools sent and received, per Origin. Cookie values are hidden; no cookies or authorization headers are ever sent.
Actual browser test
Runs fetch() from this page in your browser, without credentials. Your browser then enforces CORS itself — but only for this website’s Origin (), not for the Origin you selected, and it contacts the target directly from your network.
Recommendations and configuration examples
Placeholders (https://app.example.com) only: adapt the Origins, methods and headers to what your application actually needs instead of copying the example unchanged.
How it works
The NetTools server sends GET (or HEAD) requests with each test Origin and, when the request needs one, an OPTIONS preflight with Access-Control-Request-Method and -Headers. Your browser then evaluates the sanitized response headers with a model of the browser’s CORS rules (WHATWG Fetch) — simple, preflighted and credentialed — and compares the answers across Origins to detect wildcard, reflected, null and over-broad subdomain policies.
Test CORS on the command line
# Inspect response headers
curl -sSI https://example.com/api/
# Send an Origin header and look for Access-Control-* in the answer
curl -sSI https://example.com/api/ \
-H 'Origin: https://app.example.com'
# Browser-style OPTIONS preflight
curl -i -X OPTIONS https://example.com/api/ \
-H 'Origin: https://app.example.com' \
-H 'Access-Control-Request-Method: POST' \
-H 'Access-Control-Request-Headers: content-type, authorization'
# Does the server reflect an unrelated Origin?
curl -sSI https://example.com/api/ \
-H 'Origin: https://attacker.example' curl shows what the server answers, but it does not enforce CORS: a successful curl request says nothing about whether browser JavaScript may read the response. Compare the Access-Control-Allow-Origin value with the Origin you sent, and check Access-Control-Allow-Credentials and Vary. On Windows use curl.exe with double quotes.
Safeguards & responsible use
- Only GET, HEAD and OPTIONS requests are sent — never POST, PUT, PATCH or DELETE — and no cookies, tokens or credentials.
- Private, local, link-local, multicast and metadata addresses are refused; every redirect hop is re-checked and the connection goes to the checked address (SSRF and DNS-rebinding protection). Ports 80, 443, 8080 and 8443 only.
- At most 40 requests and 40 seconds per test, 1 KB of each body read and discarded, per-target and per-client rate limits.
- Results are not stored; the request log records only the host name, never paths or query strings.
Learn more
What is CORS Checker?How it works, how to read the results, troubleshooting and FAQs. Complete guide →Frequently asked questions
Is a server-side CORS test the same as a browser test?
No. CORS is enforced by browsers. NetTools sends the requests from its server with your chosen Origin and applies the browser’s rules to the responses (a model of the WHATWG Fetch standard). The page also offers an actual browser test, which can only use this website’s own Origin.
Is Access-Control-Allow-Origin: * a vulnerability?
Not by itself. It lets any website read responses that do not use credentials, which is right for public APIs and assets. It is a problem only for data that is protected by something other than cookies or HTTP authentication, such as an intranet location.
Why is reflecting the Origin dangerous?
If the server copies any Origin into Access-Control-Allow-Origin and also sends Access-Control-Allow-Credentials: true, any website a logged-in user visits can read authenticated responses. The real impact depends on what the endpoint returns and on cookie rules such as SameSite.
Does CORS protect my API?
No. CORS only decides which websites may read responses in a browser. curl, scripts and servers ignore it. Every request must still be authenticated and authorized on the server.