What is Text Diff?
Text Diff compares two text inputs and highlights the differences line by line. It shows additions, deletions, and modifications with color-coded highlighting. Perfect for comparing code versions, documents, or any text content.
Common Use Cases
Code Review
Compare code versions to see what changed between commits.
Document Comparison
Find differences between document versions or drafts.
Config Changes
Compare configuration files to identify changes.
Merge Conflicts
Understand differences when resolving merge conflicts.
How to Use This Tool
- Paste the original text in the left panel
- Paste the modified text in the right panel
- View highlighted differences automatically
- Toggle between inline and side-by-side views
Frequently Asked Questions
What colors indicate what?
Green indicates additions, red indicates deletions, and yellow may indicate modifications within a line.
Can I compare files?
Paste file contents into the text areas. Direct file upload may be added in a future update.
Is whitespace considered?
By default, yes. Some tools offer options to ignore whitespace differences.