# difftastic

23 Hacker News commenters recommended difftastic and 1 criticized it, November 2025 to November 2026. It was recommended in 10 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** Diffs code by syntax tree rather than lines, so formatting noise and indentation changes drop out. Caveat: it only diffs code, not all diffs.

## Why people recommend it

- Syntax-aware diffs from parsed code trees (5 comments): "modern tools like difftastic used tree-sitter to bring a lot of language-aware diffing to the masses" ([source](https://news.ycombinator.com/item?id=48581880)) "difftastic is great as long as you are working in a language where it understands the language tree" ([source](https://news.ycombinator.com/item?id=47555586)) "it's using tree-sitter to not bother reporting changes that have no effect." ([source](https://news.ycombinator.com/item?id=47558776))
- Ignores formatting and indentation noise (4 comments): "Takes a completely different approach - parses syntax trees instead of lines, so indentation changes and bracket shuffles don't show up as noise." ([source](https://news.ycombinator.com/item?id=47170838)) "difftastic and similar tools help a lot with formatting noise" ([source](https://news.ycombinator.com/item?id=46624279)) "so formatting slop doesn't trigger false diff lines" ([source](https://news.ycombinator.com/item?id=46623045))
- Works with git and jj (4 comments): "you can change the git diff engine to something like difft, which makes it much more bearable" ([source](https://news.ycombinator.com/item?id=48284267)) "Integration with difftastic for semantic diffs." ([source](https://news.ycombinator.com/item?id=45883447)) "SemanticDiff, difftastic, Delta should work." ([source](https://news.ycombinator.com/item?id=48527814))
- Preferred over other diff tools (3 comments): "Came to say this as well. Started with delta, then found difftastic." ([source](https://news.ycombinator.com/item?id=47557821)) "What you want is difftastic." ([source](https://news.ycombinator.com/item?id=47173394)) "difftastic is a better diff." ([source](https://news.ycombinator.com/item?id=47317290))

## What people warn about

- Only diffs code, not all diffs (1 comments): "Difftastic only diffs code, which is only 2/3 of all diffs." ([source](https://news.ycombinator.com/item?id=50326933))
- JSON output lacks surrounding context (1 comments): "The blocker in #535 is that difftastic's JSON doesn't include surrounding context." ([source](https://news.ycombinator.com/item?id=47556225))

## Alternatives hackers recommend

- [Weave merge tool](https://hackerapproved.com/p/weave.md): 20 recommend
- [Mergiraf](https://hackerapproved.com/p/mergiraf.md): 19 recommend
- [sem](https://hackerapproved.com/p/sem.md): 19 recommend
- [Meld](https://hackerapproved.com/p/meld.md): 12 recommend
- [Beyond Compare by Scooter Software](https://hackerapproved.com/p/beyond-compare.md): 9 recommend

## Cite as

Hacker Approved, "difftastic", https://hackerapproved.com/p/difftastic/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
