Text Diff Checker

Compares two blocks of text and highlights added, removed and changed lines.

100% FreeRuns in your browserBasic
Compare by

Differences

Press Compare.

Runs entirely in your browser. Your input is not uploaded or stored.

How the method works

One line replaced → one removal and one addition
Illustrative method
One line replaced → one removal and one additionLeft: original lines a, b, c. Right: changed lines a, x, c. Below, the unified listing marks b as removed with a minus sign and x as added with a plus sign; a and c are unchanged.OriginalChanged asame−bremoved csame asame+xadded csameUnified view asame−bremoved+xadded csame
Original a / b / c versus changed a / x / c: line “b” is removed (−) and line “x” is added (+); “a” and “c” are the same. Result: 1 removed, 1 added. Every change is labelled in text, not only by colour.

Ignore-case and ignore-whitespace comparisons are reports; only an exact line comparison can produce a faithful .diff patch. Fixed example values for illustration — not your result.

Tip: Enter any known values to calculate the remaining results.

Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.