About this tool
Compare parsed JSON semantics without confusing object key order, formatting, member-name punctuation, or string and number types.
JSON Diff is useful when two payloads look similar at a glance but you need the exact structural changes fast. It helps compare API responses, config objects, saved drafts, and transformed data without manually scanning long nested objects line by line.
- Uses fast-json-patch 3.1.1 to generate invertible RFC 6902 operations and displays unambiguous RFC 6901 JSON Pointer paths.
- Reapplies the patch to a cloned original with validation and prototype modification protection before marking it verified.
- Preserves JSON value types, filters by operation and value, rejects unsafe integers, and exports a verified patch or bounded evidence report.
How to use JSON Diff
Paste the original JSON on one side and the updated JSON on the other, then review the diff before copying the output or sharing the comparison. If either side fails to parse, clean the invalid JSON first so the comparison reflects data changes rather than syntax errors.
When this tool is useful
- Uses fast-json-patch 3.1.1 to generate invertible RFC 6902 operations and displays unambiguous RFC 6901 JSON Pointer paths.
- Reapplies the patch to a cloned original with validation and prototype modification protection before marking it verified.
- Preserves JSON value types, filters by operation and value, rejects unsafe integers, and exports a verified patch or bounded evidence report.
Examples you can test
Load an example, compare the result with the expected output, then replace it with your own input.
Compare API responses
Example input
Before: {"status":"draft"}
After: {"status":"published"}Expected output
Changed field: status
Formatting both JSON inputs first makes structural differences easier to review.
Spot config drift
Example input
Before: {"retries":3,"timeout":1000}
After: {"retries":5,"timeout":1000}Expected output
Changed field: retries
Diffs are useful when a small config change has a large runtime effect.
Validation checklist
- Validate both JSON inputs before comparing them.
- Sort keys when object order is distracting but not meaningful.
- Review removed fields separately from changed values.