开发者工具箱
开发者工具
28 个日常 API 开发小工具。它们在你的浏览器中运行,粘贴的内容不会发送到服务器。
格式化与转换
7 个工具重新格式化数据,或在不同格式之间转换。
- JSON 格式化格式化并校验 JSON,错误会显示行号。
- JSON 与 XML 互转双向转换,支持嵌套对象和数组。
- JSON、YAML 与 CSV 互转在三种格式之间转换,支持嵌套数据。
- 文本对比逐行比较两段文本,查看新增和删除的内容。
- JSON compareFind the differences between two JSON documents by data, ignoring key order.
- JSON to typesGenerate TypeScript, Go, Python, Java, C#, Kotlin or Rust types from a JSON sample.
- API spec converterConvert between OpenAPI 3, Swagger 2.0, Postman collections, cURL and HAR.
编码与解码
6 个工具对 API 之间传递的字符串进行编码、解码和拆解。
生成
6 个工具ID、哈希、密码、测试数据和二维码。
参考与测试
9 个工具查询状态码、测试正则、转换时间。
- HTTP 状态码所有状态码及其含义,按类别分组。
- Webhook testerGet a URL that captures webhooks and shows each request's headers and body.
- 正则测试用文本测试正则表达式,查看匹配结果和捕获组。
- Unix 时间戳在 Unix 时间戳和日期之间转换。
- Cron explainerRead a cron expression in plain words and see its next run times.
- OpenAPI validatorCheck an OpenAPI or Swagger spec for missing fields, broken $refs and bad examples.
- JSON Schema validatorCheck JSON against a schema and see every error with its path.
- JSONPath testerTry a JSONPath expression on your JSON and see every match.
- API 地图将 OpenAPI、Postman、cURL、HAR 或 WSDL 文件显示为交互式地图,并把多个服务放在一张图上。