Text Diff Viewer

Compare two blocks of text and see added and removed lines side by side.

Private by design. Every tool runs 100% in your browser — your code, text, and tokens never leave your device. Nothing is uploaded or stored.
1 line(s) added, 0 line(s) removed.
Unified diff
function add(a, b) {
+ // sum helper
return a + b;
}