How the comparison works
The tool compares the two texts line by line. It finds the longest set of lines that both versions share, in the same order (the longest common subsequence), and marks everything else as added or removed. This is the same idea used by the diff tools in version control systems such as Git.
A line that has been edited appears as one removed line followed by one added line.
Typical uses
- Checking what changed between two drafts of an article or contract.
- Comparing configuration files or code snippets.
- Verifying that a copied text is identical to the original.
Your text is processed in your browser. Nothing you type or paste is uploaded or stored.
