Diff Checker

Paste two texts and see exactly what changed between them, line by line.

How it works

The comparison is done line by line using the longest common subsequence (LCS) algorithm — the same principle behind git diff. Identical lines show in gray, lines removed from the original text show in red (with a "−"), and lines added to the modified text show in green (with a "+").

When to use it

Useful for comparing two versions of a config file, a code snippet before/after an edit, or any text where you need to quickly spot what changed.

Frequently asked questions

Is the comparison done by line or by word?

By whole line — each line is treated as a unit, matching git diff's default behavior.

Is my text sent to any server?

No — the entire comparison happens locally in your browser.