Diff Tool

Universal text comparison with line-by-line highlighting of additions, deletions, and modifications.

Comparison Settings

Original Text

Modified Text

Usage Guide

Comparison Features

Based on the LCS algorithm, it compares two texts line by line, highlighting added lines in green, deleted lines in red, and counting the number of added, deleted, and unchanged lines.

Ignore Options

Checking "Ignore Whitespace" compresses consecutive whitespace and trims before comparison. Checking "Ignore Case" performs case-insensitive matching.

Use Cases

Suitable for code review to compare changes before and after modifications, comparing configuration files across different environments, document proofreading for content changes, and understanding version changes.