🔍 文本对比Text Compare

把两段文本分别粘贴到左右两侧,工具会逐行比较并高亮显示新增(绿色 +)与删除(红色 −)。支持字符级或词级内联差异、并排视图,以及忽略大小写、空白与空行,并可下载差异文件。Paste two texts on the left and right. The tool compares line by line, highlighting additions (green +) and deletions (red −). Supports character- or word-level inline diff, side-by-side view, ignoring case/space/blank lines, and downloading the diff.

① 输入:原始文本 与 修改后文本① Input: Original & Modified

② 对比选项② Options

③ 差异结果③ Diff result

差异将显示在这里…Differences will appear here…

使用说明How to use

怎么用How to use
  1. 在左右两个框分别粘贴要对比的文本Paste text into the left and right boxes
  2. 选择合并或并排视图,可忽略大小写与空白Pick merged or side-by-side view; ignore case/space optional
  3. 查看新增/删除高亮与相似度See add/delete highlights and similarity

示例:两段仅一行不同 → 该行被标为增/删并高亮Example: Two texts differing by one line → that line is highlighted

全程在你的浏览器本地完成,文本不会上传服务器。Runs entirely in your browser; your text is never uploaded.

左侧 A、右侧 B 粘贴两段文本,选好选项后开始对比;差异行以 + / − 高亮,可跳转上 / 下一个差异、切换并排视图、复制富文本;超大文本自动降级为快速比对。Paste two versions in A (left) and B (right), pick options and compare; changed lines are highlighted + / −, with jump-to-next-diff, side-by-side view, rich-text copy, and an automatic fast path for very large texts.