Text line comparison
Compare the same line positions in two texts to find the changed line.
Input
The example value has been entered. Check it immediately or change the value.
Input is processed in the browser. Refreshing returns a sample value.
Result
Check or change the value using the example value result.
After inserting a line, subsequent lines may appear modified. It is a position-based comparison based on a minimum edit distance, not a diff.
Share result
Share the tool link and result text together. No URL is included in the result. Check the below content and then share it.
Calculation·conversion criteria
Compare two texts based on the same line number.
Input example
Indicates change from b to c in the second line
If the second line of the original is B and the second line of the modified version is C, it is marked as a change. The same line is removed from the difference list.
How to use
- Use the entered example value or change the original or text to compare items.
- Click Verify result and check the following result.
- Result can be copied if needed.
Frequently Asked Questions
If a line is inserted and all subsequent lines have changed, will it appear?
Possible. This tool compares the same positions, so all line numbers after insertion are shifted. It differs from professional diff algorithms that find the minimum difference in code changes.
Calculation criteria and reference materials
The calculation formula and scope of this tool are disclosed in the above description. Examples can be checked by substituting input values into the formula or following the specified string and calendar handling rules.
Verification of calculation criteria: · Calculation·verification principles · Report errors