Text

Text comparison

Find line-by-line differences between two text versions.

Use your own or authorized text. Results are escaped text; their content is not executed.

Up to 100,000 UTF-16 units per input. Nothing is saved or sent. CRLF/CR line breaks are interpreted as LF. Up to 2,000 lines per input and one million line pairs. Comparison runs in a cancellable Worker.

What this tool does

Compare lines and identify insertions, deletions and modifications with labels as well as color.

How to use it

  1. Enter the original and new text.
  2. Run the comparison.
  3. Inspect each operation; cancel if you need to change inputs and compare again.

Verifiable example

Input
Original lines a, b. New lines a, c.
Expected result
The first line is unchanged; the second is marked as modified.

Limitations to review

  • This is not a semantic comparison or a proof that programs or documents behave identically.
  • Up to 100,000 UTF-16 units and 2,000 lines per input; a budget of one million line pairs.

Read the full tutorial

Related tools

Browse all guides. Local processing: the page downloads HTTP resources but does not send files or input data to a server for these functions.