Text Diff Checker
Paste two versions of a text and see exactly what changed, word by word, line by line or character by character, with a similarity score and a copyable diff.
Text Diff Checker
Compare two texts by line, word or character. Side by side or inline, with patch export.
1. Paste or load your texts
2. Options
3. Result
Saved comparisons
Recent comparisons
Saved data
The comparison runs in your browser. Your text is never uploaded, and what you save stays on this device.
Found a Bug or Missing a Feature?
Report any problems or suggest new features you want. You can write in English, Urdu, Hindi, or any language! Our AI will analyze your feedback and upgrade the tool.
About This Tool
Paste two versions of a text and see exactly what changed, word by word, line by line or character by character, with a similarity score and a copyable diff.
Text Diff Checker: Find Exactly What Changed Between Two Versions
Someone sends back "just a few small edits" to a contract, a CV or a config file. Reading both versions side by side with your eyes is slow, and you will miss the one changed number. Paste the two texts above and the checker marks what was added, what was removed and what stayed the same, by line, by word or by single character.
Pick the comparison level that fits the job
Lines is the best start for code, lists, logs and poems. A changed line shows as one removed and one added, and untouched lines are collapsed away. Words suits paragraphs of prose, where changing one word should not light up the whole line. Characters is for short strings: IDs, URLs, serial numbers, a price that went from 1,250 to 1,520. Choosing the wrong level is the main reason diffs look noisy, so if the result is a wall of red and green, try the next level down.
Five situations where it earns its keep
- Contracts and policies. Compare the version you signed off with the one that came back. Word level shows a changed "may" to "shall" or a deadline moved from 14 days to 30 days.
- Essays and articles. Paste your draft and your editor's draft. See their edits without opening a tracked-changes file.
- Config files and code snippets. Line level with 3 lines of context is the classic code review view.
- Translations. After a second pass, check what the translator changed without reading everything twice.
- Data lists. Two exports of customer names or product SKUs, to see what is new. Tick the ignore blank lines box to avoid noise.
Options that quietly save time
Ignore case treats "Report" and "report" as equal. Ignore extra spaces ignores differences in spacing, which matters after text has been copied out of a PDF or an email. Ignore blank lines stops an extra empty line from being flagged. Show changes only hides the unchanged lines and keeps a few lines of context around each change; you choose 1, 3, 5 or 10 lines of context. Previous change and Next change jump between differences, so with a long document you can review the changes one at a time.
Two layouts are available. Side by side puts the original on the left and the changed text on the right, which is the best use of a wide monitor. Inline merges both into one column and is better on a phone.
Reading the result
Green is added text and red is removed text. Beside the colour you also get a plus or minus sign, so the result is still readable if you cannot tell red and green apart. A summary line gives the totals, for example "5 lines added, 4 lines removed, 10 unchanged, 69% similar, 4 change blocks". The similarity percentage is a quick sanity check: 98% similar on a long document means a few small edits, while 40% means a rewrite.
Exporting a patch
The Copy patch and Download .diff buttons create a unified diff, the same format Git uses. A header for each block of changes, written like @@ -3,5 +3,6 @@, says where the change sits in each text. Developers can attach it to a ticket, and tools such as patch understand it. If you only want to share the result, save the comparison and export a backup file from the Saved data box.
Limits you should know about
Each text can be up to 300,000 characters, roughly a 50,000 word book. The screen shows the first 4,000 rows of a very large result and tells you how many were left out, while the patch export still includes every change. For huge files, split them into parts and compare section by section.
Before you compare
Differences that are not real differences are the usual annoyance. Texts copied from different sources may have different capitalisation, trailing spaces or line endings. Try the ignore options first. If one version is a list that was re-sorted, the line diff will show everything as changed; sort both first. And if one file has duplicates the other does not, the duplicate line remover cleans them up before you compare. For titles that changed only in capitalisation, the text case converter can bring both to the same case first.
Privacy
The comparison happens in your browser. Neither text is uploaded, which is important when you compare contracts or private notes. Saved comparisons and recent comparisons stay in local storage on your device, and you can delete them whenever you like.
Frequently asked questions
What is the difference between line, word and character diff?
Line diff flags whole lines that changed, word diff flags individual words, and character diff flags single letters or digits. Pick the finest level that stays readable.
Can it compare two files?
Yes. Use Open file above each box to load a text file, or paste the content. The file must be plain text and within the size limit.
Does it show who made a change?
No. It compares two texts and has no history or author information.
Is my text stored on a server?
No. Everything is processed in your browser.
Can I use the result in Git?
The downloaded patch is in unified diff format, so it can be read by common patch tools.
