Ready
Ln 1, Col 1Blog

Tool Kumar tool

JSON diff

Paste an original document and a modified document to see what changed. The compare view keeps the two editors aligned and marks additions, removals and edits.

How to use this tool

  1. Paste the original JSON in the first pane.
  2. Paste the modified JSON in the second pane.
  3. Review highlighted changes and copy either document when finished.

Worked example

In this example the role value changes from admin to editor.

Input

{"name":"Ada","role":"admin"}

Modified:
{"name":"Ada","role":"editor"}

Output

- "role": "admin"
+ "role": "editor"

Options and edge cases

  • Both documents are parsed before comparison.
  • Formatting differences are easier to read after formatting each side.
  • Use valid JSON on both sides for structural tree comparison.

Private by default

Your document stays in this browser. Tool Kumar parses, converts and creates downloads on your device, with no account or upload step.

JSON diff questions

Can I compare two JSON files?
Yes. Open a file in each compare pane, or paste both documents.
Does the diff send files to a server?
No. Parsing and comparison happen in the browser.
Can it compare nested arrays?
Yes. Nested objects and arrays are parsed and shown in the compare view.

Related tools

JSON formatter, JSON validator, JSON Schema generator.