JSON Diff
Pretty-print two JSON documents and diff them line-by-line. Differences are highlighted side-by-side.
100% in your browser. Files never uploaded.
Left JSON
Right JSON
+ 2− 16 total lines
Left
Right
1{
1{
2 "name": "alice",
2 "name": "alice",
3 "age": 30
·
·
3 "age": 31,
·
4 "city": "Doha"
4}
5}
How to use
- 1Paste both versionsEach pane validates as JSON.
- 2Read the side-by-sideBoth inputs are pretty-printed and diffed line-by-line.
FAQ
How is this different from Text Diff?
JSON Diff parses and pretty-prints both sides first, so reformatting differences (whitespace, key order in arrays) don't show up as noise.