Text Diff Tool
Compare two texts and see the differences highlighted. Perfect for code reviews and document comparison.
Original Text
Modified Text
Comparison Result
Visual Diff
Color-coded changes
Statistics
Added, removed, similarity
Options
Ignore case/whitespace
100% Private
No data stored
What is Text Diff?
A diff (short for difference) is a comparison between two texts that shows what has changed. Lines can be added, removed, or unchanged. Diff tools are essential for code review, document editing, and version control.
Common Use Cases
- Code Review: See what changed between versions of code
- Document Editing: Track changes in contracts, articles, or reports
- Debugging: Compare working vs. broken versions of configuration
- Plagiarism Detection: Find similarities between documents
- Merge Conflicts: Understand conflicting changes
Understanding the Colors
Frequently Asked Questions
What is a text diff?
A diff shows what changed between two texts. Lines are marked as added (green), removed (red), or unchanged.
What does 'ignore whitespace' do?
It ignores differences in spaces/tabs. Lines differing only in whitespace are treated as identical.
What does similarity percentage mean?
The percentage of lines unchanged between texts. 100% = identical, 0% = completely different.
Is my text stored?
No! All comparison happens in your browser. Nothing is sent to any server.