使用方法
- Paste JSON into the editor.
- Choose an indentation and press Format, Minify or Sort keys.
- If the JSON is invalid, the error message includes the line and column.
适用人群
Developers debugging an API response, analysts reading exported data, and anyone who needs to make a JSON file readable before sharing it.
操作示例
A one-line API response becomes an indented tree, and a trailing comma is reported at the exact line where it appears.
限制
Only standard JSON is accepted. Comments, trailing commas and single-quoted strings are invalid and will be reported as errors.
隐私
What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.
常见问题
Does formatting change the data?
No. Formatting only changes whitespace. Sorting keys changes the order of object keys, which is rarely significant but can matter for signatures.
快速信息
- 类别
- 开发者工具
- 适用设备
- 手机、平板电脑和桌面设备
- 账户
- 无需
- 价格
- 免费
- 数据
- 保留在你的设备上
- 更新日期