Online Diff Checker
Paste two pieces of text to instantly see additions, deletions, and unchanged lines highlighted. Supports split view and unified view, ignore whitespace, ignore case, and comes with code and JSON samples.
How it works
This online diff checker runs entirely in your browser β no data is sent to any server. Simply fill in the fields above and the result updates instantly. You can copy the output with the copy button provided.
Frequently Asked Questions
Is my data sent to a server?
No. The diff is computed entirely in your browser using JavaScript. Your text never leaves your device.
What diff algorithm is used?
The tool uses the Myers diff algorithm β the same algorithm used by Git, GNU diff, and most modern version control systems.
What does 'ignore whitespace' do?
When enabled, leading and trailing spaces are trimmed from each line before comparison. Lines that differ only in indentation will be treated as equal.