Compare two pieces of text or source code side by side and highlight changed, added, and removed lines.
Privacy note: this tool saves drafts and the latest comparison result temporarily in your browser's localStorage only, so users can recover work if they leave accidentally. Saved data expires after 7 days or when the user clicks Clear. The comparison runs in the browser and does not need to send the pasted text to WordCounter.net.
Paste text or code into both boxes, then click Find Difference.
Compare Text is a free online tool for finding differences between two versions of text, documents, or source code. It highlights changed lines, added lines, removed lines, and character-level changes inside modified lines.
Because the comparison happens in the browser, it is fast for typical writing and code snippets and avoids storing user text on the server. Draft text and the latest comparison result are kept temporarily in the user's own browser localStorage so accidental navigation does not immediately erase the work.
Sign In
Auto Save
We'll save whatever you're working on automatically and even store multiple versions so you can access it in case your browser crashes or you accidentally close your browser.
Writing Goals
Setup writing goals you want to work toward and even embed them in your blog or website.
20% OFF Grammarly Pro
Enable unlimited checks for plagiarism and writing issues. Connects seamlessly with your free WordCounter account.
Login with your site account:
Create a site account: