BOXUNBAOTools
Simplify everyday tasks.Back to website
ToolboxText Diff

Text Diff

Runs in your browser

Compare SQL, config files, or logs to see line and inline changes.

Original textUpdated text

How to use

Steps

  1. Paste the old content under Original text and the new content under Updated text. Select Ignore trailing spaces and tabs to disregard whitespace at the end of lines.
  2. Select Compare text, then inspect the counts for changed, added, and removed lines, the line numbers, and the highlighted text.
  3. Use Previous change or Next change to cycle through differences. Leave either side blank to review a complete addition or deletion.

Example

On the left, enter status=0. On the right, enter status=1. The result shows one changed line and highlights the numbers on each side.

Tips

  • The tool normalizes line endings. A missing final newline still counts as a difference. The whitespace option skips spaces and tabs only at the ends of lines.
  • Each side supports up to 200,000 characters and 4,000 lines. Very long changed lines are highlighted in full. Split larger inputs into sections.