🔀

Text Diff Checker

Compare two texts and highlight the added and removed lines side by side.

Differences will appear here…

Frequently Asked Questions

How does the comparison work?

The tool splits both texts into lines and uses a longest-common-subsequence algorithm to align matching lines. Added lines are shown in green, removed lines in red with strikethrough.

Can I ignore case or whitespace?

Yes. Toggle "Ignore case" to treat uppercase and lowercase as equal, and "Ignore whitespace" to trim leading/trailing spaces and collapse blank lines before comparing.

Is it line-based or character-based?

This tool compares line by line, which is ideal for documents and code. Matching lines within a block are aligned to show minimal changes.

Is my text sent anywhere?

No. The comparison runs entirely in your browser. Your text never leaves your device.

Related Tools