Original
Text utility
Text Compare
Compare two text blocks side by side with aligned line numbers, inline edits, unified diff output, and precise controls for case, whitespace, blank lines, and Unicode.
Changed
Right text
Compare options
Diff settings
Ready.
Comparison summary
Diff statistics
Side-by-side diff
Original
Changed
Unified diff
Copy this standard patch-style output into notes, code reviews, or issue trackers.
Popular compare examples
Diff marker reference
| Marker | Meaning | Use |
|---|---|---|
| + | Line exists only in the changed text | Added content |
| - | Line exists only in the original text | Removed content |
| Line exists on both sides | Context | |
| @@ | Start and line ranges of a changed section | Patch hunk |
How text comparison works
FAQ
Does this tool upload my text?
No. Comparison and rendering happen locally in your browser.
Can it compare code, JSON, or lists?
Yes. Line-based comparison works well for drafts, source snippets, configuration files, JSON, and ordered lists.
Why is an edited line counted as added and removed?
A line diff represents replacement as one removal and one addition. Modified pairs estimate adjacent replacements and inline highlights show the changed words.
What should I choose for Unicode normalization?
Use NFC for normal text. Choose NFKC when full-width or other compatibility characters should compare as equivalent.