Original Text
A
Modified Text
B
Copied!
Added: 0
|
Removed: 0
|
Unchanged: 0
|
Similarity: 0%
Diff Result
Enter text in both panels above and click Compare to see differences.
How to Use the Text Diff Checker
- Paste your original text into the left panel (labeled A).
- Paste your modified text into the right panel (labeled B).
- Click Compare (or press Ctrl+Enter) to generate the diff.
- Review the results:
- Lines highlighted in green (with
+) were added in the modified text. - Lines highlighted in red (with
-) were removed from the original. - Lines with no highlight are unchanged.
- Lines highlighted in green (with
- Use the statistics bar to see a quick summary: lines added, removed, unchanged, and an overall similarity percentage.
Options explained:
- Word-level diff โ instead of highlighting entire lines, individual changed words within paired lines are highlighted. Useful for spotting small edits.
- Ignore whitespace โ treats lines that differ only in leading/trailing spaces or tab width as identical.
- Ignore case โ
Helloandhelloare treated as the same for comparison purposes. - Swap โ flips original and modified panels so you can reverse the direction of comparison.
- Copy Diff โ copies the plain-text diff output to your clipboard.
Related Tools
Format and validate JSON โ JSON Formatter
Test regular expressions โ Regex Tester
Count words and characters โ Word Counter
Need a markdown editor? โ Markdown Preview โ write and preview markdown live
