Git Diff Viewer
Paste a git diff or .patch and read it clearly: files, added and removed lines, unified or side-by-side view, word highlights – or make a patch from two texts.
Tool
About this tool
About Git Diff Viewer
Reading a long diff in a terminal or e-mail is hard. Paste the output of git diff, a .patch file or a GitHub/GitLab .diff and see every file with its status (added, deleted, renamed, modified), +/− counts and hunks with line numbers, in a unified or side-by-side view with changed words highlighted. You can also paste two versions of a text to create a unified diff and download it as a .patch.
How it works
Example
How to use this tool
- Paste a diff or choose a .diff/.patch file (or switch to “compare two texts”).
- Choose unified or side-by-side view; filter by file name.
- Read the changes, or download the .patch you made.
Frequently asked questions
Does it show binary files?
They are listed as changed binary files, without content.
Is my code uploaded?
No – everything is shown in your browser.
Is my data uploaded?
No. Everything runs in your browser and stays on this device.
Does the Git Diff Viewer send my data to a server?
No. The Git Diff Viewer runs entirely in your browser using JavaScript, so tokens, code and data you paste stay on your device. You can even use it offline once the page has loaded.