JSON Compare

Compare JSON semantically and generate an RFC 6902-style patch.

Original JSON

Modified JSON

About

Compare parsed JSON values instead of noisy line-by-line text and copy the resulting patch.

Key Features

  • Add, remove, and replace operations
  • Optional order-insensitive arrays

How to use

  1. 1Paste the original and modified JSON.
  2. 2Compare and inspect or copy the patch.

Example

Input

{"name":"Ada","active":false}
→ {"name":"Ada","active":true}

Output

[{"op":"replace","path":"/active","value":true}]

Limitations

  • Input is limited to 2,000,000 characters to keep the browser responsive.
  • Ignoring array order treats arrays as multisets and does not produce reordering patches.
  • All input is processed locally in your browser and is never uploaded to ToolHub.

Last reviewed:

Related Tools