为什么用这个工具
01文本差异检查在浏览器本地运行,适合快速处理与复制结果。
文本差异检查适用于日常高频小任务,打开即用。
默认本地处理,便于快速检查与复制结果。
如何使用
02复制前快速检查
03先确认输入格式符合你的预期。
在把结果用于文档、链接、配置或消息前快速扫一眼。
只复制你真正需要的输出。
使用场景
Paste the original article and the proposed edit. Switch to Word mode and every changed phrase pops out — much faster than re-reading the whole piece.
Paste prod's config on one side and staging's on the other. Line mode shows lines that differ; Word mode shows which value within a line moved. A quick way to investigate "why does staging behave differently?"
When a bug shows up only in one environment, paste two log windows side by side. Line mode surfaces missing or extra events; Char mode finds single-byte differences in similar-looking lines.
For a tiny patch that didn't go through a real PR (one-off scripts, prompts in a doc, query strings), paste the before/after into the tool and use Char mode to confirm only the intended characters changed.
When experimenting with prompt tweaks, paste two outputs and run a Word-mode diff to see exactly what changed — useful for evaluating whether a prompt-side change had the intended effect.
使用技巧
- 01Use Word mode for prose, Line mode for code
Prose tends to change at the word level ("a quick brown fox" → "the speedy brown fox"); Line mode would mark the whole line as changed, drowning the signal. Code tends to change in whole-line blocks (add/remove/rewrite a line); Word/Char mode would create visual noise. Match the mode to the content.
- 02Character mode is great for spotting typos
When two strings look identical but behave differently, paste them in and run Char mode. Smart quotes vs straight quotes, en-dashes vs hyphens, and trailing whitespace become visible immediately — a class of bug that's otherwise invisible.
- 03Trim trailing whitespace first
Trailing whitespace and CRLF-vs-LF differences will register as changes you probably don't care about. Run pasted text through Trim Whitespace first if the source uses inconsistent line endings or trailing spaces.
- 04The counters tell you scope, not severity
10 changed lines might be one typo fix repeated everywhere or a wholesale rewrite. Always scan the highlighted preview, don't just read the counters.
常见问题
04这个工具会上传数据吗?
默认在浏览器本地处理。