Text Compare - Find Differences Between Two Texts

Paste two texts to compare text online and see exactly what was added, removed, or changed.

Original
Type or Drag & Drop a file
Changed
Type or Drag & Drop a file
Output Options
View
Paste original and changed text above to see differences.

Frequently Asked Questions

What is the difference between Side by Side and Unified view?
Side by Side shows the original text on the left and the changed text on the right, with differences highlighted in each column. Unified shows a single column with + for added lines and − for removed lines - the same format you see in git diffs.
How do I compare two documents for differences?
Paste the original version into the Original panel and the newer version into the Changed panel. Differences appear instantly - red for removed lines, green for added lines. For set-based comparison - finding which items appear in one list but not the other - use Compare Two Lists instead.
Can I ignore whitespace differences when comparing?
Yes. Enable Ignore Whitespace in the Options panel. This treats lines that differ only in leading/trailing spaces or indentation as identical. If lines still appear different after enabling this, they may contain invisible characters - use the Invisible Character Detector to find hidden characters like non-breaking spaces.
Can I compare text case-insensitively?
Yes. Enable Ignore Case in Options. Lines like "Apple" and "apple" will be treated as the same.
How do I compare two Excel cells or columns?
Copy the content from each cell or column and paste into the Original and Changed panels. The tool will show exactly which lines are different. For structured data with multiple columns where you need to match rows by a key, try the Column Compare tool.
Is my text sent to a server?
No. All comparison is done entirely in your browser using JavaScript. Your text never leaves your device.
What does "Copy Diff" copy?
It copies a unified diff - each line prefixed with + for added, - for removed, and a space for unchanged. This is the same format used by git and patch tools.
Can I upload a file instead of pasting text?
Yes. Click the Upload button in the toolbar above either input panel to browse for a file, or drag and drop a file directly onto the text area.
Supported formats: .txt, .csv, .tsv, .log, .md, and other plain text files.
Size limit: 10 MB per file. For larger files, split them first before comparing.
Not supported: Excel (.xlsx), Word (.docx), or PDF - export to .txt or .csv first.
Large file note: The diff viewer displays up to 3,000 rows on-screen to keep the page fast. If your diff exceeds that, a warning will appear - click Download Changes to get the complete list of differences as a plain-text file.
Can I download the differences as a file?
Yes. Click Download Changes in the results bar to save a plain-text file showing the lines removed and added. Unlike the technical unified diff format (used by git), the download uses clear section headings - LINES REMOVED and LINES ADDED - so it is easy to read and share with others.

Related reading

Share this tool

Featured on ToolDirs
© 2026 ListDiff

Free online list and text processing tools.