The quick answer
Paste the original and the changed text and the checker highlights every difference word by word: additions and deletions marked inline or side by side, with live +/− counts — 2 words added, 3 removed. It runs entirely in your browser, so contracts and drafts never upload.
Word-level diffing, and what that means
The Text Diff Checker compares two texts and shows exactly what changed between them, at word granularity: paste the original in one box and the revision in the other, and every inserted or deleted word is highlighted — inline, with additions and deletions marked where they fall, or side by side. The header counts both directions live (+N added, −N removed). The comparison runs entirely in your browser, which matters more here than for most tools, because the texts people diff are contracts, drafts and policies.
In practice you use it like any instant tool: you enter your input and the result appears immediately. Results update live, so there is no “calculate” button waiting to be pressed and no page reload between input and answer. When you are done, close the tab and everything you entered is gone.
The Text Diff Checker belongs to our text tools & counters collection, and it pairs naturally with the JSON Diff Checker and Word Counter — tools built to chain together in real workflows rather than live as isolated one-offs.
How to compare two texts, step by step
Minimal is not the same as arbitrary: the Text Diff Checker has an order of operations that reaches a trustworthy result fastest. Follow these six steps.
Load an example or paste your own data
The Load example button fills the input with a realistic sample; otherwise paste your own. The tool works live: you enter your input and the result appears immediately.
Choose your options
Mode buttons and controls switch the transformation's behavior — direction, convention or parameters. The output re-renders instantly with each change.
Review the output panel
The result panel updates live and reports what changed — counts, notes and status messages confirm the operation behaved as expected rather than silently doing nothing.
Copy, download or continue
Copy puts the result on your clipboard; Download writes it as a file; and where chaining makes sense, "Use as input" pipes the output straight back for the next transformation.
Verify with the worked example
The methodology section below shows exactly what the tool computes, with a real worked example — the fastest way to confirm your understanding matches the tool's behavior.
Clear when done
Clear wipes the input instantly. Because processing is local, there is no history, no server copy and no residue — privacy by architecture.
That is the entire workflow. Because every intermediate result is visible and the text diff documents its own method below, you never have to trust a black box — you can check the working at any point.
How the diff is computed — longest common subsequence
The engine tokenizes both texts on whitespace, then computes their longest common subsequence (LCS) — the longest sequence of tokens that appears, in order, in both versions. Everything in the original that is not part of that shared backbone is marked as removed; everything in the revision that is not part of it is marked as added. This is the same family of algorithm behind every serious diff tool since the 1970s, applied to words instead of lines.
A worked diff you can check by hand
Original: "The quick brown fox jumps over the lazy dog." Revised: "The quick red fox leaps over the lazy dog." The diff marks brown→red and jumps→leaps: 2 words removed, 2 words added, 7 words untouched — and the sentence reads through with the changes visible exactly where they fall. That is the whole output format: unchanged words plain, deletions struck, insertions highlighted, counts on top.
Because the examples are engine output, they police the engine: drift between Text Diff Checker's code and this page cannot happen quietly.
Who actually compares texts
There are jobs where the Text Diff Checker justifies its bookmark. Here are the five professions that use it most — and exactly how.
Copyeditors and writers — "what did you change?" is the eternal question between draft 3 and draft 4. A word-level diff answers it precisely: 6 words changed out of 2,400, visible in place, without paging through two open documents side by side in separate windows.
Support and operations teams — policy texts, terms of service and canned replies get quietly revised, and the revision email says "minor updates." Pasting before and after here shows the 11 words that actually moved, which is the difference between informed consent and surprise.
Community moderators and teachers — rule text edits between versions, and a student's "revised" submission against the original. Both questions are the same one — what, exactly, changed? — and both deserve an answer more precise than "it looks about the same."
Every story above ends before the software would have finished installing — which is the point. Text Diff Checker optimises for the answer, not the relationship.
What the tool promises, row by row
The table summarizes what the text diff promises and how it behaves — the same commitments every tool on this site keeps.
| Aspect | This tool |
|---|---|
| Processing | 100% client-side (JavaScript in your browser) |
| Signup required | No — no account, no email, no cookies for consent-free use |
| Data uploaded | Never — inputs stay on your device by architecture |
| Speed | Instant, live recomputation on every keystroke |
| Mobile support | Full — touch-optimized, responsive layout |
| Offline use | Works after first load (except live-data tools, which say so) |
| Cost | Free, funded by clearly-labelled advertising away from controls |
| Documentation | Full methodology, worked examples and FAQ on this page |
Consider the table a receipt rather than a wish list: every text diff capability listed is present in Text Diff Checker and reproducible on the spot.
Where word-level diffing surprises you
Word-level and line-level are different instruments, and knowing which one you are holding prevents most confusion. A line-level diff (the unified diff of code review) marks entire lines as changed when a single word inside them moves; a word-level diff pinpoints the word but does not understand line structure, so a reflowed paragraph with identical words can show as delete-plus-add across a wide span. The surprises below are all consequences of that choice.
- Whitespace runs are tokens too — a doubled space between unchanged words can register as a change; normalize whitespace first when only spacing differs.
- Moved text reports as delete-plus-add — the LCS backbone marks a relocated sentence as removed from one position and added at another, because "moved" is not a concept a sequence diff knows.
- Very large inputs degrade — past 4,000 tokens per side the engine stops computing a word-level diff and shows the full texts instead; split long documents before comparing.
None of these are errors — they are documented consequences of choosing word granularity. The flip side is the payoff: in prose, where one word can change a liability clause, word-level is the only resolution worth reading.
Both drafts stay in your browser — Wi-Fi off works
The comparison works with your Wi-Fi off, because the LCS runs in the page itself. The two texts people most often need diffed — a draft and its revision, a contract and its amendment — are exactly the texts that should never be pasted into someone else's server. Here they never are.
Command-line diff, word processors, or this page
There is always another tool that could do this job. This comparison shows what the Text Diff Checker trades and what it refuses to trade away.
| Alternative | Why people pick Text Diff Checker instead |
|---|---|
| diff / git diff | The command-line classic, line-level by default — superb for code, noisy for prose, and requires a terminal plus flag fluency. This page is word-level and zero-setup. |
| Word's compare documents | Word's tracked-changes comparison is genuinely good — when both texts are .docx, when you own Word, and when you want a review UI rather than an answer. For two clipboard pastes, this is faster. |
| Upload-based diff sites | Server-side diff sites ship your contract drafts to a third party before returning highlights. The LCS here runs in the tab, so nothing you compare ever leaves the machine. |
The concession: for repository work and merge conflicts, use the real tool — git diff is unbeatable at what it was built for. For the two paragraphs of prose in front of you, word-level in a browser tab is the right instrument, and it costs nothing to try.
When the diff looks wrong, check these
Five small habits turn a one-off tool into part of a routine. These tips are the accumulated playbook for the text diff specifically.
- Bookmark the text diff page — repeat users save real time when the tool is one keystroke away, and the page loads instantly from cache on return visits.
- Load the example first on any unfamiliar tool: a known input with a known output validates your understanding in ten seconds before you trust it with real data.
- Chain tools when a workflow needs more than one step — the related-tools links below are ordered by what people typically combine, and outputs copy cleanly between them.
When something behaves unexpectedly, the causes are almost always one of these:
- Everything shows as changed — the two texts differ in whitespace or line endings more than in words; run both through the whitespace cleaner and compare again.
- A single edit lights up a whole span — a reflow moved words across the token stream; read the marked region rather than assuming each highlight is a separate edit.
And if Text Diff Checker misbehaves on your setup, tell the team through the contact page; fixes for verified bugs usually land within days, not months.
Frequently asked questions
These are the questions people actually search about the text diff, answered directly. If yours is missing, the contact page takes feature and question requests.
Do you store what I enter into the Text Diff Checker?
No. All text diff processing happens on your machine. Your inputs are not transmitted, not logged, not retained — verify it yourself by watching the network tab while you work.
Is this a line-level or a word-level diff?
Word-level. The tool tokenizes both texts on whitespace and marks individual words as added or removed — "brown" changing to "red" shows as a one-word change, not a whole changed line. Line-level diffs (the unified format of code review) are better for source code; for prose, word-level shows the actual editorial change without drowning you in full-line context.
Is the Text Diff Checker free to use?
Yes, completely free. There is no signup, no email gate and no count of how many times you run it. Text Diff Checker runs entirely in your browser, so each extra use costs this site nothing and costs you nothing either. It behaves the same on the first visit and the five-hundredth.
Is there a size limit on the two texts?
Yes: the diff engine compares up to 4,000 tokens per side. Past that, the token-level LCS is skipped and the output degrades to the original text followed by the whole revision marked as added — accurate but useless for spotting changes. For long documents, diff them section by section, or paste the region you suspect changed.
What do the + and − counts in the header mean?
They are live word counts of the changes: +N is the number of words present only in the revised text, −N the number present only in the original. A one-word substitution shows as +1 and −1; a rewritten sentence shows its true weight, which is often the number that matters in review.
Can I use the Text Diff Checker offline?
Mostly — and honestly so. The core text diff functionality of Text Diff Checker is local, so cached pages work offline; anything that must phone home identifies itself on the page and pauses politely without it.
Is what I type into Text Diff Checker sent to a server?
No. Everything Text Diff Checker does happens in your tab: text is processed locally, never sent to a server, and gone for good when the tab closes.
Does the Text Diff Checker work on mobile?
Yes. Text Diff Checker is built mobile-first: touch-friendly controls, a responsive layout, and recomputation as you type. It runs in iOS Safari, Android Chrome and every current desktop browser — no app install required.
Tools that pair well with comparison work
These tools share the Text Diff Checker's workflow most often — the internal links exist because people genuinely chain them, not for keyword decoration.
- JSON Diff Checker — the structured sibling: compares parsed JSON objects rather than prose, for when the payload changed.
- Levenshtein Distance Calculator — the single-number version of similarity: how many single-character edits separate two strings.
- Word Counter — confirm both versions against a length limit after the edits land.
Sources and further reading
The algorithm is named on this page and the worked diff can be verified by eye against two pastes — that is the whole trust model. The references below are where sequence diffing came from, and where the word-level variant sits in that lineage.
When the next text diff task arrives, the surrounding Text Tools & Counters tools hold to the identical standard — documented, testable, and quiet about your data.
Sources and further reading
- McIlroy, Hunt & MacLeod — the original diff algorithm paper(cs.dartmouth.edu)
- Myers — An O(ND) Difference Algorithm and Its Variations(xmailserver.org)
- MDN Web Docs: String.prototype.split() — the tokenization behind the diff(developer.mozilla.org)
- W3C: Authoring accessible plain language(w3.org)
We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.