ToolRivet

Developer Tools

JSON Diff

Compare two JSON objects and find added, removed and changed values.

Validate two JSON inputs and compare their structure to find nested keys, array entries, and values that were added, removed, or changed. Arrays are compared by index in this version.

JSON Diff

Compare JSON objects, arrays and values structurally.

Diff result

// JSON changes will appear here.

How to use

  1. 1. Paste original JSON

    Add the baseline JSON object, array, or value to the first input.

  2. 2. Paste changed JSON

    Add the new version to the second input and format both if needed.

  3. 3. Compare structure

    Review paths for added, removed, and changed nested values.

Example

This example reports `status` and `features.tools` as changed and `domain` as added.

Original:
{
  "status": "beta",
  "features": { "tools": 12 }
}

Changed:
{
  "status": "active",
  "features": { "tools": 16 },
  "domain": "toolrivet.dev"
}

FAQ

Does JSON Diff run locally?

Yes, both JSON inputs are compared in your browser.

Does it support nested objects?

Yes, nested changes are reported with their paths.

How are arrays compared?

Arrays are compared by index in this version.