Text Comparison Guide
Paste the original into "Text A" and the version to compare into "Text B"
Click "Compare" — the tool runs a line-by-line diff and highlights added, removed and unchanged content
Review the differences below, then click "Copy" to save the diff with +/- markers
✅What to compare
- Document versions: spot edits between two drafts, contracts or specs
- Code & config: compare line-level changes in scripts, config files, logs
- Translation & proofreading: check text changes before and after edits side by side
💡Tips
- Line-based diff: uses the longest common subsequence to match unchanged lines
- Green means added lines, red means removed lines, gray means unchanged — clear at a glance
- Indentation and whitespace are preserved, ideal for code; use the leading +/- markers when there are many changes
A text diff helps you quickly locate changes between two pieces of text instead of comparing word by word by eye. This tool computes the difference line by line locally and clearly marks added, removed and unchanged lines.
🔒 Runs entirely locally in your browser, neither text is uploaded; line-by-line diff highlighting and one-click copy, works for code — no install, no signup.