Compare two API responses
Spot added fields, removed fields, changed types, and nested value differences between releases.
Processed locally
Compare two JSON documents semantically, review added, removed, changed, and type-changed values, then export JSON Patch or regression context.
Overview
This online JSON diff checker compares parsed values rather than raw lines. Use it to diff JSON objects or files, detect additions, removals, value changes, and type changes across nested objects and arrays, then review the result as a navigable semantic diff.
Workflow
Follow the core workflow below. Use “Show in tool” to locate the real control in the live tool above.
Put the original document in Before JSON and the version you want to compare in After JSON. You can paste content or use the existing load actions.
Before JSONAfter JSONUse Compare after both inputs contain valid JSON. Fix any parse message shown below an editor before relying on the diff.
CompareUse Diff Result to review Added, Removed, Changed, and Type changed values. Filter the result or use Search path when the diff is large.
Diff ResultAddedRemovedChangedSearch pathUse JSON Patch, the report/summary actions, or Agent Regression Context when you need to move the comparison into another development step.
JSON PatchCopy summaryCopy Agent ContextYou can now see the structural JSON changes and the paths where values were added, removed, changed, or changed type.
Practical cases
Spot added fields, removed fields, changed types, and nested value differences between releases.
Generate JSON Patch and an agent-friendly summary that identifies potentially breaking changes by path.
Troubleshooting
From evidence to action
Copy the generated regression context with the changed paths and before/after values. It gives a coding agent a compact description of what changed without exposing unrelated payload data.
FAQ