Free · no account required · unlisted links

Free online Git diff and patch viewer

Paste a unified diff, upload a .diff or .patch file, or import a raw patch URL. SharePatch turns it into a stable link with side-by-side and line-by-line review modes.

A focused browser-based diff viewer

  • Jump between changed files instead of scanning raw patch text.
  • Switch between side-by-side and line-by-line views, or reverse the diff.
  • Send an unlisted review link without creating a repository, branch, or pull request.

From raw git diff to review link in three steps

  1. Load the diff Paste text, upload an editable file, import a raw URL, or isolate the latest push in a GitHub PR.
  2. Review the change Navigate by file and choose a side-by-side or unified line-by-line layout.
  3. Share the result Send the stable unlisted link, or copy and download the original patch.

Built for real Git patch workflows

Unified diffs and patch files

Open output from git diff, CI artifacts, .diff files, and .patch files up to 1 MB.

git format-patch and mailing lists

Keep subject, author, recipients, commit message, and patch-series context separate from the rendered code changes.

Reviews outside a pull request

Share generated changes, work in progress, or a suggested fix without pushing a branch or granting repository access.

Review GitHub PR updates without rebase noise

After a rebase, GitHub's compare view for a PR's latest push can mix reviewer-relevant edits with unrelated base-branch commits. SharePatch fetches the previous and current PR heads, diffs both snapshots against the same base, and shows only what actually changed in the push.

Open the GitHub rebase-noise viewer

Read the guide: remove rebase noise from GitHub PR update diffs

Need the original file instead? Learn how to download a GitHub pull request as a .diff or .patch file.

Frequently asked questions

Is SharePatch free to use?

Yes. SharePatch is free to use and does not require an account.

Are shared patches public?

Patch links are unlisted and excluded from search indexing, but anyone with the link can open them. Do not upload secrets or code that must remain confidential.

Which diff formats does SharePatch support?

Unified Git diffs, .diff and .patch files, git format-patch output, mailbox-style patch series, and raw patch URLs up to 1 MB.