Text Compare
Compare two texts line by line and see all differences highlighted. Ideal for code reviews, document comparisons, or version control.
Text 1 (Original)
Enter First Text
Text 2 (Modified)
Enter Second Text
How to use
- 1Paste the first text
- 2Paste the second text
- 3See the differences highlighted
Features
- Text Comparison
Compares two texts and shows differences.
- Line-by-Line
Shows added, deleted and changed lines.
- Color Highlighting
Green = added, Red = deleted, Yellow = changed.
- Inline/Split View
Switch between inline and side-by-side view.
FAQ
How does the comparison work?
The algorithm compares line by line and detects additions, deletions and changes.
Can I compare code too?
Yes, the tool works with any text, including program code.
Are whitespaces considered?
Yes, even whitespace differences are detected. You can optionally ignore whitespace.
Related Tools
Note: All processing happens in your browser. Your files are not uploaded to any server.