Text Compare
Use this diff checker to find changes between two texts. Your text and files stay on this device.
Paste the original and changed text into the labeled boxes.
Preview only. The comparison uses the full text.
Preview only. The comparison uses the full text.
Plain-text files up to 5 MB each
Paste text in both boxes or compare with an empty side.
Comparison
Processed on this device — nothing is uploaded
What you can do here
- Line and word differences
- Side-by-side and unified views
- Ignore case or whitespace
- Copy or download a diff
What does Text Compare do?
Text Compare is a free diff checker for drafts, notes and plain-text files. It marks added and removed lines and highlights the words that changed inside paired lines: comparing "The quick brown fox" with "The quick red fox" flags brown and red. Read side-by-side or unified, and ignore case, edge spaces, all white space or blank lines.
Each file can be up to 5 MB, and over 50,000 lines a side the result shows line changes only.
Key facts
- Price
- Free
- Sign-up
- None
- Upload
- None — runs on your device
- Updated
How to compare two texts
- Add both versions
Paste text into Original and Changed, or open a plain-text file in each field. Each file can be up to 5 MB.
- Review the changes
Select Compare text. Switch between side-by-side and unified views, or adjust the options to ignore case or spacing.
- Copy or save the diff
Use Previous change and Next change to review edits, then copy the unified diff or download changes.diff.
Frequently asked questions
Is my text sent anywhere?
No. Your browser processes text and files on this device without uploading them. The site counts anonymous use events such as compare and download, without file names or contents. It saves comparison preferences only.
Which kinds of files can I compare?
Open plain-text files up to 5 MB, such as TXT, Markdown, CSV, JSON, or source code. The tool reads UTF-8 or UTF-16 with a byte order mark. For Word or PDF documents, copy the text and paste it into each field.
Can I ignore white space or capitalization?
Yes. Ignore case treats upper- and lowercase letters alike. You can also skip spaces at the start and end of a line, ignore all white space within lines, or skip blank lines entirely.
How large a comparison can I run?
With fewer than 20,000 lines on each side, the results update shortly after you type. Select Compare text for larger inputs. Large files or pastes may appear as a short preview in their editor. The comparison still uses the full text. If either side exceeds 50,000 lines, the result shows line changes only.
What does changes.diff contain?
The file contains a unified diff with added and removed lines and nearby context. It reflects the active ignore settings. Very long lines appear shortened in the preview, and the download preserves their full text.
Related tools
About this tool
Made by ZirkoMirko. Last updated .
Check it yourself in your browser’s Network panel while using the tool. How we handle your data.