JSON 对比工具

在线对比 JSON 对象,即刻找出差异。

原始文本1
修改文本1

What Is JSON Diff?

JSON Diff is a free online JSON diff tool that compares two JSON files or objects and highlights every addition, deletion, and modification. It parses both inputs, normalizes whitespace, and produces a clean line-by-line diff so you can quickly spot what changed between two JSON documents.

How to Use JSON Diff

  1. Paste your original JSON into the left panel.
  2. Paste the modified JSON into the right panel.
  3. Click Compare — differences appear highlighted in green (added) and red (removed).
  4. Switch between Split and Unified view as needed.

Features

  • Validates JSON syntax before diffing
  • Pretty-prints input for clean line-by-line comparison
  • Split and unified diff views
  • Added / removed line counters
  • Copy diff result to clipboard

FAQ

Does JSON Diff support large files?

Yes — all processing happens in your browser with no file size limits imposed by a server.

Is my JSON data sent to a server?

No. DiffCheck runs entirely client-side; your data never leaves your browser.

Can I compare JSON arrays?

Yes. Any valid JSON value — objects, arrays, strings, numbers — can be compared.