About this tool
A text diff gets confused when keys are reordered or indentation changes. This tool parses both documents and compares their actual content, listing every added, removed and changed value with its full path, such as $.limits.timeoutMs. You can also treat arrays as unordered sets, ignore letter case, or count "5" and 5 as the same. Handy for checking API responses, config changes and test fixtures, and nothing is uploaded.
How to use JSON Diff
- Paste the original JSON on the left and the changed version on the right.
- Pick any comparison options you need.
- Read the list of differences with their paths.
- Copy the differences as plain text if you want to share them.
Frequently asked questions
Does key order matter?
No. Objects are compared key by key, so {"a":1,"b":2} and {"b":2,"a":1} are equal.
How are arrays compared?
Item by item at the same position, by default. Tick “Ignore array order” to compare them as unordered collections instead, which suits lists of tags or IDs.
What does a “changed” entry with different types mean?
The value at that path switched type, for example from the number 5 to the string "5", or from an object to null.