🔍

首页Home › 开发工具Developer Tools

📮 Postman 批量编辑格式转换Postman Bulk Edit Converter

在 Postman「Bulk Edit」使用的 key:value 格式与 JSON 对象、URL 查询参数、HTTP 请求头之间互相转换,还能把 SQL 建表语句转换成参数列表,支持 // 开头的禁用行,省去在 Postman 里一个个填写参数的麻烦。Convert between Postman’s Bulk Edit key:value format and JSON objects, URL query strings and raw HTTP headers, or turn a SQL CREATE TABLE into parameters, including // disabled lines — no more typing parameters into Postman one by one.

使用说明与常见问题How-to & FAQ

「Postman 批量编辑格式转换」是什么?What is the Postman Bulk Edit Converter tool?

在 Postman「Bulk Edit」使用的 key:value 格式与 JSON 对象、URL 查询参数、HTTP 请求头之间互相转换,还能把 SQL 建表语句转换成参数列表,支持 // 开头的禁用行,省去在 Postman 里一个个填写参数的麻烦。Convert between Postman’s Bulk Edit key:value format and JSON objects, URL query strings and raw HTTP headers, or turn a SQL CREATE TABLE into parameters, including // disabled lines — no more typing parameters into Postman one by one.

如何使用「Postman 批量编辑格式转换」?How do I use the Postman Bulk Edit Converter?

选择转换方向并粘贴内容。例如把接口文档里的 JSON 参数转换成 key:value 后,粘贴到 Postman 的 Params、Headers 或 Body(form-data / x-www-form-urlencoded)的 Bulk Edit 中即可一次性导入。Choose a direction and paste your content. For example, convert JSON parameters from API docs to key:value lines and paste them into Bulk Edit under Params, Headers or Body (form-data / x-www-form-urlencoded) in Postman to import them all at once.

Postman 的 Bulk Edit 在哪里?Where is Bulk Edit in Postman?

在 Params、Headers 以及 Body 的 form-data、x-www-form-urlencoded 表格右上角有「Bulk Edit」链接,点击后表格变成文本框,每行一个 key:value,前面加 // 表示禁用该行。Click the Bulk Edit link at the top right of the Params, Headers, or Body form-data / x-www-form-urlencoded table; it becomes a text box with one key:value per line, and // disables a line.

嵌套的 JSON 对象怎么处理?How are nested JSON objects handled?

嵌套对象会展开为 filter[brand] 这样的方括号写法,简单数组展开为 tags[],这是 PHP、Rails 等后端常用的表单参数格式;如需原样传 JSON,请在 Body 中选择 raw → JSON。Nested objects become bracket keys like filter[brand] and simple arrays become tags[] — the form convention used by PHP, Rails and others. To send JSON as-is, use Body → raw → JSON.

「Postman 批量编辑格式转换」免费吗?数据会上传吗?Is the Postman Bulk Edit Converter free? Is my data uploaded?

「Postman 批量编辑格式转换」完全免费,无需注册或安装,手机和电脑都能用;所有处理都在你的浏览器本地完成,输入的内容和文件不会上传到服务器。The Postman Bulk Edit Converter is completely free with no sign-up or install and works on phones and desktops; everything runs locally in your browser and nothing you enter is uploaded.

相关工具Related tools

🧩 URL 解析器URL Parser📨 HTTP 请求头解析HTTP Header Parser🧾 JSON 格式化校验JSON Formatter & Validator🌐 URL 编码解码URL Encode / Decode🍪 Cookie 解析格式化Cookie Parser & Formatter

← 全部工具All tools