跳到内容
RapideTools

文本差异比较

逐行比较两段文本。

Paste two versions of text to compare them line by line. Added lines are highlighted in green, removed lines in red, and unchanged lines in grey. Everything runs locally in your browser using a simple line-based diff (no dependencies).

你的输入在浏览器本地处理 —— 不会上传、存储或记录。

为你节省时间了吗?请我喝杯咖啡

工作原理

  1. 1 Paste the original text in the left box.
  2. 2 Paste the changed text in the right box.
  3. 3 Review the highlighted differences below.

常见用例

  • Compare two versions of a document.
  • Spot edits between drafts.
  • Check config changes.
  • Review pasted code line changes.

常见问题

Is my text sent to a server?

No. Everything runs locally in your browser — your text is never uploaded, stored or logged.

What kind of diff is this?

A line-based diff using a longest-common-subsequence algorithm — simple, readable and dependency-free. It is not a word-level or character-level diff.

Is there a size limit?

Very large inputs are skipped with a notice, since a line-by-line diff grows with the product of both line counts.

Is it really free?

Yes — free, with no signup and no limits.