代码、数据与二维码工具

JSON差异对比

根据输入计算、校验或分析JSON差异对比。

优先本地处理无需注册隐私说明 ↗

Maximum 100,000 characters per side. Parsing and comparison happen locally in your browser; nothing is sent to a server.

使用步骤

如何使用

  1. Paste valid JSON into the Original and Updated panels, each up to 100,000 characters.
  2. Select Compare JSON to parse both values and compare objects, arrays, and primitive values safely.
  3. Review the added, removed, and changed counts, then copy the report if needed.

Safe local parsing

The checker uses JSON.parse and never evaluates pasted text as code. Each panel is limited to 100,000 characters, and parsing, comparison, copying, and clearing happen in your browser.

Stable paths and sorting

Object keys are compared in sorted order and shown with safe JSONPath-like paths such as $.profile.name or $.items[0]. Added, removed, and changed entries are counted separately.

常见问题

你可能还想知道

Does key order affect the result?

No. Object keys are compared by name and displayed in stable alphabetical order.

How are arrays compared?

Array positions are compared in order, so an insertion can produce changed, added, or removed index paths.

Is my JSON uploaded?

No. Both values stay in your browser and are never sent to a server.