Skip to content

Text Diff Checker

Compare two texts side by side with highlighted additions, deletions, and changes.

Runs locally in your browser — nothing is uploaded.

+3 added-2 removed1 unchanged
-The quick brown fox jumps over the lazy dog.
+The quick brown fox leaps over the lazy dog.
-This is the original version of the text.
+This is the modified version of the text.
It has three lines in total.
+A new line was added.

How it works

  1. Step 1Paste original textEnter the original or 'before' text in the left panel.
  2. Step 2Paste modified textEnter the changed or 'after' text in the right panel.
  3. Step 3Review differencesLines are highlighted: green for additions, red for deletions, unchanged lines are neutral.

Frequently asked questions

How are differences shown?

Line-by-line comparison. Added lines are highlighted in green, removed lines in red. Unchanged lines appear without highlighting.

Is this a character-level diff?

No - this is a line-level diff. Each line is compared as a whole. For code, line-level diffs are typically more useful than character-level.

Can I compare code snippets?

Yes. Paste code in both panels. The diff works on any text - prose, code, config files, etc.

Related tools