📊
💻

Compare Code Snippets

Spot exactly what changed between two versions of a code snippet, config, or script.

无需登录
Context:
Original (A)
Modified (B)
+3 added2 removed2 unchanged
Diff
+The quick brown fox leaps over the lazy dog.
The quick brown fox jumps over the lazy dog.
Pack my box with five dozen liquor jugs.
+How amazingly quick daft zebras jump!
How vexingly quick daft zebras jump!
The five boxing wizards jump quickly.
+Now is the time for all good men.

Code tips

💻

Paste two versions of a function, config file, or script to instantly see which lines were added, removed, or unchanged.

🔍

Use "Ignore whitespace" to focus on logical code changes and ignore indentation differences or trailing space cleanup.

📊

The context setting controls how many unchanged lines are shown around each change. Use "All" to see the complete file with changes highlighted.

💡

Great for comparing before/after of a refactor, or reviewing what changed in a dependency's source between versions.

工作原理

1
输入
Enter your data into the tool above. Everything stays local to your browser.
2
处理
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
下载
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

为什么选择我们的?

完全免费——永远没有隐藏费用
无需账号、邮箱或登录
文件永远不会离开你的设备
绝无文件大小限制
所有输出均无水印

Also check out…

常见问题