Diff Visualizer
myers · line + wordTwo versions of a small function, lined up by a real Myers diff — the same minimal-edit algorithm git uses. Changed lines are then diffed again word by word, so you see the edit inside the line. Type in either box and everything recomputes live.
v1 · before
v2 · after
unified · patch
Both versions are identical — edit one of them to see a diff.
0 changes
0 changes
n / p jump between changes · panes are focusable, so arrows and PgDn scroll them · amber is added, red is removed (not green — on sloprun, green means "it worked")