Text Diff Checker

Original

Changed

Differences

Compare Two Blocks of Text

Paste an original and a changed version of any text — a paragraph, config file, or article draft — and see exactly which lines were added, removed, or left unchanged. The comparison runs line by line entirely in your browser.

Features:

  • Line-level diff: Added lines highlighted in green, removed lines in red.
  • Ignore case option: Treat differently-cased text as identical.
  • Client-side only: Neither text box is ever uploaded.

1. How the Comparison Works

The tool finds the longest sequence of lines the two texts have in common, then marks everything outside that sequence as added or removed — the same underlying idea used by git diff and most version-control tools, applied here to any plain text.

2. Common Uses

Compare two drafts of an article, check what changed between two versions of a config file, verify a find-and-replace did what you expected, or review edits from a collaborator before merging them in.

How does the comparison work? The tool compares the two texts line by line and finds the longest sequence of lines they share, marking everything else as added or removed.
Can I compare text while ignoring letter case? Yes. Enable "Ignore case" before comparing to treat "Hello" and "hello" as the same line.
Is my text uploaded anywhere? No. Both text boxes are compared entirely in your browser using JavaScript.

Works on any plain text — code, prose, config files, or CSV rows.

100% client-side comparison.

Related Tools