Difftastic is a structural diff tool written in Rust that parses source files using syntax trees (via tree‑sitter) and produces human‑readable diffs at the expression level. It works across 30+ languages and emphasizes readability by aligning code structure rather than lines. Ideal for code review and understanding semantic changes.

Features

  • AST‑based syntax-aware diffs (not just line diffs)
  • Supports 30+ programming languages via tree‑sitter
  • Highlights moved code segments, renamed variables
  • Human‑friendly side‑by‑side terminal output
  • Falls back to word‑based text diff for unknown files
  • No patch generation or merging—focused solely on human understanding

Project Samples

Project Activity

See All Activity >

Categories

Diff Tools

License

MIT License

Follow Difftastic

Difftastic Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Difftastic!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Diff Tools

Registered

2025-08-01