How to use the Text Diff Checker
- 1Paste the original text on the left.
- 2Paste the changed text on the right.
- 3Click Compare to see the differences.
About the Text Diff Checker
Spot what changed between two versions of a document, contract, code snippet or article. Added lines are highlighted in green and removed lines in red.
The comparison runs locally using a longest-common-subsequence algorithm.
When to use the Text Diff Checker
Reviewing revisions to a policy
Paste an earlier policy on the left and the revised version on the right to inspect added and removed lines. The two line-number columns help locate changes in each version. Use this as a review aid while reading the actual wording carefully; highlighting a changed line does not explain its legal or operational effect.
Checking updates to configuration text
Compare an old configuration with a proposed replacement before applying it. The line-based output makes inserted settings and removed entries easier to locate, especially when most of the file is unchanged. Keep related sections in a consistent order to reduce distracting differences, then validate the configuration in its intended system separately.
Comparing an article after editing
When an editor returns a revised article, compare the original and changed text to identify passages that were replaced or removed. Keep paragraph breaks aligned where possible for a clearer comparison. This tool highlights whole lines, so a small wording change within a long paragraph can appear as a removed line and an added line.
Tips and best practices
- Use matching line breaks in both inputs when practical. Rewrapping an unchanged paragraph can create line differences that distract from actual wording changes.
- Click Compare again after editing either input or using Swap. The displayed results are generated on demand rather than recalculated automatically as you type.
- Leave one input empty to inspect a complete addition or deletion. Comparison remains available as long as at least one of the two fields contains text.
- Split very large documents into related sections if comparison reaches its size limit. The restriction depends on the product of the two inputs' line counts.