← Back to Text
Text Diff
Compare two texts and highlight differences line by line
About Text Diff
Text Diff compares two blocks of text line by line and highlights exactly what was added, removed or left unchanged. It's useful for reviewing edits to an article, comparing two versions of code or config, or spotting subtle changes between drafts.
How to Compare Two Texts
- Paste the original text into the left box.
- Paste the modified text into the right box.
- Click Compare to see additions, removals and unchanged lines highlighted.
Key Features
- Line-by-line comparison
- Color-coded additions and removals
- Instant, real-time diffing
- Side-by-side input for easy editing
FAQ
Does it compare word by word or line by line?
The comparison works line by line, highlighting which lines were added, removed or unchanged.
Can I compare code or configuration files?
Yes, paste any plain text, including code, into either box.
Is my text stored anywhere?
No, the comparison happens entirely in your browser.
Can I use this on mobile?
Yes, the layout adjusts to a single column on smaller screens.