Text

Text Comparison

Compare text line by line: − means removed, + means added. Line endings are normalized.

01Input and settings

The calculation runs in your browser. You can use the tool without installing software.

02Result

Waiting for input
Waiting for input

Enter your values or load the example to see the result here.

About this tool: Text Comparison

Compare text line by line: − means removed, + means added. Line endings are normalized.

A line beginning with minus was removed, and a line beginning with plus was added. Matching lines keep their order. Line endings are normalized before comparison, but spaces within lines still matter. This is a text comparison, so semantic JSON changes have a separate tool.

How the calculation works

− removed; + added; unchanged lines have no sign

Worked example

Input
First line
Second line
Third line
Second text
First line
Changed line
Third line
New line
  First line
− Second line
+ Changed line
  Third line
+ New line

Questions and answers

What does this tool do?

Compare text line by line: − means removed, + means added. Line endings are normalized. A line beginning with minus was removed, and a line beginning with plus was added. Matching lines keep their order. Line endings are normalized before comparison, but spaces within lines still matter. This is a text comparison, so semantic JSON changes have a separate tool.

What affects precision and input format?

Text operations depend on the selected format. Check the supported characters and syntax in the description and example.

Where are the calculations performed?

The calculation runs in your browser. You can use the tool without installing software.

Comments (0)

Share your thoughts — please be polite and stay on topic.

No comments yet. Leave a comment — share your opinion!

To leave a comment, please log in.

Log in to comment