Skip to content

Text Diff Tool

Compare two texts line by line. Added lines are highlighted green and removed lines red. Useful for comparing config files, logs, and code.

✅ 100% free, no signup, runs entirely in your browser

If something is broken or not displaying correctly, let us know via the contact form.

📖 How to Use

  1. 1
    Paste text on both sides
    Paste the old version on the left and the new version on the right.
  2. 2
    See the diff
    Added lines are highlighted green, removed lines red. Line-by-line comparison.
  3. 3
    Copy as unified diff
    Use Copy to export as Git-style unified diff — useful for code review comments.

❓ FAQ

Does it support word-level diff?
Line-level only for now. Word-level diff is planned.
Can I ignore whitespace?
Enable "Ignore whitespace" to skip whitespace-only differences.
Is my data sent anywhere?
No. All comparison happens in your browser JavaScript — safe for confidential text.
Any structured diff (JSON/XML)?
Sort JSON keys in our formatter first to normalize order before diffing.