Free developer tool

Git Diff Viewer

Paste a unified Git diff and scan additions, deletions, headers, and context in a readable local view.

Runs locally in your browser
0 additions · 0 deletions
Paste a diff to begin.

Read the signal in a unified diff

Lines beginning with + are additions and lines beginning with - are deletions. File markers (+++ and ---) are headers, not code changes. Hunk headers beginning with @@ show the old and new line ranges.

Privacy note

Diffs often contain proprietary code or credentials. This viewer does not transmit the pasted text, but you should still review a diff before sharing it elsewhere.