G
GoTool

Text Diff

Compare differences between two texts

About Text Diff

Compare two texts and visualize their differences. Supports line-by-line, word-by-word, and character-by-character comparison modes. Perfect for reviewing code changes, comparing documents, or verifying text modifications.

Frequently Asked Questions

What comparison modes are available?

Three modes: line-by-line (best for code), word-by-word (best for prose), and character-by-character (best for finding small changes).

How are differences displayed?

Additions are shown in green and deletions in red, making it easy to spot exactly what changed between the two texts.

Can I compare large texts?

Yes, the diff algorithm runs efficiently in your browser and can handle large texts. All processing is done locally.