JSON Diff
Compare two JSON documents by what they mean rather than how they are laid out, and get the path of every difference.
Before
Colorazione sintattica disattivata.
After
Colorazione sintattica disattivata.
Differences
The differences appear here.
No changes match this filter
Funziona interamente nel tuo browser.
Su questo strumento
A text diff on JSON reports the wrong thing. Reindent a file or move a property to the top and it lights up as dozens of changed lines while the data is identical. This compares the documents themselves, so what comes back is a list of paths whose values genuinely differ. Objects are treated as unordered, because that is what the specification says they are. Arrays are compared by position, which is the only honest reading when the tool cannot know whether one element was inserted or every element after it was rewritten. Values count as equal when they mean the same thing, so 1 and 1.0 match and two spellings of the same string match, but two long integers have to agree digit for digit before they are called equal.
Come usare
- Paste the original document on the left and the changed one on the right.
- Press Compare. Use Swap sides to turn the comparison around.
- Read the differences underneath. Each one carries the path of the value and both sides of the change.