Text Diff
Text Diff
Compare text blocks side by side and inspect additions or removals.
Live
Live update on input changes.
File input
Choose a file
Click, drop, or paste from clipboard.
More actions
Copy result exports current diff payload. Copy report details includes metadata for audits and handoff.
Workspace status
Waiting for diff rows. Edit input and run compare, or keep auto-update on.
Self-check score (heuristic): 64/100 • Needs review
Performance: 0 ms compare • live debounce 320 ms.
Text diff rows
0rows
Preview first 300 rows below. Mobile view uses stacked diff cards for readability.
| Change | Left | Right |
|---|
Your input is processed locally in your browser whenever possible. We do not store your data.
Flow
- Split left and right text into line arrays.
- Compute longest common subsequence matrix.
- Classify each line as added, removed, or unchanged.
Example
Worked example: one line changed
- 1 Left text has line two as original.
- 2 Right text updates line two content.
- 3 Diff table marks removed and added rows around unchanged lines.
Changed lines are clearly visible in comparison output.
How
- Paste original text in left panel and updated text in right panel.
- Run compare to generate diff table.
- Inspect row types and counts for change review.
Cases
- Check generated copy changes before publishing.
- Review config file edits from teammates.
- Verify migration scripts line-level differences.
Avoid
- Expecting character-level diff while tool compares by line.
- Comparing files with mixed line endings without normalization.
- Ignoring whitespace-only changes when they matter in code.
FAQ
Does this compare by character or by line?
This tool compares line by line for readability and speed.
Can I diff large text blobs?
Yes, but very large inputs may be truncated in the display table for performance.
Is text comparison uploaded to servers?
No, diff computation is done locally in your browser.
Switch
Switch12
No match.