Compare two blocks of text, code, CSV, or JSON side by side. See additions, deletions, and unchanged lines instantly. 100% client-side.
Paste text into both panels and click Compare to see the diff.
Paste your original text into the left panel and the modified version into the right panel, or upload files directly. Click the Compare button to generate a visual diff.
The tool highlights added lines in green and removed lines in red. Unchanged lines appear without color. Use the Side-by-Side view to see both versions aligned next to each other, or switch to Unified view for a compact single-column diff similar to git diff output.
Toggle Ignore Whitespace to skip differences caused by spacing or indentation. Toggle Ignore Case to treat uppercase and lowercase letters as equal. Use Swap to exchange the two panels, and Copy Diff to copy the result in a shareable unified diff format.