DEVELOPER TOOLS / ONLINE UTILITY

JSON Diff Tool

Compare two JSON values side by side and inspect the paths where properties or values were added, removed, or changed.

FREE ONLINE TOOL

JSON Diff Tool

Runs in your browser
OVERVIEW

What is JSON Diff Tool?

JSON Diff compares two parsed JSON structures rather than their raw whitespace. Formatting differences do not count as changes. The tool recursively compares objects and arrays and reports paths for added, removed, and modified values.

What can you use it for?

  • Compare two API responses to see what changed.
  • Review configuration changes between environments.
  • Inspect changes to nested objects and arrays.
  • Check whether a data update changed a specific property.

How to use this tool

  1. Paste the original JSON into the first field.
  2. Paste the updated JSON into the second field.
  3. Select Compare JSON.
  4. Review the change type, JSON path, and old or new values.

Example input

Load the example into the first field, then change the version or add a property in the second field before comparing.

{"name":"Info4PHP","version":1,"active":true}

Tips and things to know

  • Both inputs must be valid JSON.
  • Object property order and insignificant whitespace are ignored.
  • Array items are compared by index; reordering an array can therefore appear as multiple changes.
  • The comparison is performed locally in your browser.

Frequently asked questions

Does JSON Diff compare formatting?

No. It parses both documents first, so whitespace and object key order do not create differences.

How are arrays compared?

Arrays are compared by index. An inserted item may cause later indexes to appear changed.

Are my JSON documents uploaded?

No. Parsing and comparison run in your browser.