ToolsYard

JSON Diff Checker

Paste two JSON objects below to see which keys were added, removed, or changed.

What this tool does

This tool parses two JSON documents and recursively compares them key by key, reporting every path that was added, removed, or changed between the two — regardless of key order, since JSON object keys aren't ordered. Nested objects and arrays are walked all the way down, so a difference three levels deep inside an object is still reported with its full path. Everything runs locally in your browser.

Example use case

Comparing an API response before and after a change, checking whether two config files or environment exports actually differ, or reviewing what a code change did to a serialized state object are all easier with a structural diff than by eye-scanning two blocks of formatted JSON.

Note on arrays

Array elements are compared by index, not by matching similar items — so inserting an item at the start of an array will show every following element as changed, even if their contents are identical. This keeps the comparison simple and predictable for the common case of comparing two versions of the same array shape.