Free Online Text Compare
The texts are identical — no differences found.
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
- Paste your original text into the left textarea.
- Paste your changed text into the right textarea.
- Optionally enable Ignore Case or Ignore Whitespace.
- Click Compare Texts (or press Ctrl+Enter).
- 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.