Diff Tool
Advanced text comparison tool with side-by-side and unified views, statistics, file upload, and export options.
Text Input
Original Text
Modified Text
Comparison Result
3
original.txt | modified.txt | ||||
|---|---|---|---|---|---|
1 | function greet(name) { | 1 | function greet(name) { | ||
2 | - | console.log( | 2 | + | console.log(`Hello ${name}!`); |
3 | + | return `Welcome, ${name}`; | |||
3 | } | 4 | } | ||
View Options
Side by Side
Statistics
| Similarity | 0% |
| Original Lines | 3 |
| Modified Lines | 4 |
| Added Lines | +1 |
| Removed Lines | -0 |
| Unchanged | 0 |
Diff Guide
View Modes:
• Side by Side: Shows original and modified text in separate columns
• Unified: Shows changes in a single column with +/- indicators
Color Coding:
• Green - Added content
• Red - Removed content
• Gray - Unchanged content