Text Compare
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free text compare tool that highlights what was added, removed or changed between two versions, line by line or word by word.
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the text compare tool
Paste the original version into the left box and the changed version into the right. The text compare tool highlights the differences instantly: words or lines that were removed are shown in red with a line through them, and words or lines that were added are shown in green. A summary underneath tells you how many words or lines were added and removed.
Choose how to compare:
- Word by word (the default). Best for prose: emails, articles, contracts, product descriptions and essays. You see exactly which words changed within a sentence.
- Line by line. Best for lists, code, data, addresses and anything where each line is a separate item.
Two options help you ignore changes that don't matter:
- Ignore case treats "Bread" and "bread" as the same.
- Ignore extra spaces (on by default) treats differences in spacing as no change, so a double space or a trailing space doesn't show up as an edit.
Both texts stay in your browser. Nothing is uploaded, which matters when you're comparing contract drafts, legal documents or confidential reports.
What a text compare tool is for
When two versions of a document look almost the same, spotting what changed is slow and error-prone by eye. A text compare tool, sometimes called a diff checker, does it precisely. Common uses:
- Contracts and agreements. See what the other side changed in a returned draft before you sign.
- Proposals and quotes. Check that a client's edits haven't changed the scope, price or dates.
- Edits from colleagues or editors. See every change, even when someone forgot to turn on tracked changes.
- AI rewrites. Compare your original with an AI-edited version to see exactly what the AI changed, and whether it kept your facts.
- Website copy. Compare the live text with a new draft before publishing.
- Lists and data. Find which items were added or removed between two exports.
- Code and configuration. Spot a changed setting or line.
- Plagiarism checks between two specific texts. See how much of one text appears in the other.
How the comparison works
The text compare tool uses the longest common subsequence method, the same idea behind standard diff tools. It finds the largest set of words (or lines) that appear in both texts in the same order, and treats everything else as added or removed. This gives the smallest, most readable set of changes.
Word mode
In word mode, each text is split into words and the spaces between them. Changed words are highlighted in place. If the original says "We deliver to offices across Austin before 9:00." and the new version says "before 8:30.", the result shows the whole sentence once, with "9:00." crossed out in red and "8:30." in green next to it, so it's clear that only the time changed. Punctuation attached to a word counts as part of it, so "Austin." and "Austin" are different; that's deliberate, because a removed full stop can change meaning.
Line mode
In line mode, each line is compared as a whole. If one word in a line changes, the whole line is shown as removed (old version) and added (new version). That's ideal for lists, where each line is an item, and for code, where line numbers matter.
What counts as "the same"
With ignore extra spaces on, runs of spaces and tabs are treated as a single space, and spaces at the start and end of lines are ignored. With ignore case on, capitalization doesn't count. The highlighted result always shows your original text as you typed it; the options only change what's considered a difference.
Reading the result
- Green text: added in the changed version.
- Red text with a line through it: removed from the original.
- Plain text: the same in both.
A changed word appears as a removal followed by an addition. A moved paragraph appears as removed in its old place and added in its new place, because the method compares order as well as content.
The summary counts added and removed words (or lines). Spaces aren't counted, so the numbers reflect real edits.
A worked example: a returned quote
You sent a catering quote to a client, and they've sent back "a few small tweaks". You paste your version on the left and theirs on the right, in word mode.
The text compare result shows three changes. "Up to 60 people" became "up to 75 people". "Delivered by 8:30" became "delivered by 8:00". And one sentence was removed entirely: "Prices are valid for 30 days." Nothing else changed.
The first two are reasonable requests, but they change your costs and your morning schedule, so the price may need updating. The third matters most: without that line, the quote has no expiry date. Without a comparison, a quick read-through could easily miss a removed sentence, because your eye fills in what you expect to see. With the text compare tool, you know about all three before you reply.
Comparing lists to find what's new
For lists, line mode answers questions like "which customers are new this month?" or "which products were dropped from the supplier's catalogue?". Paste last month's list on the left and this month's on the right, ideally both sorted. Lines shown in green are new; lines in red have disappeared.
Tips for a cleaner comparison
- Clean both texts the same way first. If one version came from a PDF and the other from Word, line breaks and spacing will differ. Run both through remove line breaks or remove extra spaces before comparing, or use word mode with "Ignore extra spaces".
- Compare like with like. Copy the same section from both documents. Including a different header or footer adds noise.
- Use line mode for lists. Sort both lists first with sort lines alphabetically if order doesn't matter, so only genuinely new or missing items are highlighted.
- Break very long documents into sections. The comparison runs on your own device; very large texts (tens of thousands of lines) are best compared a section at a time, and the tool will tell you if a text is too long.
Comparing documents in other apps
- Microsoft Word: Review, then Compare, then Compare two versions. Word produces a tracked-changes view of the differences, which is useful for formatted documents.
- Google Docs: Tools, then Compare documents. You can also see version history for a single document.
- Code editors and Git: built-in diff views for code and text files.
The online text compare tool is the quickest option when your text is in an email, a web page, a chat message or two different apps, and it works without creating documents or accounts.
Accuracy notes
The comparison is exact: every highlighted change is a real difference between the two texts as you pasted them, given the options you chose. Two things are worth knowing:
- The method finds a minimal set of changes, not the editor's intent. If someone rewrote a sentence completely, you'll see most of it removed and the new version added, not a word-by-word story of the edit.
- Invisible characters are differences too. A non-breaking space or a zero-width character looks identical to a normal space but isn't. If the tool shows a change you can't see, that's usually why; remove extra spaces strips those characters.
Keeping control of what AI changes
AI writing tools are useful for drafts and edits, but you should always know what changed, especially in contracts, prices and facts. A quick text compare after any AI edit is a good habit.
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Frequently asked questions
How do I compare two texts for differences?
Paste the original into the left box and the new version into the right. Added text is highlighted in green and removed text in red, with a count of changes below.
Should I compare word by word or line by line?
Use word by word for sentences and paragraphs, such as emails, contracts and articles. Use line by line for lists, code and data where each line is a separate item.
Can I ignore spaces and capitals?
Yes. "Ignore extra spaces" is on by default, and you can tick "Ignore case" so capitalization differences aren't shown as changes.
Is there a size limit?
The text compare tool handles typical documents of many thousands of words. For extremely long texts it will ask you to compare a section at a time.
Is my text uploaded?
No. The comparison runs in your browser, and neither text is sent anywhere or stored.
Does it work with other languages?
Yes. It compares any text, including accented letters and non-Latin alphabets, word by word or line by line.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.