Skip to main content

Text Diff (Side-by-Side)

Compare two blocks of text in a GitHub-style split view. Additions are highlighted green, removals red, and changed lines are aligned in paired rows. Optional whitespace and case-insensitive comparison.

Features

Frequently Asked Questions

How is this different from the regular Diff Viewer?
This tool focuses on a paired side-by-side layout where added lines on the right align with removed lines on the left. The regular Diff Viewer shows a unified diff.
Can I ignore whitespace or case?
Yes. Toggle "Ignore whitespace" or "Ignore case" in the toolbar to normalize both inputs before comparison.
Is there a size limit?
The algorithm is LCS-based (O(n·m) memory). Very large files (tens of thousands of lines) may be slow — trim to the relevant sections for best performance.