🔍 文本对比
Compare two texts and see differences highlighted — free, in your browser.
✨ See what this tool can do
📄
Two texts
对比两段文本并显示差异
对比两个文档版本
100% 隐私 —— 浏览器端运行
🔍
Diff output
📄 Original Text
📝 Modified Text
📊 Differences
文本差异对比:对比两段文本并显示差异
文本差异对比让你对比两段文本并显示差异。全部在浏览器本地处理,无需上传、无需注册。
对比两个文档版本
对比两个文档版本。这是人们使用文本差异对比最常见的理由之一——几秒内即可在浏览器中完成。
找出文本草稿间更改
找出文本草稿间更改。这是人们使用文本差异对比最常见的理由之一——几秒内即可在浏览器中完成。
审查代码或文本编辑
审查代码或文本编辑。这是人们使用文本差异对比最常见的理由之一——几秒内即可在浏览器中完成。
文本差异对比所需的一切功能
让文本差异对比快速、私密且免费的强大功能。
即时处理
输入即转换、即校验。
开发者级
为准确、符合标准的结果而构建。
100% 隐私
全部本地处理——数据不外传。
复制导出
一键复制到剪贴板,方便使用。
永久免费
无需注册、无 API 密钥、无限制。
正则与 JSON
内置完整正则表达式和 JSON 校验。
100% 隐私
文件不离开浏览器
浏览器端
无需安装、不上传
永久免费
无需注册、无水印
无需注册
即刻开始,无需账号
How to Use
1
Paste Original
Put the original text in the left box.
2
Paste Modified
Put the modified text in the right box.
3
Compare
Click Compare Texts.
4
View Diff
Green = added, Red = deleted, Gray = unchanged.
Detailed User Guide
Paste Original
Put the original text in the left box.
Paste Modified
Put the modified text in the right box.
Compare
Click Compare Texts.
View Diff
Green = added, Red = deleted, Gray = unchanged.
常见问题
LCS (Longest Common Subsequence) — the standard diff algorithm. Same as used by Git diff.
Currently line-level only. For word-level, paste single words per line or use a dedicated code diff tool.
No. All comparison happens in your browser.
新增和删除行以颜色高亮。
是的——经典逐行差异。
够用——遵循标准规范(RFC 3986、JSON 规范等)。
不会。全部在浏览器内处理,关闭标签页即丢弃。