JSONWeave / Compare two JSON documents
Processed entirely in your browser
Compare two JSON documents
A text diff flags every reordered key and whitespace change. JSONWeave compares the data itself, so the result lists what was added, removed or changed.
Compare JSON in the workspaceHow to compare JSON
- Open the first document in the workspace.
- Switch to Compare JSON from the command palette.
- Paste or load the second document into the Modified pane.
- Review the additions, removals and changes.
When a JSON diff helps
- Checking what changed between two API responses after a deploy.
- Reviewing a configuration change before you commit it.
- Comparing an expected fixture with the actual output of a test.
Tips for a clean comparison
Format both documents first so you read them in the same layout. If one side is broken, repair it first, because the comparison works on the parsed value.
Frequently asked questions
Can I compare two JSON documents?
Yes. Open one document, switch to Compare JSON and paste or load the second.
Is either document uploaded?
No. The comparison runs in your browser.
Related
Ready to try it on your own JSON?
Open the workspace, paste or drop a file, and nothing leaves your browser.
Compare JSON in the workspace