Text Diff

Compare two texts and highlight differences.

How to use

  1. 在左右两个输入框粘贴文本,差异结果实时逐行标记。
  2. 绿色为右侧新增行,红色为左侧独有(被删除)行;修改行会高亮具体差异片段。
  3. 可开启「忽略空格」「忽略空行」「忽略大小写」聚焦真正的内容变化。
  4. 支持交换两侧文本;大文本对比采用行级 Myers 算法并限制规模,超长文本会提示。

SSS

Does Text Diff upload my data?

No. Processing stays in your browser and is not uploaded.

Do I need an account?

No. Open and use — no signup.

How is this different from upload-based tools?

Tools run locally in your browser; content is not sent to our servers for processing.

Are there limits?

Limited by device memory and the browser; very large inputs may slow the page.