Description
webdiff is a two-column git difftool that shows your changes side by side in a web browser. You run git webdiff instead of git diff, and you can pass the same arguments you would give to git diff, such as a commit range or HEAD. The side-by-side view uses syntax highlighting from highlight.js, and you can step back and forth through the files in a single diff. It also has rich support for image diffs, which uses ImageMagick when it is installed. webdiff can compare two files or two directories directly. It can also open a GitHub pull request by its URL or by number inside a repository with a GitHub remote, downloading the files for that pull request first. For private repositories or to avoid API quota limits, you can store a GitHub user name and personal access token in a .githubrc file, which should be readable only by you. It runs on any platform, in whichever browser you like. Install it with pip or pipx, or with Homebrew, which also installs ImageMagick as a recommended dependency.…
Highlights
- Side-by-side diff in the browser
- Syntax highlighting with highlight.js
- Step through multiple files in one diff
- Image diffs
- Opens GitHub pull requests
Ratings & Reviews
No ratings yet
Be the first to rate Webdiff.
People also visit

diffity-tree
Open the diffity file tree browser to browse and comment on repository files
Webdiff FAQ
What is webdiff?
A two-column git difftool that shows changes side by side in your browser. You run it as git webdiff in place of git diff.
How do I install it?
Install with pip, or with pipx, or with Homebrew using the danvk/webdiff tap. Homebrew also installs ImageMagick as a recommended dependency.
Can it show a GitHub pull request?
Yes. Pass the pull request URL, or a number such as #150 inside a repository that has a GitHub remote. It downloads the files for the pull request and opens them.
How do I use it with private repos?
Create a .githubrc file with your user name and a personal access token that has the repo permission, and make the file readable only by you.
What are the best Webdiff alternatives?
Popular alternatives to Webdiff include SemanticDiff, Diff Checker and Diff Checker. See all Webdiff alternatives








