JSON 对比
对比两个 JSON
在浏览器中运行 · 无需上传
此工具及本页说明目前仍为英文。功能完全相同:一切都在你的浏览器中运行。
Differences
你的浏览器版本过旧,无法运行此工具。请更新浏览器,或使用最新版的 Chrome、Edge、Firefox 或 Safari。
- 任何内容都不会离开你的设备
- 服务器不限制文件大小
- 无需注册,无水印
- 免费
How to compare JSON
- Paste the original JSON on the left and the changed JSON on the right, or open files.
- Choose whether the order of array items matters.
- Read the list of differences, then copy or download the report.
What counts as a difference
- A key that was added or removed.
- A value that changed, including a change of type, such as 3 becoming "3".
- Array items compared by position, or as a collection when you ignore their order.
- Not a difference: key order, spacing and numbers written differently (1.0 and 1).
Paths
Each difference shows where it is, like $.env.LOG_LEVEL or $.items[2].price. $ is the top of the document.
常见问题
How is this different from Text Compare?
Text Compare compares lines of text, so reordered keys or different spacing show up as changes. JSON Diff reads both documents first and compares the data.
Are my files uploaded?
No. Everything happens in your browser, and the page is blocked from uploading anything.