PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 文本

文本对比.

并排或以统一视图比较两段文本,高亮显示改动的单词或字符,可忽略大小写和空格,并导出 .patch 文件。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

−3 removed +3 added · 1 unchanged lines · 25% similar

1The quick brown fox jumps over the lazy dog.1The quick red fox jumped over the lazy dog.
2PasteZap tools run in your browser.2PasteZap tools run in your browser.
3Nothing is uploaded.3Nothing is ever uploaded.
4This line will be removed.4A new line was added.

Lines are matched first, then the changed words or characters are highlighted inside each changed line. The .patch file uses the standard unified diff format (git, patch). Nothing is uploaded.

使用文本对比的步骤

输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

Up to 2 million characters per text; very different large texts may take too long to compare. Files are read as text.

Line-level comparison (Myers diff) with in-line word or character highlights, line numbers, statistics (added, removed, unchanged, similarity), options to ignore case and whitespace, swap, and standard unified-diff export usable with git and patch.

“The quick brown fox jumps” vs “The quick red fox jumped” → one changed line with “brown/red” and “jumps/jumped” highlighted.