Tools
Developer Tools

JSON Diff & Compare

Compare two JSON documents side by side. Both are formatted the same way first, so differences in spacing don't matter, and the diff shows removed lines with - and added lines with +.

JSON inputValid JSON
Comparison JSON
OutputReady to copy or download
Run an operation to generate output.
Tree inspectorExpandable JSON structure

How to use the JSON Diff & Compare tool

  1. Paste the original JSON into the JSON input box.
  2. Paste the changed JSON into the Comparison JSON box.
  3. Click Compare.
  4. Read the summary and the line-by-line diff in the Output panel.

Frequently asked questions

Does whitespace or indentation affect the result?

No. Both documents are parsed and re-formatted with the same indentation before they are compared.

Does key order matter?

Yes. Keys are compared in the order they appear, so the same keys in a different order show up as changes.

What do - and + mean?

Lines starting with - are only in the first document; lines starting with + are only in the second.

Private by design

Everything runs in your browser. The text you paste is not uploaded, stored, or logged by AblePro.

Need more options? Open the full JSON Studio.