🍋
Menu
🍋 Text Tools

Text Diff

Compare two texts and highlight differences.

Free Browser-only No sign-up Popular
chars words sentences lines

Options

Results

Result

About Text Diff

Compare two blocks of text side by side and see the differences highlighted. Compare by line or by word, with options to ignore case and whitespace.

How It Works

The tool compares texts line-by-line or word-by-word. Lines or words present only in the first text are marked with '- ' (removed), while those only in the second text are marked with '+ ' (added). Unchanged content is shown with a space prefix.

Step by Step

  1. 1 Paste the original text in the first input
  2. 2 Paste the modified text in the second input
  3. 3 Choose line or word comparison mode
  4. 4 Optionally ignore case or whitespace
  5. 5 Click Compare

Tips

  • Line mode is best for code and structured text.
  • Word mode highlights inline changes within paragraphs.
  • Ignore whitespace to focus on content changes only.

Frequently Asked Questions

What do the symbols mean in the output?
'- ' means a line/word was removed (only in original). '+ ' means it was added (only in modified). Lines with just a space prefix are unchanged.