Developer Tool
Text Diff / Compare
Compare two blocks of text, code, or config files side-by-side. Additions are highlighted green, removals red. Everything runs in your browser.
Examples:
Original
Modified
Paste text in both areas above to see the diff
How to use this tool
- 1
Paste your two versions
Paste the original text in the left panel (Original) and the modified text in the right panel (Modified). Or click an example to load a pre-built comparison.
- 2
Review the diff
Lines added in the modified version are highlighted green (+). Lines removed from the original are highlighted red (-). Unchanged lines are shown without colour.
- 3
Switch views or copy
Toggle between Split (side-by-side) and Unified (single column) view. In unified view, click Copy to copy the diff as a standard unified-diff format.