How to compare two JSON files online
Find exactly which keys and values changed between two JSON documents, even when the formatting or key order is different.
2 min read
NOTHING UPLOADED · RUNS LOCALLY · FREE TO USE
About JSON comparison
JSON often arrives minified or with keys in a different order, which makes a plain line comparison noisy. Format both sides, optionally sort the keys, and the real changes stand out.
Minified JSON is one long line. Use Format to pretty-print both sides so each value gets its own line.
Two objects with the same keys in a different order are equal in JSON. Sort keys removes that false noise.
If a side is not valid JSON you will see a warning, so a missing comma never hides a real change.
JSON guides
Find exactly which keys and values changed between two JSON documents, even when the formatting or key order is different.
2 min read
Features
Two editors scroll together so the line you are reading always faces its counterpart.
Ember marks edits and removals. Ink marks additions. No other colours to learn.
Step forward and back through each change with a count of how many remain.
Switch off whitespace and letter-case differences to focus on what really matters.
A line-by-line list says what happened to each line, such as “Friday” became “Monday” or a number went from 3 to 4. Click any entry to jump straight to it.
How it works
Drop the original on the left and the new version on the right.
Differences are highlighted as you type, line by line.
Review the summary, swap sides or clear the editors and go again.