Diff Checker

Paste two blocks of text side by side and see exactly what changed — added lines highlighted in green, removed lines in red, and unchanged lines in between. Useful for comparing code versions, contract revisions, config files, or any two pieces of text where you need to spot the differences quickly. Everything runs in your browser; your content is never sent to a server.

All processing happens in your browser. No data is sent to any server.

Frequently Asked Questions

What types of content can I compare?
Any plain text — code, JSON, config files, contract language, article drafts, or any two strings you want to compare line by line. For best results with code or structured data, make sure both sides use consistent formatting before comparing.
Is my content sent to a server?
No. The diff is computed entirely in your browser. Your text never leaves your device.
How does the diff algorithm work?
The tool uses a standard longest-common-subsequence (LCS) algorithm — the same approach used by git diff. Lines present only in the left input are marked as removed; lines present only in the right input are marked as added. Lines in both are shown as unchanged.

Related Tools