ToolsWave

Text Diff Checker

Compare two texts side by side. Additions, deletions, and unchanged lines are color-coded for easy identification.

How to Use

1

Paste the original text in the left box and the modified text in the right box.

2

Differences are highlighted automatically: green for additions, red for deletions.

3

Use the options to ignore case or trim whitespace for more flexible comparison.

4

Check the stats bar to see the count of additions, deletions, and unchanged lines.

Frequently Asked Questions

How does the diff algorithm work?

This tool uses a Longest Common Subsequence (LCS) algorithm to compare lines. It finds the best alignment between the two texts and highlights additions and deletions.

Can I compare large texts?

Yes, but very large texts (thousands of lines) may take a moment to process. The algorithm runs entirely in your browser.

What do the colors mean?

Green lines are additions (present in the new text but not the original). Red lines are deletions (present in the original but not the new text). White/default lines are unchanged.