Practical guide
Using the Text Diff Checker
Compare two text inputs and review line changes.
Example
Input
Before:
color: blue
After:
color: tealExpected result
A line-by-line comparison highlighting the removed and added color declarations.Supported inputs
- Two plain-text inputs for line-by-line comparison.
Limitations
- The comparison is line-oriented; it does not understand programming-language syntax or identify semantic equivalence.
Frequently asked questions
Does the diff compare files?
Paste the contents of two files into the comparison inputs; the tool compares their text.
Why are nearby lines marked as changed?
The comparison works on lines, so edits that split or join lines can appear as removals and additions.