Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Compare text (diff)

Compare two texts or files side by side or inline, by line, word or character, with changes highlighted and a downloadable patch.

Runs in your browserNothing uploadedWorks offline
Loading Compare text (diff)Runs on this device. Nothing is uploaded.

Questions

Should I compare by line, word or character?

Line works best for code, lists and long documents. Word is best for prose, where one edited word should not mark a whole paragraph. Character shows the tiniest edits, such as a changed digit or a missing comma.

What is in the downloaded patch?

A unified diff of the two texts by line, the format git and patch use, with three lines of context around each change.

Are my files uploaded to compare them?

No. Both texts are compared by a script running in your browser, using the open source jsdiff library.

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.