Skip to content

How Diff Checker works

Paste two blocks of text to see additions, deletions, and unchanged lines highlighted in unified or side-by-side view.

Uses the jsdiff library (loaded on demand) to compute line-level diffs with the O(ND) difference algorithm.

Questions

Can I compare files?
Paste the contents of any two text files into the original and modified panels to compare them.
What diff algorithm is used?
The tool uses the jsdiff library which implements an O(ND) difference algorithm for line-by-line comparison.
Is my data sent to a server?
No. The comparison runs entirely in your browser. Nothing is uploaded.
Can I export the diff?
Yes. Click the download button to save the diff output as a plain text file.

More Text & Data tools

All the tools · How to check that nothing is sent

Text Diff Checker | Only in the Tab