Difftastic0.72.0

Difftastic is a structural diff tool that compares files based on their syntax.

WindowsSystem ToolsOpen source

Verify your download

Select the file you downloaded to check it against the hash we published — the check runs in your browser, nothing is uploaded.

About

Compare two files with Difftastic by their syntax, so the output centers on structural changes rather than raw character sequences. This helps reveal what actually changed when rearranged code, formatting edits, or nested additions would make a line-oriented diff noisy or misleading. Difftastic is a command-line program, making it suitable for developers examining source changes directly or incorporating structural comparisons into a Git workflow.

It parses code with tree-sitter and produces diffs designed to be accurate and readable for humans. If a formatter splits one expression across several lines, it can recognize unchanged inner content instead of reporting a wholesale change. When a wrapper is added, it matches the delimiters and can still isolate the added wrapper even when the enclosed content changes too.

The display uses the actual line numbers from each file, before and after the change, rather than relying on unfamiliar hunk notation alone. It handles supported programming languages and file formats, with the complete language and format coverage described in its manual. Version 0.72.0 is published by Wilfred Hughes for Windows, and the freeware is distributed under the MIT license.

Architecture: x64

What's new in v0.72.0

Difftastic is a structural diff tool that understands syntax. See the manual to get started, and the changelog for historical changes.

Diffing

Improved preprocessing heuristics, so difftastic should be faster and fall back to text diffing less often.

Parsing

Updated Haskell (the previous version was prone to crashing) and Kotlin parsers.

Improved delimiter and trailing punctuation handling in:C, C++, C#, Elixir, Erlang, Gleam, Go, Java, JavaScript, Kotlin, Haskell, Nix, OCaml, Python, TypeScript and YAML.

Removed Smali support (upstream parser is no longer maintained).

Removed support for Verilog and F# due to the very large parser size making the difft binary big. Adding support for dynamically loading parsers in a future release should allow users to parse these languages again.

Display

Fixed an issue with inline display where unchanged lines between two nearby changes were not shown.

Fixed an issue (introduced in 0.71) where the terminal width wasn't detected when stdin, stdout and stderr were all redirected. This was most noticeable when using difft with jj.

Details

PlatformWindows
CategorySystem Tools
LicenseOpen source
PricingFree
Package IDWilfred.difftastic
Latest versionv0.72.0
File typeZIP
Architecturex64
File size8.5 MB
Published10/30/2026

SHA-256

Version history

VersionSizePublishedScan
v0.71.0
SHA-256
10.0 MB10/9/2026CleanDownload
v0.70.0
SHA-256
10.1 MB10/1/2026CleanDownload

Does this still work for you?

Works (0)Doesn't work (0)Sign in to vote

Badge for your website

Developers can show that Difftastic is available on MirrorNest. Copy the code below: the badge links to this page and updates itself.

Difftastic on MirrorNest
HTML
<a href="https://mirrornest.com/software/difftastic-3b1f1ab3"><img src="https://mirrornest.com/badge/difftastic-3b1f1ab3.svg" alt="Difftastic on MirrorNest" height="20"></a>
Markdown
[![Difftastic on MirrorNest](https://mirrornest.com/badge/difftastic-3b1f1ab3.svg)](https://mirrornest.com/software/difftastic-3b1f1ab3)

Reviews

No reviews yet — be the first.

Leave a review

Sign in to post as a verified member instead of anonymously.

Difftastic alternatives