Text Comparison
Compare two versions of a text to see what was added or removed. Paste the original, then paste the edited version.
Your text stays in your browser and is never uploaded or stored.Paste the original and changed text. The line report and highlighted review update locally as you type. Choose each three-way conflict before downloading merged text.
Review: word highlights; case sensitive; whitespace exact; two-way comparison. Unchanged sections start collapsed. Side panes scroll together. Patches and merges always compare exact LF-normalized text.
Updating the current comparison…
Advanced settings
Import replaces only its named field. UTF-8, at most 1 MiB per file, with a five-second read limit. Invalid files leave existing text in place.
Text stays in this browser. At most 1,000,000 characters across original and changed text, 1,000,000 in the ancestor, 2 MiB UTF-8 total, four million cells per comparison, twelve million total cells, 16 MiB complete report and eight seconds of processing. Oversized work is refused in full. Imported files are read locally. Patches use normalized LF; keep source backups before applying them.
How to compare text and review each change
Paste Original text and Changed text. The complete line report retains plus and minus markers. The paired review adds word highlighting, counts and navigation. Advanced settings offers character highlighting, matching options, file import, unchanged-section collapse, synchronized scrolling and three-way review. Closing settings keeps every value.
Copy result and the text download contain the original complete line report. The JSON report contains every source, review block, move hint and exact patch. The display pages forty blocks at a time; downloads remain complete. Clear and Undo restore the input texts while keeping settings.
Example: compare words, then resolve a conflict
Compare “Buy red apples” with “Buy green apples” to highlight the changed words. Switch to Characters to examine a smaller edit; emoji and combining characters stay together. Ignore case or whitespace only affects highlighting and review counts. The original line report and unified patch still include exact changes.
For three-way review, supply the common ancestor and both edited versions. Independent ancestor-relative edits combine automatically. Overlapping edits and shared edit boundaries require an explicit Original, Changed, Ancestor or custom replacement choice. An empty custom replacement deletes that conflict. Read the complete merged text before downloading it.
About patches, moves and local text limits
Text and UTF-8 file contents stay in this browser. Imports accept at most 1 MiB and stop after five seconds; binary/NUL and invalid UTF-8 files are refused. Comparison work stops after eight seconds and refuses oversized output rather than truncating it. Character detail uses whole graphemes; word boundaries use the browser’s English Intl.Segmenter.
Move hints identify only unique identical complete removed and inserted blocks of at least two lines or forty UTF-16 units. Duplicate or edited blocks may remain ordinary additions/removals. These hints never resolve a conflict. The merge is a conservative line-based review, with no semantic or Git-equivalence claim.
The unified patch uses a complete-file hunk, fixed text.txt paths, normalized LF line endings and missing-final-newline markers. It includes differences hidden by matching options. Keep backups and review a patch before applying it. See GNU unified format and merging from a common ancestor.
Stars and feedback
Loading…
What could we improve in Text comparison?
Email us feedback@tooltulip.com
Tool reference #125