Loading diff editor…
JSON Studio
Compare two JSON objects side by side with highlighted insertions and deletions. Paste, import, or load from URL — all in-browser.
100% in-browser · nothing leaves your deviceLoading diff editor…
Find structural and value changes between two JSON documents.
JSON diff compares two JSON texts and highlights what changed — added keys, removed fields, and modified values. Developers use it to review API version upgrades, config drift between environments, and regression tests where two responses should match except for known fields.
Because JSON object key order is not semantically significant, this tool can sort keys recursively on each side before comparing, so reordering alone does not show false differences. Side-by-side highlighting makes additions and deletions easy to spot.
All comparison runs in your browser. Read our guide on comparing JSON API responses for a step-by-step workflow when testing endpoints.
Compare two JSON objects in seconds.
Use Sort A and Sort B to alphabetically sort all object keys before comparing. This eliminates false diffs caused by key reordering, so you only see meaningful changes.
Use Import A and Import B to load .json or .txt files from your device. Both sides can be imported independently.
Click Format A or Format B to pretty-print either side with consistent indentation before comparing, ensuring whitespace differences don't pollute the diff.
Everything this diff tool can do — all processed locally in your browser.
Monaco's inline diff engine highlights every insertion, deletion, and changed line in real time.
Sort A or B independently before comparing — removes false diffs from key-order differences.
Pretty-print A or B to normalise indentation before comparing, so only content changes show.
Load independent .json files into A and B — compare API responses, config files, and more.
Your data never leaves the browser. No server, no uploads, no account required.
Common questions about the JSON Diff tool.