curl to Fetch
Convert a curl command into a JavaScript fetch() snippet. String conversion only.

This tool runs only in your browser. It does not execute the request.

Tip: “Share link” stores your input/options in the URL hash so you can reopen the same conversion.

About / 關於

curl to Fetch — Convert a curl command into a JavaScript fetch() example. Browser-only string conversion (no requests). Copy output or share a link. MVP.

Example: Use this tool to sanity-check numbers quickly, then share the link if you need to discuss with others.

FAQ: (1) Does it upload my data? No—runs in your browser. (2) Can I share results? Yes—use the share link feature. (3) Is it authoritative? Treat it as a convenience, not professional advice.

curl 轉 Fetch — 把 curl 指令轉成 JavaScript fetch() 範例。純前端字串轉換(不會送出請求),可複製輸出或分享連結。MVP。

範例:用這個工具快速試算與對照結果,需要討論時再把連結分享給對方。

FAQ: (1) 會上傳資料嗎?不會,計算在瀏覽器內完成。 (2) 能分享結果嗎?可以,用分享連結。 (3) 準確嗎?請把它當作便利工具,不是專業建議。