UTILS.
Private by default
±

Diff Checker

Compare two blocks of text and highlight the added and removed lines.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —

About this tool

Paste two versions of any text or code and see a line-by-line comparison with added lines in green and removed lines in red, computed with a longest-common-subsequence algorithm. Perfect for spotting edits without a heavyweight tool.

Frequently asked questions

Does it compare word by word?
It compares line by line, which is the most useful granularity for code and documents. Reformat into shorter lines for finer comparison.
Is there a size limit?
It works on large inputs, but very long texts run an O(n×m) comparison, so extremely large files may be slow.

More tools