Text Diff: How changes are displayed
Start with the task you actually need to finish
- Comparing two versions of a contract to spot every clause that was added or removed during negotiation.
- Reviewing an editor's changes to an article draft before approving the final copy.
- Checking a code snippet against a previous version to understand exactly what changed.
Follow the workflow and review the result
- Paste the original version of your text into the first input box.
- Paste the revised or updated version into the second input box.
- Review the highlighted differences, with additions shown in green and deletions shown in red.
- Scroll through unchanged lines shown in neutral colour to see the full context around each change.
- Copy either version or export the comparison if you need to share the result.
How changes are displayed
Added content appears highlighted in green, removed content in red, and lines that are identical in both versions stay in neutral colour. This three-way colour coding makes it possible to scan a long document quickly and jump straight to the lines that actually changed.
Comparing source code
Because the diff respects exact whitespace and indentation, it is suitable for reviewing code changes where a shifted indent level or an extra space is meaningful. This makes it a lightweight alternative to a full version control diff view for a quick one-off comparison.
Tips for large documents
For very long documents, it helps to compare section by section rather than pasting an entire book-length file at once, since it is easier to review a manageable block of highlighted differences than to scroll through hundreds of lines. Removing unrelated boilerplate before comparing also reduces visual noise in the results.