Text Diff
Compare two texts line by line
Text Diff is a free online Text tool. Compare two texts line by line Related terms: diff · compare · 对比 · 文本差异. Use it on this page without signing in.
使用说明
- 在左侧输入框粘贴原始文本
- 在右侧输入框粘贴修改后文本
- 工具自动逐行对比并高亮差异(新增/删除/修改)
- 可一键复制差异结果
常见问题
- 数据会上传吗? 全程浏览器本地处理,不发送任何数据
- 对比方式? 基于行的差异算法(LCS),高亮变更行
- 支持多大文本? 适合常规文本对比,超大文件可能影响性能
More Text
View allWord Count
Count characters, words and lines, CJK and Latin separately
Text Deduplicator
Deduplicate lines, remove empty lines, trim and sort
Case Converter
Convert case, full/half width, camelCase / snake_case / kebab-case
Simplify ⇄ Traditional
Convert between simplified and traditional Chinese
Markdown to HTML
Convert Markdown to HTML with live preview and export
Markdown Stripper
Strip Markdown markers, keep plain text and line breaks
Regex Tester
Real-time regex testing with match highlighting
Encrypt / Decrypt
Base64, URL, Unicode, Morse and more codecs
FAQ about Text Diff
What can Text Diff do?
Text Diff is a Text tool. Compare two texts line by line You can finish the job on this page.
Who should use Text Diff?
Anyone handling diff · compare · 对比 · 文本差异 who does not want to install desktop software can use Text Diff in the browser.
Is Text Diff safe? Is my data uploaded?
This tool runs in your browser. We do not collect the content you enter into Text Diff just because you used it.
What similar tools exist?
Related tools in the same Text group are listed at the bottom of this page.