Loading JSON workspace...
JSON Diff
Put two API responses or config files side by side and see which paths were added, removed or changed. Key order and indentation are ignored, so a reformatted document is not reported as different. Both editors stay in tree view, and the previous and next controls open a collapsed parent before scrolling to the change.
How to use
- Paste the original JSON into the left editor, or open a local file.
- Paste the updated JSON into the right editor. The difference count appears as soon as both sides parse.
- Use previous and next to walk the highlighted paths. If one side is invalid, the last highlights stay and the status line names the line and column.
FAQ
- Why is a reordered object not a difference?
- Object keys are a set. The comparison matches keys by name, so only missing keys, extra keys and changed values are listed.
- How are arrays compared?
- Array items are aligned by position. A longer array shows the extra indexes as added or removed, and items are not matched by similarity.
- What if one side is not valid JSON?
- The page shows the parser message and keeps both documents. Highlights from the last successful comparison remain until both sides parse again.
- Does the right-hand document stay after a refresh?
- Yes. The right editor is stored in this browser separately from the shared left editor. Clear removes both copies.