Text diff checker
Paste two versions of a text and see exactly what was added, removed or changed, line by line or word by word.
How to use the text diff checker
- Paste the original text on the left and the changed text on the right, or open two .txt files.
- Choose to compare by lines, words or characters, and side by side or inline.
- Added text is green and removed text is red. Turn on Show only changes for long texts, or download the changes as a .diff file.
Frequently asked questions
Is my text uploaded?
No. The comparison happens in your browser, so private documents and code stay on your device.
What do the colors mean?
Red is text that is only in the original (removed). Green is text that is only in the changed version (added). In changed lines, the exact words that differ are marked.
Which mode should I use?
Lines is best for code, lists and long documents. Words is best for edited paragraphs. Characters finds tiny changes such as a missing comma or a swapped letter.
What is a .diff file?
The standard format used by Git and the patch command. It lists the changed lines with a few lines of context around them.
Related tools
Word counterCount words, characters, sentences and paragraphs as you type.Case converterChange text to Sentence case, lower case, UPPER CASE, Title Case, camelCase, snake_case and more.Text cleanerTidy messy text in one step: extra spaces, empty lines, ALL CAPS sentences, broken lines from PDFs and hidden characters.Remove duplicate linesDelete repeated lines from a list, or show only the lines that repeat.
Everything runs in your browser. Your files and text are never uploaded.