What is a diff?
A diff lists the differences between two versions of a text. Lines that appear only in the new version are marked as added, and lines that appear only in the old version are marked as removed. Everything else is unchanged. Programmers use diffs to review changes to code, but they work for any text.
This tool uses the Myers algorithm, the same approach as git, which finds a smallest set of line changes. A line you edited shows as removed on the left and added on the right. You can ignore letter case, spacing or blank lines when they are just noise, and copy a unified diff like the one git prints.
How to use the Diff Checker
- Paste the original text on the left.
- Paste the changed text on the right.
- Choose side by side or unified view.
- Turn on any ignore options, then read or copy the result.