What is Text Diff?
Text Diff highlights insertions and deletions between two text snippets. Useful for spotting subtle changes in config files, prose, or code.
How to use
- Paste the original on the left.
- Paste the new version on the right.
- Differences highlight in green (added) and red (removed).
Example
Use this sample to confirm what Text Diff does before pasting your own data.
A: "The quick brown fox", B: "The quick red fox"
"brown" highlighted red (removed), "red" highlighted green (added).
When to use it
Use Text Diff for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.
Frequently asked questions
Is it line-based or character-based?
Character-based with word grouping for readable output.
Is my text uploaded?
No. The diff runs in your browser.