Text Diff (side by side)
About this tool
Compare two text inputs line by line and render the differences in a side-by-side view.
Added lines appear in green, deletions in red, and modified lines in yellow; modified lines are further highlighted at the token level.
Options: ignore whitespace / ignore case. All processing happens entirely in your browser (no data is sent).
Text Diff / Diff viewer
A
B
+ Added
- Deleted
± Changed
= Equal
—
How to use
- Paste text into the left “Input A” and right “Input B” fields.
- Click Run diff to render the results below; line colors indicate added, deleted, or changed lines.
- For modified lines, in-line highlights show added tokens in green and removed tokens in red.
- Enable “Ignore whitespace” and/or “Ignore case” as needed.