Text Diff Checker
Compare two texts and highlight differences
Diff Options
Results
About Text Diff Checker
Compare two text inputs and see the differences highlighted in unified diff format. Useful for comparing code versions, configuration files, or any text content.
How It Works
Paste your original text and modified text in the two input areas. The tool uses the Longest Common Subsequence (LCS) algorithm to compute line-level differences and displays them in unified diff format.
Step by Step
- 1 Paste the original text in the first input area
- 2 Paste the modified text in the second input area
- 3 Toggle whitespace handling if needed
- 4 View the unified diff output with +/- indicators
Tips
- Enable 'Ignore whitespace' to focus on content changes
- Lines starting with - are removed, + are added
- Context lines (unchanged) help locate changes
- Works best with line-based content (code, config files)