Compare JSON online
Free structural JSON diff. Paste two payloads—see added, removed, and changed paths. Object key order does not matter. The compare stays in your browser.
Tool
Structural compare: object key order does not matter; array items are matched by index.
Paste two JSON documents—the compare updates automatically.
Need usernames from an Instagram export instead? Use the list compare tool and upload following/followers JSON there. For ordered wording changes, use text compare.
Loading JSON compare…
How it works
- Paste or upload JSON A and JSON B—or try Example. The compare updates as you type.
- Beautify messy paste if you want readable indentation; Swap A/B if needed.
- Filter by change type or path, then use Prev/Next to jump between differences.
- Copy stats or the path report for a ticket or changelog.
Good for
- API responses from staging vs production.
- Config and fixture files that reformatted key order.
- Spotting type changes (number vs string) that text diffs bury.
- Private payloads—no account, no upload for the compare step.
Quick answers
Does key order matter? No for objects. Array order still matters.
JSON vs text? Use this page for structure. Use text compare when exact line formatting matters.
Instagram following.json? Upload it on the list tool to extract usernames—not here.
Invalid JSON? Fix the parse error under that side before comparing.
What is JSON compare on ListDiff?
This tool is a free JSON compare / JSON diff that understands structure: it walks objects and arrays and reports path-level changes instead of treating every reformatted line as different.
It sits beside list compare and text compare. Choose the mode that matches your question so you do not mix membership gaps with structural edits.
Added / removed
New keys or array slots on one side, gone on the other—shown with a clear path.
Changed values
Same path, different value—plus type changes when the kind of data itself shifted.
Beautify / minify
Tidy messy paste or compress to one line before you compare.
When this tool helps
- Two API responses that should match except for a few fields.
- Configs that pretty-printed differently but should be the same object.
- You need a path list of changes—not a full merge editor.
Related tools
FAQ
How do I compare two JSON files online?
Paste or upload both sides above, click Compare JSON, then read the path report.
Does object key order count as a difference?
No. Reordered object keys match. Array order is still compared by index.
Can I compare Instagram following JSON as a list?
Use the Instagram list workflow on the main list tool—this page is structural compare only.
Does my JSON leave the browser?
No for the compare step. See Privacy and Is ListDiff safe?.