Text Diff Checker

Compare two texts, code files, or documents side by side. Highlights every added, removed, and unchanged line — instantly, in your browser.

Paste Your Texts to Compare

Original / Text A
Modified / Text B

What is a Text Diff?

A diff (short for difference) is a way to compare two versions of a text and show exactly what changed. Lines prefixed with were removed, lines with + were added, and unmarked lines are unchanged.

Common Use Cases

This Tool vs. Git Diff

This tool uses the Longest Common Subsequence (LCS) algorithm — the same algorithm used by git diff, diff command-line tool, and most code review tools. It gives a minimal diff, preserving as many unchanged lines as possible.