TheOmniTool logoTheOmniTool
Text

Text Compare

Compare two texts and highlight the differences.

+2 added · -1 removed

the quick brown fox
-jumps over
+leaps over
the lazy dog
+and runs away

About Text Compare

Compare two blocks of text side by side and highlight exactly what changed between them. Paste an original and a revised version to instantly see added, removed, and modified lines, which makes it easy to review edits, spot accidental changes, check contract revisions, or diff two versions of code or configuration. Reading through long passages by eye is slow and error-prone, while a visual diff surfaces every difference at a glance. The comparison is performed locally in your browser, so the text you paste is never uploaded or stored, keeping private documents and code safe while you review them.

How to use this tool

  1. 1Paste the original text into the left box.
  2. 2Paste the changed text into the right box.
  3. 3Differences are highlighted line by line: green for added, red for removed.

Frequently asked questions

How are differences detected?

The tool compares the two texts line by line using a longest-common-subsequence diff, the same approach used by version control systems.

Is my text private?

Yes. The comparison runs entirely in your browser and nothing is sent to a server.

Related tools