DeskGyver

Text Diff Tool

Compare two blocks of text and see exactly what changed. Supports unified, split, and inline word-level diff views.

Frequently Asked Questions

What diff views are available?
Unified view shows all changes in a single column with line numbers. Split view shows old and new text side by side. Inline view highlights individual word-level changes within the text.
How does the diff algorithm work?
The tool uses a Longest Common Subsequence (LCS) algorithm to find lines (or words) shared between both texts. Everything outside the common subsequence is marked as added or removed.
Can I compare code with this tool?
Yes. The tool preserves whitespace and uses monospace font, making it suitable for comparing code, configuration files, JSON, or any structured text.

Related Tools