Patch / Diff Viewer

Read patches and unified diffs

Source Input
Processed Output

What is the Patch / Diff Viewer?

Code review often means reading .patch or .diff files whose raw format buries the changes. This viewer parses unified diff format, lists every file touched with +/− counts, and explains each hunk header (@@ -1,4 +1,6 @@) — turning wall-of-text patches into a scannable summary.

Frequently Asked Questions (FAQ)

Q: What does @@ -10,7 +10,9 @@ mean?

The hunk starts at line 10 spanning 7 lines in the old file, and line 10 spanning 9 lines in the new file.

How to Use the Patch / Diff Viewer

  1. 1Paste your input into the editor above — or start from the preloaded example.
  2. 2Adjust any options, then click Run to process instantly in your browser.
  3. 3Review the output panel, then copy, download, or save it as a reusable snippet.

Related git tools