ToolBrivo

Press slash to focus search.

Text

Text compare

Show lines that were added, removed, or left unchanged.

The two boxes are split into lines the same way: CR, LF, and CRLF are separators, not part of the line. The page then shows unchanged, removed, and added lines. Removed lines are only in the original. Added lines are only in the changed text. The comparison is textual. Angle brackets are shown as characters, not as HTML.

Up to 100,000 characters.

Up to 100,000 characters.

Lines are compared after CR and LF are treated the same. Each side can hold 100,000 characters. The text is shown as text, not as HTML.

Paste two texts to see the line differences.

How to use it

  1. Paste the original text and the changed text.
  2. Read the highlighted lines and the counts.
  3. Copy the differences or download text-diff.txt. Reset clears both boxes.

Examples

One changed line

Original lines a, b, c compared with a, c, d leave a and c unchanged, mark b removed, and mark d added.

Limits

  • Each side stops at 100,000 characters and 2,000 lines so the comparison stays responsive.
  • The diff is line by line. A change inside a line makes the whole line removed and the new line added.
  • Line endings are normalized, so a CR versus an LF is not reported as a change.
  • This is a reading aid. It is not a version-control history.

Privacy

Both texts stay in this browser. They are not sent to a server and they are not written to local storage.

Questions