Developer

Runs in your browser. No file uploads for processing.

Inspect Git Patch Stats (No Upload)

Review the changed files, hunk ranges and line counts in a Git patch without applying it or uploading your code.

Loading tool...

How to review a Git patch without applying it

  1. Paste a Git diff or choose a patch file

    Open UTF-8 output starting with diff --git. The file stays in your browser. The tool does not access a repository or run Git.

  2. Check file totals and hunk counts

    Inspect changed file types and verify that addition, removal and context lines fit each hunk’s declared counts. For example, replacing one line counts as one added and one removed line.

  3. Review details or export a summary

    Reveal paths only when needed. The JSON download includes line counts, change types and hunk ranges, not filenames or source code.

Use cases

  • Summarize a shared patch without giving it access to a repository.
  • Spot a copied patch that is missing lines before asking a teammate to resend it.

Limits and privacy

  • UTF-8 two-way Git diff only, up to 2 MiB, 1,000 files and 10,000 hunks. Combined merge diffs, emailed format-patch messages and non-Git diffs are unsupported.
  • Binary files are counted but payloads are not decoded. Nothing is applied, and hunk counts cannot tell you whether a patch applies cleanly or whether the code is safe.

The tool processes inputs in your browser. Account features and usage analytics are separate.

Frequently asked questions

What if I have the original and edited text but not a Git diff?

Use Diff Checker to compare two pieces of plain text. Git Patch Review inspects a patch that already exists.

Can I see Git diff stats without applying the patch?

Yes. Paste or choose a supported Git diff to see file types, addition and removal totals, and hunk positions. No repository is read or written.

Does replacing a line count as an addition and a removal?

Yes. A standard replacement uses one minus line and one plus line. Unchanged context is not counted in either total.

What happens when a patch includes binary files?

They are identified separately. Binary payloads are not decoded or included in text-line totals.

Will this check that a Git patch applies cleanly?

No. It checks the text structure and hunk line counts, not whether a target repository contains matching lines.

Is my source code uploaded?

No. Review runs in the browser. The exported JSON omits source lines and paths.

What patch formats does it accept?

Use ordinary UTF-8 Git diff output beginning with diff --git. Combined merge, standalone unified diffs and email wrappers are unsupported.

Related tools