我选

我选

办公所需全收藏

文本比较

比较两个文本的差异

文本工具

工具说明

文本比较工具可以比较两个文本的差异,高亮显示添加、删除和修改的内容。

支持的功能:

  • 比较两个文本的差异
  • 高亮显示添加、删除的内容
  • 实时更新比较结果
  • 复制比较结果
  • 清空文本
  • 交换左右文本

使用方法:在左右两侧输入要比较的文本,查看高亮显示的差异。

比较器

原始文本

0 字符, 1 行

修改文本

0 字符, 1 行

差异结果

0 行添加, 0 行删除

使用示例

原始文本:
Hello, World!
This is a test.
How are you?

修改文本:
Hello, World!
This is an updated test.
How are you today?

差异结果:
1: Hello, World!
2: This is a test.          [删除]
2: This is an updated test.  [添加]
3: How are you?             [删除]
3: How are you today?       [添加]

相关工具

正则表达式测试器

测试正则表达式匹配

大小写转换器

转换文本大小写