API 工具

cURL 转换器

Convert cURL commands into fetch, axios, Python requests, and readable HTTP request details locally.

Request converter

Paste cURL and choose an output target.

const response = await fetch("https://api.example.com/v1/tools", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_TOKEN",
    Content-Type: "application/json"
  },
  body: "{\name\:\"JSON Parser\",\status\:\"live\"}"
});
const data = await response.json();
POST
2 headers
Body

https://api.example.com/v1/tools

功能亮点

cURL Parser

Reads common cURL flags such as method, headers, data, URL, and basic auth.

Fetch Output

Generate browser-native fetch snippets for frontend and edge runtime code.

Axios Output

Create axios request snippets with headers and request bodies.

Python Requests

Copy a Python requests example for scripts and API checks.

Request Summary

Inspect method, URL, headers, body, and inferred content type.

Local Conversion

Commands are parsed in the browser and never executed.

常见问题

No. It only parses the command text and generates snippets.

The converter supports common flags including -X, -H, -d, --data, --url, -u, and -A. Complex shell expansions are intentionally ignored.

Avoid pasting production secrets into any browser tool. This page runs locally, but copied snippets can still expose credentials if shared.

持续增长的高效、隐私优先开发者工具集合。所有工具都在浏览器中运行,数据不会离开你的设备。

工具

JSON 解析器JSON Schema 校验器JSON 转换器JSON 转 TypeScriptOpenAPI 查看器代码格式化SQL 格式化cURL 转换器时间戳转换器Cron 解析器URL 编码器二维码工具IP 与 CIDR 计算器Gzip 与 Deflate 工具JWT 解码器JWT 验签与 JWK 工具哈希生成器密码与 TOTPBase64 编码器UUID 生成器图片元数据图片压缩Tiny 图片压缩器图片工具箱 Pro屏幕录制正则测试器文本 DiffMarkdown 与 Mermaid 预览颜色与对比度工具

法律

隐私政策服务条款

© 2026 ZPTools. 保留所有权利。