CorexoTools

Diff Checker

Compare two texts line by line and see added, removed, and unchanged lines.

What is a Diff Checker?

A diff checker compares two pieces of text and shows exactly what changed between them. Lines that appear only in the original are marked as removed, lines that appear only in the modified version are marked as added, and lines that are identical remain unmarked. This makes it easy to spot edits, additions, and deletions at a glance.

Common Use Cases

How the Comparison Works

The diff algorithm finds the Longest Common Subsequence (LCS) of lines between the two texts using a dynamic programming approach. Lines that are part of the LCS are shown as unchanged; everything outside the LCS is flagged as added or removed. This produces the minimal edit distance — the fewest changes needed to transform the original into the modified text.

Frequently Asked Questions

Is comparison case sensitive?

Yes. Lines that differ only in capitalisation are treated as different. Paste normalised text if you want a case-insensitive comparison.

Does this work with large files?

The tool handles thousands of lines efficiently in the browser. For very large files (tens of thousands of lines), consider using a native diff tool like git diff or diff on the command line.

Is my text sent to a server?

No. All comparison happens in your browser. Nothing is transmitted. Your text is private and never stored.