[Go to site: main page, start]

Diff

Top 23 Diff Open-Source Projects

  1. delta

    A syntax-highlighting pager for git, diff, grep, rg --json, and blame output

    Project mention: LLMs Corrupt Your Documents When You Delegate | news.ycombinator.com | 2026-05-09

    Many diff tools, such as delta (https://github.com/dandavison/delta) and the ones built into VS Code and IDEs by JetBrains, can configured to highlight changes within each line (by word) and ignore changes to whitespace. Those features save me a lot of time when I review diffs that include indentation changes or variable renames.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. difftastic

    a structural diff that understands syntax 🟥🟩

    Project mention: Epic Games announces Lore version control system | news.ycombinator.com | 2026-06-17
  4. diff-so-fancy

    Make your diffs human readable for improved code quality and faster defect detection. :tada:

    Project mention: Improved Git Diffs with Delta, Fzf and a Little Shell Scripting | news.ycombinator.com | 2026-03-28

    I had to give up on diff-so-fancy because it would break a lot when used with `git diff --patch` but this post just reminded me of the issue and it turns out that it has recently been fixed, so I may give it another go.

    https://github.com/so-fancy/diff-so-fancy/issues/498

  5. patch-package

    Fix broken node modules instantly 🏃🏽‍♀️💨

    Project mention: Upcoming breaking changes for NPM v12 | news.ycombinator.com | 2026-06-09

    Absolutely not, there are plenty of use-cases for them. https://www.npmjs.com/package/patch-package comes to mind off the top of my head.

    Hopefully current hysteria will not result in some bs decisions like this.

  6. winmerge

    WinMerge is an Open Source differencing and merging tool for Windows. WinMerge can compare both folders and files, presenting differences in a visual text format that is easy to understand and handle.

    Project mention: WinMerge 2.16.56.2 – A Windows tool for visual difference display and merging | news.ycombinator.com | 2026-05-28
  7. vim-gitgutter

    A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.

  8. pixelmatch

    The smallest, simplest and fastest JavaScript pixel-level image comparison library

    Project mention: Building BlazeDiff: How I Made The Fastest Image Diff up-to 60% Faster with Block-Level Optimization | dev.to | 2025-09-01

    I was using pixelmatch: the gold standard for pixel-level image comparison in JavaScript. It's an excellent library that's served the community well for years. But as my test suite grew and image resolutions increased, those milliseconds started adding up to minutes. I thought: "There has to be a better way."

  9. diffview.nvim

    Single tabpage interface for easily cycling through diffs for all modified files for any git rev.

    Project mention: diffview.nvim VS diffview.nvim - a user suggested alternative | libhunt.com/r/diffview.nvim | 2026-05-06
  10. jsondiffpatch

    Diff & patch JavaScript objects

  11. microdiff

    A fast, zero dependency object and array comparison library. Significantly faster than most other deep comparison libraries and has full TypeScript support.

  12. DifferenceKit

    💻 A fast and flexible O(n) difference algorithm framework for Swift collection.

  13. TextDistance

    📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.

  14. diff2html

    Pretty diff to html javascript library (diff2html)

    Project mention: Diff Algorithms | news.ycombinator.com | 2025-09-30
  15. odiff

    A very fast SIMD-first image comparison library (with nodejs API)

    Project mention: Golden Testing a CAD Library | news.ycombinator.com | 2026-05-14

    if you want to do image diffing, use https://github.com/dmtrKovalenko/odiff

    however, if you have SVGs already, compare those without rasterizing them first, then if that fails rasterize & odiff on-demand. this way you dont waste a ton of space storing a bunch of binary [possibly evolving] pngs in git.

  16. nbdime

    Tools for diffing and merging of Jupyter notebooks.

  17. git-cola

    git-cola: The highly caffeinated Git GUI

    Project mention: Git-cola: The highly caffeinated Git GUI | news.ycombinator.com | 2026-02-11
  18. deepdiff

    DeepDiff: Deep Difference and search of any Python object/data. DeepHash: Hash of any object based on its contents. Delta: Use deltas to reconstruct objects by adding deltas together.

  19. graphtage

    A semantic diff utility and library for tree-like files such as JSON, JSON5, XML, HTML, YAML, and CSV.

  20. diffsitter

    A tree-sitter based AST difftool to get meaningful semantic diffs

    Project mention: Epic Games announces Lore version control system | news.ycombinator.com | 2026-06-17

    The five command part isn't really possible but you can use custom diffs for merges, git diff, etc. pretty easily. There are projects like diffsitter ( https://github.com/afnanenayet/diffsitter ) for doing more intelligent diffs like this for supported languages.

  21. jd

    JSON diff and patch

  22. HDiffPatch

    a C\C++ library and command-line tools for Diff & Patch between binary files or directories(folder); cross-platform; runs fast; create small delta/differential; support large files and limit memory requires when diff & patch.

  23. sad

    CLI search and replace | Space Age seD

  24. terraboard

    :earth_africa: :clipboard: A web dashboard to inspect Terraform States

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Diff discussion

Log in or Post with

Diff related posts

  • Epic Games announces Lore version control system

    15 projects | news.ycombinator.com | 17 Jun 2026
  • OpenAPI仕様の差分を比較し、CIで破壊的変更をブロックする方法

    2 projects | dev.to | 16 Jun 2026
  • Cómo Comparar Especificaciones OpenAPI y Bloquear Cambios Disruptivos en Integración Continua

    2 projects | dev.to | 16 Jun 2026
  • Sem: New primitive for code understanding – not LSPs, but entities on top of Git

    3 projects | news.ycombinator.com | 6 Jun 2026
  • Changing Document Version Control Forever

    1 project | news.ycombinator.com | 3 Jun 2026
  • WinMerge 2.16.56.2 – A Windows tool for visual difference display and merging

    1 project | news.ycombinator.com | 28 May 2026
  • Show HN: Codiff, a local diff review tool

    7 projects | news.ycombinator.com | 16 May 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Diff projects? This list will help you:

# Project Stars
1 delta 31,178
2 difftastic 25,512
3 diff-so-fancy 18,057
4 patch-package 11,200
5 winmerge 8,898
6 vim-gitgutter 8,502
7 pixelmatch 6,851
8 diffview.nvim 5,514
9 jsondiffpatch 5,293
10 microdiff 3,801
11 DifferenceKit 3,659
12 TextDistance 3,526
13 diff2html 3,383
14 odiff 3,061
15 nbdime 2,835
16 git-cola 2,534
17 deepdiff 2,512
18 graphtage 2,472
19 diffsitter 2,383
20 jd 2,277
21 HDiffPatch 2,040
22 sad 2,038
23 terraboard 2,007

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Rust is
the 3rd most popular programming language
based on number of references?