Text
Diff
Compare two texts and highlight differences with various comparison modes.
Text Diff Guide
The Text Diff tool helps you compare two pieces of text and visualize the differences between them.
Diff Modes:
- Words: Compares text word by word (recommended for most cases)
- Lines: Compares text line by line
- Characters: Compares text character by character
Options:
- Ignore Whitespace: Treats multiple spaces/tabs as single spaces
- Ignore Case: Case-insensitive comparison
Color Coding:
- Green (+): Added text
- Red (-): Removed text
- Gray: Unchanged text
Tip: Use the "Swap" button to quickly switch between original and modified texts. The "Copy Diff" button exports the differences in unified diff format.