GitHub Diff URL
Compare any two refs in one click
GitHub already has a great diff viewer. The tedious part is assembling the compare URL by hand: the org, the repo, the branch, then a 40 character SHA. This extension does that part.
Built for the way you actually browse
One extension, one purpose — done right
Fills Itself In
Base defaults to the repository's main branch. Head is pre-filled with the commit you are looking at. Often you just press Open.
Search Commits by Message
Both fields autocomplete across branches, tags and recent commits. Find a commit by what it says, not by its hash.
Pick Two Commits
Open commit A, send it to base. Navigate to commit B, send it to head. Your selection survives navigation.
No Token, No Account
It runs on github.com and uses the session you are already signed in with. Private repositories work with zero setup.
Open the panel with the floating button, the toolbar icon, or Alt+Shift+D. Press Enter in either field to jump straight to the diff.
How It Works
Three steps, and two of them are usually already done for you
Open Any Repo Page
The panel reads the owner, repo and ref straight from the URL
Pick Base and Head
Branches, tags and recent commits autocomplete as you type
Open the Diff
Or copy the compare link to paste into a PR or a message
Open Source
MIT Licensed — inspect, modify, contribute
The whole extension is a few hundred lines. You can read every one of them, verify there is no tracking or data collection, and contribute improvements.
View on GitHub