
Canonical Tag Generator
Generate valid HTML <link rel="canonical"> tags and HTTP Link headers from any URL, with UTM parameter stripping and trailing-slash control.
Open toolSimulate browser WHATWG Fetch CORS policy checks offline—verifying whether your request triggers an `OPTIONS` preflight, auditing `Access-Control-Allow-Origin`, `Methods`, `Headers`, and `Credentials`, and pinpointing the exact rule blocking your frontend request.
Enter the inputs, then select Validate CORS Headers.
Result will appear here
Enter your frontend's `Origin`, HTTP method, credentials mode, and request headers alongside your backend's response headers.
Preflight Trigger: Method not in {GET,HEAD,POST} OR non-safelisted Request Header; Credentialed Rule: if credentials='include', ACAO == requestOrigin (never '*') AND ACAC == 'true'.
Evaluates the exact WHATWG Fetch CORS specification offline without sending external network traffic—catching wildcard-with-credentials conflicts, missing preflight headers, and poison-cache risks when `Vary: Origin` is omitted.
Quick lookup of the most common CORS header combinations and how browsers evaluate them.
| Scenario / Mode | Required `Allow-Origin` | Required `Allow-Credentials` | Required `Allow-Headers` | Common Pitfall |
|---|---|---|---|---|
| Public API (`credentials: omit`) | `*` or exact `Origin` | Omitted | `*` or explicit list (except `Authorization`) | `Authorization` never matches `*`; must be explicit |
| Authenticated (`credentials: include`) | Exact `Origin` (`https://...`) | `true` (case-sensitive) | Explicit header names (never `*`) | Returning `ACAO: *` with `ACAC: true` is blocked |
| JSON `POST` / `PUT` / `DELETE` | `*` or exact `Origin` | Matches credentials mode | Must include `content-type` | Forgetting `OPTIONS` handler returns `404`/`405` on preflight |
| Dynamic Origin Allowlist + CDN | Exact matched `Origin` | Optional / `true` | Explicit list | Omitting `Vary: Origin` causes CDN cache poisoning |
Enter the values for your scenario, verify the units, and run the calculation.
Start by entering the required fields in the CORS Header Checker & Preflight Simulator form above.
Match each value to the unit or format shown next to the input box before running the calculation.
Select Validate CORS Headers, inspect the primary metric and breakdown cards, then use Copy result or Download result.txt.
Compare baseline and alternative runs for CORS Header Checker & Preflight Simulator before exporting the result.
Validate HTTP Access-Control-Allow-* CORS response headers against browser request Origin, Method, Headers, and Credentials mode. Diagnose preflight OPTIONS failures.
Preflight Trigger: Method not in {GET,HEAD,POST} OR non-safelisted Request Header; Credentialed Rule: if credentials='include', ACAO == requestOrigin (never '*') AND ACAC == 'true'.
Evaluates the exact WHATWG Fetch CORS specification offline without sending external network traffic—catching wildcard-with-credentials conflicts, missing preflight headers, and poison-cache risks when `Vary: Origin` is omitted.
Review the calculated output alongside your entered parameters and unit conventions.
Evaluates the exact WHATWG Fetch CORS specification offline without sending external network traffic—catching wildcard-with-credentials conflicts, missing preflight headers, and poison-cache risks when `Vary: Origin` is omitted.
Verify these three server behaviors before shipping CORS changes.
Preflight Trigger: Method not in {GET,HEAD,POST} OR non-safelisted Request Header; Credentialed Rule: if credentials='include', ACAO == requestOrigin (never '*') AND ACAC == 'true'. Evaluates the exact WHATWG Fetch CORS specification offline without sending external network traffic—catching wildcard-with-credentials conflicts, missing preflight headers, and poison-cache risks when `Vary: Origin` is omitted.

Generate valid HTML <link rel="canonical"> tags and HTTP Link headers from any URL, with UTM parameter stripping and trailing-slash control.
Open tool
Scan HTML for missing or weak <img> alt attributes, flag filename alt text and redundant prefixes, and generate WCAG 1.1.1 compliant fixes.
Open tool
Generate official wa.me click-to-chat WhatsApp links and HTML button snippets from an international phone number and pre-filled message.
Open toolChoose another tool for your next calculation, conversion, or text task.

Read unfolded email headers and recorded delivery hops. Inspect authentication claims as pasted text; this page does not independently verify SPF, DKIM or DMARC.
Open tool
Parse an absolute HTTP or HTTPS URL with the browser URL API and list its components and query entries.
Open tool
Resolve a relative URL against an HTTP or HTTPS base.
Open tool
Validate a simple source path and destination, then generate a mod_alias Redirect directive.
Open toolAnswers about using CORS Header Checker & Preflight Simulator and understanding its results.
Under the WHATWG Fetch specification, any request with `credentials: 'include'` (or `xhr.withCredentials = true`) attaches sensitive browser cookies or HTTP authentication headers. Allowing a wildcard `*` would let any untrusted website read authenticated responses. Therefore, the server must echo the exact origin (e.g. `Access-Control-Allow-Origin: https://app.example.com`) and return `Access-Control-Allow-Credentials: true`.
A browser skips preflight only for 'simple requests' (GET, HEAD, or POST with a safelisted Content-Type of `text/plain`, `application/x-www-form-urlencoded`, or `multipart/form-data` and no custom headers). Sending `PUT`, `PATCH`, `DELETE`, `Content-Type: application/json`, or an `Authorization` header automatically triggers a preflight `OPTIONS` request first.
If your server dynamically sets `Access-Control-Allow-Origin` from an allowlist without sending `Vary: Origin`, a CDN or browser HTTP cache may cache the response generated for `https://site-a.com` and serve that same header to `https://site-b.com`, causing intermittent CORS failures.
First, if `credentials: 'include'` is active, `*` is ignored for all `Access-Control-Allow-*` headers. Second, per the Fetch spec, even on non-credentialed requests, the `Authorization` header is never matched by a wildcard `Access-Control-Allow-Headers: *`—it must be explicitly listed as `Access-Control-Allow-Headers: Authorization`.
Choose another tool for your next calculation, conversion, or text task.