HDiffPatch 5.1.3

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 re

  • By sisong
  • Open Source
  • Updated Jul 31, 2026
Download for Windows

About 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.

What's new in 5.1.3

CHANGE LOG ...

Note:

  • create a delta: $hdiffz oldPath newPath outDiffFile -WD -s-64 ; apply the delta: $hpatchz oldPath diffFile outNewPath
  • I did not tested linux_riscv32 cmdline on riscv linux PC
  • libhpatchz.so in android_hpatchz/libs support decompressor: zlib,lzma,lzma2,zstd , & support diffFile created by $hdiffz,$hdiffz -SD,$hdiffz -WD
  • libhpatchz.so in android_hpatchz/libs_patchers support decompressor: zlib,lzma,lzma2,zstd,bzip2 , & support diffFile created by $hdiffz,$hdiffz -SD,$hdiffz -WD,$hdiffz -BSD,$bsdiff4,$hdiffz -VCD,$open-vcdiff delta,$xdelta3 -S,$xdelta3 -S lzma
  • libhpatchz.a in ios_macos_hpatchz support iOS,macos , & support decompressor: zlib,lzma,lzma2,zstd,bzip2 , & support diffFile created by $hdiffz,$hdiffz -SD,$hdiffz -WD,$hdiffz -BSD,$bsdiff4,$hdiffz -VCD,$open-vcdiff delta,$xdelta3 -S,$xdelta3 -S lzma

Full release notes »

Technical details

Publishersisong
Version5.1.3
Release date2026-07-31
LicenseMIT
Installer typezip
Architecturearm64, x86, x64
Package IDsisong.HDiffPatch

Install HDiffPatch from the command line

Install with Windows Package Manager
winget install --id=sisong.HDiffPatch -e
Update to the latest version
winget upgrade --id=sisong.HDiffPatch -e
Uninstall
winget uninstall --id=sisong.HDiffPatch -e

androidbinarybsdiffdeltadelta-compressiondiffdifferentialdirdirectoriesfolderhdiffpatchpatchpatcherupdatevcdiffxdelta

HDiffPatch version history

  • 5.0.0
  • 4.12.2
  • 4.12.1
  • 4.12.0
  • 4.11.1
  • 4.8.0

Frequently asked questions

Is HDiffPatch free?

Yes. HDiffPatch is free and open-source software released under the MIT license.

What is the latest version of HDiffPatch?

The latest version is 5.1.3, released on Jul 31, 2026.

Is it safe to download HDiffPatch?

The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 77f141386e5d8f785c1c846e10fbbc19b6c05aa00e3f59cc44670fb3f0e2ae94.

Which Windows versions does HDiffPatch support?

HDiffPatch runs on Windows and is available for ARM64, 32-bit (x86), 64-bit (x64) systems.

How do I uninstall HDiffPatch?

Open Settings › Apps › Installed apps, find HDiffPatch and select Uninstall. From the command line, run winget uninstall --id=sisong.HDiffPatch -e.