Diff Checker
Compare two pieces of text to find the differences.
Online Diff Checker
Compare text, code, and configuration files privately in your browser.
Original Text
Modified Text
+1 added−1 removed~1 modified50% similar3 change blocks
| 1 | The quick brown fox | 1 | The quick brown cat |
| 2 | jumps over the lazy dog. | 2 | jumps over the lazy dog. |
| 3 | A brand new line | ||
| 3 | Line kept as-is | 4 | Line kept as-is |
| 4 | Old line to remove | ||
| 5 | Common ending line | 5 | Common ending line |
Diff checker features
- Myers line alignment with inline word-level highlights
- Side-by-side, unified, and patch views
- Ignore case, whitespace, blank lines, and CRLF differences
- Added, removed, modified, unchanged, and similarity statistics
- Previous/next change navigation and collapsible context
- Copy or download Git-compatible unified `.diff` patches
- Upload text files, swap inputs, load samples, and clear quickly
- Local browser processing with no account or text upload
Diff checker FAQ
Can I compare text privately?
Yes. Comparison runs in your browser, so the pasted text is not sent to a server by this tool.
Can I ignore whitespace or case changes?
Yes. Choose an ignore mode for case, trailing or surrounding whitespace, all whitespace, or blank lines before reviewing the diff.
Can I export a unified diff?
Yes. Use the patch view to copy or download a Git-compatible `.diff` file.