🌀 cURL 转代码cURL to Fetch / Python Converter
把 cURL 命令转换为 JavaScript fetch、Python requests 代码,支持请求头、数据和认证。Convert cURL commands to JavaScript fetch or Python requests code (headers, data, auth).
使用说明与常见问题How-to & FAQ
「cURL 转代码」是什么?What is the cURL to Fetch / Python Converter tool?
把 cURL 命令转换为 JavaScript fetch、Python requests 代码,支持请求头、数据和认证。Convert cURL commands to JavaScript fetch or Python requests code (headers, data, auth).
如何使用「cURL 转代码」?How do I use the cURL to Fetch / Python Converter tool?
在「cURL 转代码」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。In the cURL to Fetch / Python Converter: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「cURL 转代码」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The cURL to Fetch / Python Converter runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「cURL 转代码」免费吗?需要注册吗?Is the cURL to Fetch / Python Converter free? Do I need an account?
「cURL 转代码」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The cURL to Fetch / Python Converter is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.