Git, Server & Deployment
Git Diff Cleaner
Paste a raw git diff to get a file-by-file summary and a cleaned diff with
whitespace-only and blank-line noise hidden. Everything runs in your browser — your
diff never leaves the page.
Noise filters
Raw git diff
input
Paste the output of git diff, git show or a saved
.patch file. Nothing is uploaded.
Summary & cleaned diff
liveHow it works
The diff is split into file sections and hunks. Within each hunk, runs of removed and
added lines are compared: when the text differs only by whitespace, or when the whole
run only adds or removes blank lines, it is treated as noise and dropped. Surviving
hunks get their @@ −start,count +start,count @@ headers recomputed so
the cleaned output stays readable. Binary patches and rename-only changes are passed
through untouched.