Text Comparison
Line-level text differences comparison based on the LCS algorithm, highlighting new and deleted lines.
Original Text
Modified Text
Compare Settings
Instructions
Introduction
Use the Longest Common Subsequence (LCS) algorithm to compare two pieces of text line by line to accurately identify new and deleted lines, which is suitable for code and document version proofreading.
Steps
Paste the original text to the left, paste the modified text to the right, check the ignore option as needed, and click Compare to see the difference results.
Notes
This tool is a line-level comparison and does not subdivide character differences in lines; for character-level highlighting, use the Text Difference Enhancement tool. Oversized text contrast can be time-consuming.