Text Diff

Paste two versions of a text. See what was added, removed, or changed. Useful for drafts and code.

Text Diff

How it works

We split into lines (or chars), find the longest common subsequence, and mark insertions and deletions. Simple algorithm for short texts.

When to use it

Use for comparing drafts, configs, or any before/after text.

Frequently asked questions

Large files?

Browser-based diff can be slow for very long texts; consider a desktop tool.