JSON Diff

Compare two JSON documents by structure. Find added, removed and changed values at their exact paths, even when object keys are reordered.

Object keys can appear in any order. Arrays are compared by index.

About JSON Diff

Compare two versions of an API response, configuration file or test fixture. Each difference includes a JSON Pointer and the original or updated value. The comparison runs locally in your browser.

How to use JSON Diff

  1. Enter both documents

    Paste the earlier JSON into Original JSON and the newer version into Updated JSON. Any JSON value is supported, including arrays and null.

  2. Compare the structure

    Select Compare JSON. Formatting and object key order are ignored. Array items are matched by index.

  3. Inspect the changes

    Follow each path to see the affected value. Added and removed objects are shown as a single change, and longer values can be expanded.

Frequently asked questions