·data
Diff Viewer
Compare two pieces of text side-by-side or unified. LCS-based line diff with optional whitespace-ignore. Code review, manifest comparison, content drift.
diff · version-control · comparison
Compare two pieces of text side-by-side or unified. LCS-based line diff with optional whitespace-ignore. Code review, manifest comparison, content drift.
diff · version-control · comparison
Compare two files without dropping into a terminal, pushing to GitHub, or opening an IDE. Paste, see.
LCS-based (Longest Common Subsequence) line-level diff. Builds an m×n DP table then back-traces to produce add/remove/context ops. Not full Myers but fast enough for sub-MB browser inputs (O(mn) time and space).
+/− markers and line numbers. Compact, scroll-friendly.When enabled, the comparison normalizes via s.replace(/\s+/g, " ").trim() but displays the original lines. Useful for indent refactors — raises signal-to-noise.