Skip to content

Text diff

Compare two texts and see added and removed lines.

Runs in your browser. Nothing is uploaded.

Paste two texts to compare them.

About Text diff

Paste two versions of some text, code or config to see which lines were added, removed or kept, side by side with line numbers.

Questions

Can it ignore whitespace?
Yes. Turn on “Ignore whitespace” to treat lines that differ only in spaces or indentation as the same.
Is it free? Is my data private?
Yes to both. There is no sign-up and no limit, and everything runs on your device, so your data never reaches our servers.

More tools