Text Diff & Compare Tool Online

Free online text diff tool. Compare two texts side by side and highlight the differences line by line.

Text A (Original)
Text B (Modified)
Diff Result
💡 What is this

Text Diff

  • Compares two blocks of text line by line, highlighting added, removed, and unchanged lines with color coding — green for additions, red for removals.
📖 How to use

Step by Step

  • Paste original text in the left panel
  • Paste modified text in the right panel
  • Click Compare to see the differences
  • Green = added, Red = removed, Grey = same
🎯 Use cases

When to use

  • Comparing config file versions
  • Reviewing text changes before publishing
  • Spotting differences in code snippets
  • Checking translation changes

Frequently Asked Questions

Is this a character-level or line-level diff?
This tool performs a line-level diff. Each line is compared as a whole unit. For character-level diffs, consider a dedicated code diff tool.