Text Compare
Compare two versions of text line by line and see exactly which lines were added, removed or unchanged.
What is the Text Compare?
A diff shows changes between two texts — useful for contracts, code, configuration and documents.
How does it work?
The longest common subsequence algorithm aligns the two texts and marks lines only in the original as removed and lines only in the new text as added.
Example
Changing “Status: Pending” to “Status: Paid” shows one line removed and one added.
Frequently asked questions
Is my text uploaded anywhere?
No. All processing happens in your browser, so your text never leaves your device.
Is there a size limit?
To keep your browser responsive, texts up to about 5,000 lines each can be compared.
Related tools
Enable JavaScript to use this calculator.