Skip to content

Utilities

Text diff

Compare two texts line by line.

Private Everything on these pages runs in your browser. What you type is never sent to a server and nothing is stored.

How to use it

  1. Paste the original text on the left and the new text on the right.
  2. The differences appear as you type.
  3. Read the added and removed lines.

Example

Input

Left:  a
b
c
Right: a
c
d

Result

b removed, d added

Frequently asked questions

Does it compare words or lines?

Lines. A changed line is shown as one removed line and one added line.

Can I ignore trailing spaces or line endings?

Convert line endings first with the line endings tool if CRLF and LF differences get in the way.

Related articles