JSON Diff

Compare two JSON objects and display added, removed, and changed keys in a tree view.

Input data is processed in your browser
Data is never sent to a server

Tool

0 chars

or drag & drop a file

0 chars

or drag & drop a file

What is JSON Diff?

JSON Diff compares two JSON objects and displays the differences in a tree view. It ignores whitespace and indentation and detects only actual data changes, making it useful for checking API response changes or identifying what changed in a config file.

How to Use

  1. Paste the original JSON into the left input field.
  2. Paste the modified JSON into the right input field.
  3. Click "Compare" to see the differences in a tree view.
  4. A summary shows the count of added, removed, changed, and unchanged keys.

FAQ

How is this different from a text diff tool?

A text diff compares line by line. JSON Diff compares by key and value, ignoring differences in whitespace and indentation, so only actual data changes are detected.

Are nested objects supported?

Yes. Nested objects are compared recursively and only the keys that changed are highlighted.

How are arrays compared?

Arrays are compared as a whole value. If the order of elements changes, it is detected as a change.

Is my data sent to a server?

No. All processing happens in your browser.