❓ 查询字符串 JSON 互转Query String ↔ JSON Converter
URL 查询字符串(a=1&b=2)与 JSON 对象互相转换,重复参数转为数组。Convert URL query strings (a=1&b=2) to JSON and back; repeated keys become arrays.
使用说明与常见问题How-to & FAQ
「查询字符串 JSON 互转」是什么?What is the Query String ↔ JSON Converter?
URL 查询字符串(a=1&b=2)与 JSON 对象互相转换,重复参数转为数组。Convert URL query strings (a=1&b=2) to JSON and back; repeated keys become arrays.
如何使用「查询字符串 JSON 互转」?How do I use the Query String ↔ JSON Converter?
在「查询字符串 JSON 互转」中,把内容粘贴或输入到上方输入框,结果会实时显示在下方,点击「复制结果」即可复制。例如输入「https://x.com/?a=1&b=%E4%B8%AD&a=2」,得到「{ ⏎ "a": [ ⏎ "1", ⏎ "2" ⏎ ], ⏎ "b": "中" ⏎ }」。In the Query String ↔ JSON Converter: Paste or type into the input box; the result appears below instantly — click "Copy result" to copy it. Example: "https://x.com/?a=1&b=%E4%B8%AD&a=2" → "{ ⏎ "a": [ ⏎ "1", ⏎ "2" ⏎ ], ⏎ "b": "中" ⏎ }".
代码或数据会被上传吗?Is my code or data uploaded?
不会。「查询字符串 JSON 互转」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Query String ↔ JSON Converter runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「查询字符串 JSON 互转」免费吗?需要注册吗?Is the Query String ↔ JSON Converter free? Do I need an account?
「查询字符串 JSON 互转」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Query String ↔ JSON 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.