How to Use
- Input JSON: Paste or type the JSON code you want to compare into the left and right input boxes.
- Auto Compare: The tool automatically parses and recursively compares the JSON on both sides.
- View Results: Differences (added, removed, changed, type-changed) are displayed in the summary and detail list below.
- Copy Diff: Click 'Copy diff JSON' to export the structured difference data.
Tips & FAQ
Local & Secure: All comparisons are performed locally in your browser. Your JSON data is never uploaded to any server, ensuring data privacy.
Diff Logic: Uses structured recursive comparison: objects are compared by sorted keys, arrays by index. Supports deep nested structure differentiation.
Diff Types: added (new in right), removed (in left but not right), changed (value modified), type-changed (data type altered).