Skip to main content
Text

Diff

Compare two texts and highlight differences with various comparison modes.

Choose how to compare the texts: word by word, line by line, or character by character
Treat multiple spaces and tabs as single spaces when comparing
Perform case-insensitive text comparison
Enter the original version of the text you want to compare
Enter the modified version of the text you want to compare

Enter text in both fields to see the differences

This area shows the differences between the two texts. Green text indicates additions, red text indicates deletions, and gray text shows unchanged content.
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