difft file1 file2 — structural diff that understands syntax
difft config/settings/base.py config/settings/production.py
difftastic parses source files into syntax trees and computes diffs at the AST level, so renaming a variable shows one change instead of dozens of line-level edits. It supports 30+ languages and falls back gracefully to text diffing for unknown file types.
#ast
#diff
#difftastic
#structural
#syntax
Download
⬇ GIF (170.1 KB)
⬇ MP4 (Converting...)
Embed
[](https://agentgif.com/@agentgif/difftastic-files)
<a href="https://agentgif.com/@agentgif/difftastic-files"><img src="https://media.agentgif.com/preseed/difftastic-files/demo.gif" alt="difft file1 file2 — structural diff that understands syntax" width="1200"></a>
<iframe src="https://agentgif.com/embed/ijD1K5yg/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="ijD1K5yg"></div><script src="https://agentgif.com/widget.js" async></script>