JSON Diff
Compare two JSON documents and highlight the differences.
Usage examples
Seeing how an API response changed after a deploy
Paste the old and new response from the same API side by side to spot exactly which fields were added, removed, or changed.
Comparing two versions of a config file
Compare a JSON config file before and after an edit to confirm only the intended part changed.
Comparing a test's expected value against the actual result
Drop in the expected JSON and the actual JSON from a test to quickly find which fields differ.
Frequently asked questions
Is what I enter sent to a server?
No. All comparison happens entirely in your browser, and what you enter is never sent to a server.
Does key order inside an object matter?
No. Key order doesn't affect the comparison — only whether the values themselves match.
What happens if an array's order changes?
Arrays are compared index by index, so if the order of values changes, those index positions may show up as changed.
What if one of the inputs isn't valid JSON?
A specific error message appears under the invalid one, and the diff only appears once both inputs are valid JSON.