Review code changes faster by seeing word-level diffs instead of full-line highlighting.
Set up as your default git diff viewer to automatically improve readability across all projects.
Pipe output from the standard diff command through diff-so-fancy for cleaner formatting outside git.
diff-so-fancy is a tool that makes the output of git diff, the command that shows what changed between versions of code, much easier for humans to read. By default, git diff shows changes as plain text with plus and minus signs at the start of each line, which can be hard to scan quickly. diff-so-fancy reformats this output with cleaner visual styling, removes the leading symbols, simplifies the file header lines, and highlights the specific words that changed within each line rather than just marking the entire line. You configure it by telling git to use diff-so-fancy as its "pager" (the program that displays output). After that, it works automatically whenever you run git diff, git show, or other diff-generating commands. The readme also provides recommended color settings that improve contrast for the highlighted portions. diff-so-fancy can also be used independently of git by piping the output of the standard diff command through it. It is a Perl script that can be installed from its source repository, through package managers including npm, Homebrew, Nix, Scoop, and others, or from Linux distribution repositories.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.