Text Compare
Paste two versions of a text to see exactly what was added, removed or changed.
Differences
How to read the result
- Green lines with + exist only in the changed text.
- Red lines with − exist only in the original text.
- When a line was edited, the exact words that changed are highlighted inside it.
- The two number columns show the line number in the original and in the changed text.
- Ignore case treats "Apple" and "apple" as the same.
- Ignore extra spaces trims line ends and treats several spaces as one.
- Ignore all spaces removes every space and tab before comparing, so "a b" and "ab" match.
- Ignore blank lines skips empty and whitespace-only lines. Line numbers still match your original text.
Privacy
The comparison happens in your browser. Your text is not uploaded.
Frequently asked questions
How does Text Compare work?
It splits both texts into lines and finds the lines they have in common. Lines only in the original are shown as removed, lines only in the changed text are shown as added, and the exact words that changed are highlighted inside edited lines.
What do the ignore options do?
Ignore case treats uppercase and lowercase as the same. Ignore extra spaces trims line ends and treats several spaces as one. Ignore all spaces removes every space and tab before comparing. Ignore blank lines skips empty lines, and line numbers still match your original text.
Is there a size limit?
Very large texts are refused with a message, because comparing them could slow your browser down. Files over 5 MB are also refused. Try comparing smaller sections.
Can I compare files?
Yes. Use 'Upload original file' and 'Upload changed file', or drag text files onto the boxes. The files are read in your browser and are not uploaded.