Side-by-Side Data Comparison
Paste two versions of your JSON, XML, YAML, or CSV data and instantly see what changed — additions, deletions, and unchanged lines, all highlighted clearly.
Instant Diff
Line-by-line differences highlighted in green and red as you type.
100% Private
All comparison runs in your browser. Nothing is sent anywhere.
Copy Output
Copy either panel or the full diff result with one click.
Format Aware
Normalise JSON/XML/YAML before comparing to ignore formatting noise.
How the Compare Tool Works
Step 1 — Choose Format
Select the data format (JSON, XML, YAML, CSV, or plain text) using the format tabs above the editor. Enabling "Normalise format" will pretty-print both sides before comparing so structural differences don't appear as noise.
Step 2 — Paste Your Data
Paste the original version in the left panel (A) and the modified version in the right panel (B). The comparison updates live as you type.
Step 3 — Review the Diff
Lines added in B are highlighted in green. Lines removed from A are shown in red. Unchanged lines appear in grey.
Step 4 — Export
Use the Copy Diff button to copy the diff to your clipboard, or Download to save it as a .diff file for documentation or code review.