Text Diff

Compare two blocks of text line by line and highlight what changed.

100% in your browser · No uploads
Diff
+2 added2 removed
the quick brown fox
jumps over
the lazy dog
+leaps over
+the lazy cat

What this does

Text Diff compares two blocks of text line by line and highlights what was added, removed, or unchanged. Useful for spotting edits, comparing versions, or reviewing changes.

When to use it

  • Reviewing edits between two drafts of a document
  • Spotting differences between two error logs or configs
  • Comparing two API responses to find what changed
  • Verifying that a copy-paste matches the original exactly

Frequently asked

Does it do word-level diff?

Line-level for now — every line is either added, removed, or unchanged. Word-level highlighting within a line is on the roadmap.

How big a text can it handle?

Tested on files up to ~5,000 lines. Very large files may be slow because the diff is O(n × m).