Text Diff

Compare two texts and show their differences.

Input data is processed in your browser
Data is never sent to a server

Tool

Compare by:
0 chars

or drag & drop a file

0 chars

or drag & drop a file

What is Text Diff?

Text Diff compares two pieces of text and visually displays additions, deletions, and unchanged lines. It is useful for code reviews, document revision tracking, and data change verification.

How to Use

  1. Enter the original text in the left input field.
  2. Enter the modified text in the right input field.
  3. Click "Compare" to see additions, deletions, and unchanged lines highlighted.

FAQ

What do the colors mean?

Green indicates added lines, red indicates removed lines, and white indicates unchanged lines.

Is case sensitivity taken into account?

By default, comparison is case-sensitive. You can switch to case-insensitive with the option toggle.