Home Models News About Contact

Text Comparison

Local processing · Line-by-line diff

Paste two texts and find the differences right in your browser. Line-by-line diff highlights added, removed and unchanged content, works for code, nothing uploaded.

The comparison result will appear here
Added Removed Unchanged

Text Comparison Guide

1

Paste the original into "Text A" and the version to compare into "Text B"

2

Click "Compare" — the tool runs a line-by-line diff and highlights added, removed and unchanged content

3

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.