Collection of Tools

Git Patch Viewer – View .patch and .diff Files Online

Git Patch Viewer renders Git patches and unified diffs as a readable code review. Paste the output of git diff or git format-patch, or open a .patch / .diff file, and browse changes file by file in unified or side-by-side view with line numbers, additions and deletions, rename and binary file detection, and filters. It is useful for reviewing patches sent by email, attached to issues, or exported from CI without checking out the branch.

How to use

  1. Paste a patch or diff, or open a .patch / .diff file.
  2. Pick a file from the file list to jump to its changes.
  3. Switch between unified and side-by-side views.
  4. Use filters and keyboard shortcuts to move through files and hunks quickly.

FAQ

How do I open a .patch file?

A .patch file is plain text produced by git format-patch or git diff. Open it in Git Patch Viewer to see each changed file with highlighted additions and deletions instead of raw diff text.

Does it support side-by-side diffs?

Yes. You can switch between a unified view and a side-by-side split view at any time.

Can it show renamed and binary files?

Yes. Renames and binary file changes are detected from the patch headers and labeled in the file list.

Is my patch uploaded anywhere?

No. The tool runs entirely in your browser. Your input is processed locally and is never uploaded to a server.

Review Git patches without applying them. Browse changed files, read hunks in unified or split view, and spot additions, deletions, renames, and binary changes — all locally.

Paste a patch
Read-only: patches are never applied and code is never executed.
Or open a .patch / .diff file

Up to 4 MB · Git and plain unified diffs

J / K Next / previous fileN / P Next / previous hunkV Unified / splitC Changes onlyW Wrap