CORS Headers Generator

在浏览器本地生成 CORS 响应头模板(原始 / Nginx / Cloudflare 注释)。不探测接口、不上传,避免 * 与 Credentials 冲突。

Interactive controls load with JavaScript. Processing stays in your browser.

Đang tải…

How to use

  1. 填写 Origin、Methods、Headers、Max-Age 等。
  2. 开启 Credentials 时 Origin 不能为 *。
  3. 可输出原始响应头、Nginx add_header 或 CF 注释。
  4. 仅生成配置片段,不探测接口。

FAQ

Does CORS Headers Generator upload my data?

No. CORS Headers Generator runs locally in your browser and does not upload content to www.518882.com or third-party APIs.

Do I need an account?

No. Open and use — no signup, login, or paywall. Open CORS Headers Generator and use it — no signup, login, or paywall.

How is this different from upload-based tools?

Tools run locally in your browser; content is not sent to our servers for processing — suited to private text and drafts.

Are there limits?

Limited by device memory and the browser; very large inputs may slow the page. There is no account quota.