1. Home
  2. Text Tools
  3. Text Diff Checker

Text Diff Checker

Compare two versions of any text or code side by side and instantly see which lines were added, removed or left unchanged.


Runs locally in your browser. Your files and data are never uploaded or stored.

About the Text Diff Checker

The Text Diff Checker compares two blocks of text line by line and highlights exactly what changed. Lines that were removed from the original are shown in red with a minus sign, new lines are shown in green with a plus sign, and unchanged lines stay neutral so you can follow the context.

It uses the longest common subsequence algorithm, the same idea behind tools like Git diff, to find the smallest set of changes between the two versions. Writers use it to compare document drafts, students compare essay revisions, lawyers check contract edits, and developers compare configuration files or code snippets. Options let you ignore whitespace and letter case so only meaningful changes are shown.

How to use the Text Diff Checker

  1. Paste the original text on the left.
  2. Paste the changed version on the right.
  3. Click Compare, optionally ignoring whitespace or case.
  4. Review the highlighted added and removed lines below.

Frequently asked questions

Is my text sent anywhere for comparison?

No. The comparison algorithm runs entirely in your browser, which makes it safe for confidential documents.

Does it compare words or lines?

It compares line by line. A line with any change appears as one removed line and one added line.

How large can the texts be?

Up to roughly two thousand lines per side works smoothly in the browser.