Find and Replace Text
Search and replace plain strings, whole words, or RegEx patterns with live match counts.
Open ToolCompare two texts side-by-side with highlighted additions, deletions, and unchanged lines.
Each output panel above updates locally in real time as your text changes. Here is what every metric or transformation produced by Text Diff Checker represents:
A Text Diff Checker is a visual comparison utility that aligns an original baseline text against a modified revision and highlights every insertion, deletion, and untouched segment.
From checking legal contract edits and verifying editorial rewrites to spotting altered config lines in JSON or Nginx templates, visual diffing eliminates error-prone manual proofreading across long passages.
The comparison engine builds an exact Longest Common Subsequence (LCS) dynamic programming table (`Int32Array`) over tokens extracted according to your chosen granularity (`Line by Line`, `Word by Word`, or `Character by Character`). Line breaks normalize consistently across Windows (`\r\n`) and Unix (`\n`) formats.
When `Ignore case` or `Ignore extra whitespace` filters are enabled, comparison keys normalize transparently during alignment while displaying your authentic text inside the diff viewer. Above 2,500,000 matrix cells (`m * n`), an automatic heuristic fallback kicks in to keep your browser tab fast and responsive.
Uses optimal Longest Common Subsequence traceback to align matching anchors before emitting removals ahead of insertions.
Character mode iterates grapheme clusters via `Intl.Segmenter` so complex emojis and accented letters align cleanly as single perceived characters.
| Granularity Mode | Token Unit | Best Use Case |
|---|---|---|
| Line by Line | Full lines | Code files, CSV lists, config blocks, log dumps |
| Word by Word | Words & whitespace runs | Article rewrites, contract clauses, copyediting |
| Character by Character | Grapheme clusters | URLs, single-letter typos, short technical tokens |
Explore Next: Find and Replace Text to apply bulk fixes after spotting differences • Remove Duplicate Lines to clean repeated lines between merged lists • Browse all 30 text tools
Input: Original: Invoices are due within Net 30 days.
Modified: Invoices are due within Net 15 days.
Output / Insight: In Word by Word mode, isolates "-30" removed and "+15" added without obscuring untouched contract wording.
Input: Two multi-line lists differing only in trailing spacing plus one newly added domain.
Output / Insight: Enabling Ignore extra whitespace suppresses noise from spacing edits so only the new domain stands out.
In essays, altering one word changes an entire paragraph under Line mode. Word by Word mode pinpoints solely the changed words while keeping surrounding copy untouched.
No. Dynamic programming alignment executes exclusively in browser memory and never touches an external API.
An exact LCS matrix scales quadratically (`1600 * 1600 = 2.56M` cells). Switching to Line by Line or Word by Word keeps full-accuracy comparison well within memory limits.
Swap Sides simply trades the left and right textarea values—clicking it again swaps them straight back.
Search and replace plain strings, whole words, or RegEx patterns with live match counts.
Open ToolSanitize copied text: strip HTML, smart quotes, URLs, emails, emojis, and extra whitespace.
Open ToolCount words, unique words, characters, sentences, paragraphs, and reading time in real time.
Open ToolDeduplicate lists, keywords, or logs while keeping first or last occurrences cleanly.
Open Tool