Text Diff

Compare two texts and see every change.

Options

Runs on your device. Nothing to upload.

Questions

How does the comparison work?

It uses the Myers difference algorithm, the same approach as git diff, to find the smallest set of line changes. Lines that were edited rather than added or removed are paired and compared word by word.

What do the options do?

“Ignore case” treats “Hello” and “hello” as equal. “Ignore whitespace” ignores extra spaces and indentation, useful for code that was reformatted. “Only changes” hides the lines that are the same in both.

Can I compare code or large files?

Yes. Paste them in; texts with tens of thousands of lines work. The texts never leave your browser, which matters for private documents and source code.

Is it free? Do I need an account?

It is free to use and there is nothing to sign up for. There are no watermarks and no daily limits.

Missing something, or not working as it should? Tell us