这个工具做什么?
| 直接答案 | JSON 格式化器解析您的输入并以可预测的缩进打印,保留所有值。 |
| 关键事实 | JSON (RFC 8259) 有 6 种类型:4 种基本类型(字符串、数字、布尔值、null)和 2 种结构化类型(对象、数组)。 |
| 处理 | 在您的浏览器中本地运行;不会将数据发送到服务器。 |
如何使用
- 将你的 JSON 粘贴到输入框中。\n点击格式化 JSON 以解析并缩进它。\n检查输出,然后复制或下载。
Who is this for?
This tool was built for people who need a fast answer in the browser — no install, no account, no data leaving the device.
Developers formatting API responses or config files, analysts inspecting minified payloads, and students learning structured data formats. If you have ever squinted at a one-line blob hoping to find a missing brace, this page is for you.
常见问题
格式化会改变我的 JSON 数据吗?
不会。格式化仅更改空白 — 键、值和顺序完全保留。
为什么格式化失败了?
输入不是有效的 JSON:检查未加引号的键、尾随逗号或注释 — JSON 不允许这些。
我的数据会被上传到任何地方吗?
不会。解析和格式化完全在您的浏览器中进行;没有任何内容发送到服务器。