Diffsplain

Understand the code
you didn't write.

Each file’s diff and explanation, side by side.

Or an open-source repo:
npx diffsplain

Unified diff

← → to move

Run locally

Bring the same file-by-file view to your next PR or local changes. Diffsplain does not change your checkout.

See all command options

Review a GitHub PR

npx diffsplain --repo owner/repo --pr 198

Choose your agent and model

npx diffsplain --agent claude --model MODEL_NAME

Compare a remote branch with its default branch

npx diffsplain --branch feature/my-change