Text Diff Checker
Compare two texts and highlight differences
How to Use
- Paste or type the original text in the left panel
- Paste or type the modified text in the right panel
- Differences are highlighted automatically: green for additions, red for deletions
- Toggle between unified and split view
FAQ
How does the diff algorithm work?
The tool uses a line-by-line comparison algorithm. Added lines are shown in green, deleted lines in red. The algorithm finds the longest common subsequence to minimize the number of changes shown.
What is the difference between unified and split view?
Unified view shows all changes in a single column with + and - prefixes. Split view shows the original and modified text side by side, making it easier to compare large texts.
Is there a character limit?
There is no hard limit. Processing happens in your browser, so very large texts (over 100,000 lines) may take a moment to process.