Text Diff

Compare two texts side by side and highlight the differences.

Diff Result

Enter text in both panels to see the diff

What is text diff?

Text diff compares two versions of a document and highlights what changed. It's the same idea as git diff or "track changes" in Word.

Common use cases

Privacy

Everything runs in your browser. Nothing is uploaded.

Frequently Asked Questions

What does this tool do?

Compares two blocks of text and shows which lines were added, removed, or unchanged. Similar to git diff.

How does line-level diff work?

The tool uses an LCS (Longest Common Subsequence) algorithm to find lines that match between the two texts. Non-matching lines are marked as added or removed.

Does it do word-level diff?

Currently line-level only. Word-level diff is planned.

Is there a size limit?

For very large texts (10,000+ lines), the diff may be slow. Typically works well up to a few thousand lines.

Is it free?

Yes, completely free.

Related Tools