Text diff
Compare two texts by line, word, or character and highlight additions and removals. Runs entirely in your browser. Copy the diff.
Diff
+0 added−0 removed
Enter text in both columns to compare.
lines
// About this tool
Review edits between drafts, configuration files, or code snippets. Paste both versions, choose a comparison mode, and inspect the differences.
// How to use it
- Paste the original and changed text.
- Choose line, word, or character comparison.
- Review the highlighted differences.
// Frequently asked questions
Which comparison mode should I use?
Use lines for code and configs, words for prose, and characters for small precise edits.
Is my text uploaded?
No. Comparison happens locally in your browser.