All projects
Code analysis

Differens.

Understand what changed in your code.

Differens compares code structure to explain changes. Renames and moves stay readable, even when lines shift.

At a glance
Language
TypeScript
Focus
Code analysis
Source
GitHub

Deterministic · Tree-sitter · 16 languages

A function rename
Compares code structure to identify renames, moves, and other changes.

01 / The problem

Why it exists.

A line diff can turn a rename into a deletion and an addition, or make a moved block look like new code. Differens compares the structure so you can see what happened.

02 / The approach

How it works.

Differens uses tree-sitter to parse both versions and identify inserts, deletions, updates, and moves. It does not use an AI model, so the same inputs give the same results.

It supports 16 programming languages and formats including JSON, YAML, and TOML. Compare Git history or two directories. If a file cannot be parsed, it falls back to a simpler diff.

diffanalysisdeveloper-tools

03 / Contribute

Help improve Differens.

Try Differens, report a bug, or suggest a change in the repository.

Next project

Carrot/ Document storage