Text Compare
Paste the original and the changed text to see every difference highlighted, line by line or word by word.
Differences
Key facts
- Privacy
- Runs in your browser: your files and text are never uploaded
How to compare two texts
Paste the original version on the left and the changed version on the right. Removed lines are shown in red with a minus sign, added lines in green with a plus sign. When a line was edited, the exact words that changed are highlighted inside it.
Use it to check edits to contracts and essays, compare two versions of a config file, or spot what changed between drafts.
Frequently asked questions
How does the comparison work?
It finds the longest sequence of lines (or words) the two texts share, then marks everything else as added or removed. This is the same method developers use to compare versions of code.
Should I compare by line or by word?
Use lines for code, lists and long documents. Use words for edited paragraphs where only a few words changed inside a sentence.
Can it ignore differences in spacing or capitals?
Yes. Turn on “Ignore case” or “Ignore extra spaces” to hide differences you don’t care about.
How do I compare two Word documents?
In Microsoft Word, open Review > Compare > Compare, then choose the original and revised documents. For plain text or copied paragraphs, paste both versions here for a quicker side-by-side view.
Is the text I compare uploaded?
No. The comparison runs in your browser, so contracts, essays and code you paste never leave your device.
Related tools
- Case ConverterUPPERCASE, lowercase, Title Case, Sentence case
- Remove Duplicate LinesClean lists and keep unique lines
- URL Slug GeneratorTurn titles into clean, SEO-friendly slugs
- Sort LinesAlphabetical, numeric, length or random order
- Find and ReplaceBulk replace text, with optional regex
- Markdown PreviewLive preview and export to HTML
- Morse Code TranslatorText to Morse code and back, with sound and light
- Typing TestCheck your typing speed in WPM and accuracy