Text Diff Checker

Paste two texts and instantly see what changed — added, removed, or modified.

Original
Modified

How to Use Text Diff Checker

1

Paste Original Text

Paste or type the original version of your text in the left panel.

2

Paste Modified Text

Paste the new or modified version in the right panel. Differences appear instantly.

3

Choose Diff Mode

Switch between Line, Word, or Character mode for different levels of detail.

4

Review and Copy

Green = added, Red = removed, Yellow = changed. Copy the diff report with one click.

Frequently Asked Questions

Green highlights show content added in the Modified text. Red shows content removed from the Original. Yellow shows lines that are present in both but have been changed.

Line mode compares full lines — best for code and structured text. Word mode shows which individual words changed — best for documents and articles. Character mode shows every single character that differs — best for finding subtle typos.

No. The diff algorithm runs entirely in your browser using JavaScript. Your text never leaves your device, making this tool safe for confidential documents.

Yes — paste any code into the panels. Line mode works best for code since it respects indentation and line structure. The monospace font makes it easy to spot changes.

It uses the Longest Common Subsequence (LCS) algorithm — the same core algorithm used by git diff, GNU diff, and most professional diff tools.

Related Text Tools