Free Online Text Compare

Shortcut: Ctrl+Enter

What is a Text Compare Tool?

A text compare tool (also called a diff checker) identifies differences between two pieces of text. It shows you exactly which lines were added, removed, or changed — making it indispensable for comparing code revisions, document versions, configuration files, and more.

Our tool uses the standard LCS (Longest Common Subsequence) algorithm for line-level diffing and a word-level algorithm for inline highlighting within changed lines. All processing happens entirely in your browser — your text is never sent to a server.

How to Use the Text Compare Tool

  1. Paste your original text into the left textarea.
  2. Paste your changed text into the right textarea.
  3. Optionally enable Ignore Case or Ignore Whitespace.
  4. Click Compare Texts (or press Ctrl+Enter).
  5. Use the ↑ Prev / Next ↓ buttons to jump between differences.

Understanding the Results

Red highlight — text that was present in the original but removed or changed.

Green highlight — text that was added or changed in the new version.

No highlight — lines that are identical in both texts.