Diff Checker

Compare two texts and see the differences highlighted line by line.

Original
Modified

Frequently Asked Questions

What algorithm does this diff use?
This tool uses the Longest Common Subsequence (LCS) algorithm, the same technique behind Unix diff and git diff. It finds the minimal set of changes needed to transform one text into the other.
Is my text sent to a server?
No. All comparison happens entirely in your browser. Your text never leaves your device.
What does "ignore whitespace" do?
When enabled, lines that differ only in leading/trailing whitespace are treated as equal. Useful for comparing code that was reformatted.

More IT & Dev Tools

View all โ†’