Text Diff Checker
Compare two texts and see the differences highlighted. Find additions, deletions, and modifications instantly.
How to Use
Paste Original
Enter or paste your original text in the left text area.
Paste Modified
Enter or paste the modified version in the right text area.
Compare
Click "Compare" to see the differences highlighted.
Review Changes
Green shows additions, red shows deletions. Toggle between unified and side-by-side views.
FAQ
What algorithm is used for diff?
This tool uses a line-by-line diff algorithm similar to the Unix diff command. It identifies additions, deletions, and unchanged lines between the two texts.
What do the colors mean?
Green indicates lines added in the modified text. Red indicates lines deleted from the original. White/unchanged lines appear in both texts.
What's the difference between unified and side-by-side view?
Unified shows all changes in a single column with +/- prefixes. Side by side shows original and modified texts in parallel columns for easier comparison.
Is there a size limit?
The tool works best with texts up to 10,000 lines. Larger texts may be slower to process. All processing happens in your browser.