bsdiff
« Back to VersTracker
Description:
Generate and apply patches to binary files
Type: Formula  |  Latest Version: 4.3@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: binary patch diff delta updater
Install: brew install bsdiff
About:
bsdiff is a tool that generates binary patches (deltas) between two versions of a file and applies them to create the updated version. It is specifically optimized for executable binaries and other non-text files, using bzip2 compression to create exceptionally small patches. This makes it ideal for efficient binary distribution and updates.
Key Features:
  • Optimized for binary files, unlike text-based diff tools
  • Generates very small patches using bzip2 compression
  • Simple command-line interface for generating and applying patches
  • Cross-platform and self-contained
Use Cases:
  • Distributing small software updates for compiled applications
  • Reducing bandwidth for over-the-air (OTA) firmware updates
  • Creating delta packages for operating system components
Alternatives:
  • xdelta – xdelta is another binary diff tool that uses the VCDIFF algorithm, often used for game patches and disk images.
  • gdiff – A general-purpose diff tool, but not specifically optimized for binary files like bsdiff.
License: BSD-2-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, arm64_big_sur, sonoma, ventura, monterey, big_sur, catalina, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 29, 2025 1:44am 0 VERSION_BUMP f88416e5
Oct 28, 2025 7:11pm 0 VERSION_BUMP 8a5db972
Sep 12, 2025 7:30pm 0 VERSION_BUMP f047801d