Free Text Compare (Diff Checker)
Paste or upload two versions of a text and see exactly what changed, line by line and word by word. It runs in your browser, so your text and files are never uploaded.
Upload works with .txt, .md, .csv, .json, .docx and code files (.html, .css, .js, .ts, .py and more). Up to 5 MB.
Runs on your device. Files and text are never uploaded. Share links keep your text inside the link itself.Paste text or upload a file in both boxes, or try the Sample, to see what changed. Removed text is red, added text is green.
Spot Every Change in Seconds
Reading two versions side by side is slow and easy to get wrong. Paste both and let the highlights show you what moved.
Word-level highlights
Changed words are marked inside the line, not just the whole line.
- Removed text in red
- Added text in green
- Split or unified view
Made for everyday use
Simple controls for the checks people actually do.
- Upload files or drag and drop
- Copy each text, both texts or the diff
- Copy share link
- Ignore case and whitespace
Private by design
No account, no upload, no server copy of your text.
- Runs on your device
- Share links keep text inside the link
- Works on any device
How to compare two texts
Paste or upload both texts
Put the original on the left and the changed version on the right. You can also upload or drop a file on each side.
Read the highlights
Red is removed, green is added. Use Prev and Next to jump between changes.
Adjust the options
Ignore case or whitespace, hide line numbers, or show only the changed lines.
Share the result
Copy a link that opens the same comparison, or copy or download the diff as text.
What each option does
| Option | What it does | Example |
|---|---|---|
| Upload file | Loads a text, code or .docx file into that side | Drag a file onto a box |
| Ignore case | Treats capital and small letters as the same | Apple = apple |
| Ignore whitespace | Ignores extra spaces and indentation | a b = a b |
| Line numbers | Shows or hides the line numbers | Hide them for plain paragraphs |
| Only changes | Hides long runs of unchanged lines | Shows 2 lines around each change |
| Split / Unified | Side by side, or one column with − and + | Unified is easier on a phone |
| Swap | Switches the left and right texts | Original ⇄ Changed |
| Copy options | Copy each text, both texts, the diff, or only added or removed lines | Copy added lines → paste into a doc |
| Copy share link | Copies a link to this exact comparison | Send it instead of screenshots |
| Words and characters | Shows how much longer or shorter the text got | Words 120 → 125 (+5) |
How the diff checker works
The tool first compares the two texts line by line and finds the smallest set of lines to remove and add. Where one line changed into another, it then compares the two lines word by word, so you see which words changed.
The summary counts lines. A line that exists in both texts but was edited is counted as changed. A line only in the changed text is counted as added, and a line only in the original is counted as removed.
More free tools
Frequently Asked Questions
Free, private, runs in your browser.
Is my text uploaded anywhere?
No. Everything is compared in your browser. Open your browser’s network tab while you type and you’ll see no requests carrying your text.
Can I compare Word or PDF files?
Word .docx files, yes: the text is read in your browser and loaded into the box. Old .doc files and PDFs are not supported, so copy the text from them and paste it. Plain text, .md, .csv, .json and code files all work, up to 5 MB.
How does the share link work without a server?
Both texts are packed into the link, after the # sign. Browsers never send that part to a server. Anyone with the link sees the same comparison.
Who can read a shared link?
Anyone who has the link, because the text is inside it. Treat it like sending the text itself.
Why can’t I share a very long text?
Links have a length limit. When the texts are too long, use Copy diff or Download .txt instead.
What is the difference between split and unified view?
Split shows the two texts side by side. Unified shows one column, with − before removed lines and + before added lines. It fits small screens better.
What does Ignore case do?
It treats “Apple” and “apple” as the same, so only real wording changes show up.
What does Ignore whitespace do?
It ignores extra spaces, tabs and indentation, so reformatted text does not show as changed.
How are changed, added and removed lines counted?
By line. An edited line is counted as changed. A line only in the changed text is counted as added, and a line only in the original is counted as removed.
What do the word and character numbers mean?
They compare the whole original and changed texts, so you can see at a glance if the text got longer or shorter, for example +5 words.
Can I compare code?
Yes, it works on any plain text, including code. It is not a Git tool, so it does not know about files or branches.
Will I lose my text if I refresh?
No. Your two texts and options are saved in this browser until you press Clear all.
From the AlloyPress blog
ListicleI Tested 4 Best AI Humanizer Tools (2026) Here’s Which One Performed Best
Looking for the best AI humanizer tool? Discover top 4 AI text humanizers that make AI content sound natural, human-like and more authentic in 2026.
Listicle6 Best AI Blog Writing Tools in 2026 (We Tested Each One)
We tested the most popular AI blog writing tools with the same prompt. Here's which AI blog writer is best for SEO, beginners and teams.
ListicleWe Tested 14+ AI Detectors in 2026: Which 4 Tools Work Best?
Which AI detector really works? We tested Humalingo, GPTZero, ZeroGPT & Winston AI on real AI vs human text. See accuracy, pricing & which one you should pick.
Last updated 2026-11-12 · Built and tested by the AlloyPress team · How we test
