Text Diff
Summary
Added lines
Removed lines
Changed lines
Unchanged lines
Legend
Added only on the right
Removed from the left
Changed line
Same line
Diff result
Left version
Right version
What is a Text Diff tool?
A text diff tool compares two pieces of text and highlights what was added, removed, or changed.
It is useful for editing, proofreading, SEO content review, programming, contracts, and checking changes between versions.
How to use the Text Diff tool
- Paste the first version of the text into the left field.
- Paste the second version into the right field.
- Optionally ignore whitespace or case differences.
- Enable inline mode if you want to highlight changes inside each line.
- Click Compare to see the differences.
Tips
- Ignore whitespace when formatting changes are not important.
- Ignore case when you only care about content, not capitalization.
- Inline mode is useful for small edits within the same sentence.
- Copy the result if you need to share the comparison.
Related tools
You may also find these tools useful.
JSON Diff Tool
Compare two JSON objects instantly in your browser.
Data & Format
›
Regex Tester
Test regular expressions against text and see matches instantly.
Text & Content
›
Duplicate Line Remover
Remove duplicate lines from text quickly and cleanly.
Text & Content
›
Line Sorter
Sort lines of text quickly and cleanly.
Text & Content
›
Text Diff FAQ
Does this tool compare text line by line?
Yes. It compares text line by line and can also highlight changes inside changed lines.
Can I ignore spaces and case?
Yes. You can ignore whitespace and case differences before comparison.
Is my text stored?
No. The comparison runs directly in your browser.
Can I use it for code too?
Yes, for quick line-by-line comparison it works well for code, text, and notes.