Skip over navigation

BDiff / BPatch Utilities

Creates diffs between files and applies patches

Version 1.0.0-beta
Released 2023-06-02
O/S Windows 2000 & later


BDiff and BPatch are a pair of related Windows command line programs for creating diffs between two files and recreating files using the previously created diffs.

BDiff is used to output information about the differences between two files, with the option to output binary information. BPatch can apply binary patches created by BDiff.

For details of how to use the programs read the manual pages – the are links in the documentation section below.

These programs are modified versions of Stefan Reuther's bdiff and bpatch utilities, based on Pascal translations of the original C source code [Get the C source code].


These programs are hosted on GitHub in the delphidabbler/bdiff repository. The programs can be downloaded from the repository's Releases tab.

Each release gives the option of downloading either the programs in executable format or the source code. Your options are:

  • Choose to download a zip file containing both BDiff and BPatch. Extract the content of the .zip file. The included read-me file ( explains how to install the programs.
  • Choose Source to download the source code in .zip format.
  • Choose Source code.tar.gz to download the source code as a g-zipped tarball.

Get v1.0.0-beta from GitHub


The following documentation is available. All the links open on GitHub.

All the above files, except for the Build File, are included in the executable program download.

Bugs & Feature Requests

If you find any bugs or want to suggest a new feature, please use the GitHub project's issue tracker. You can browse existing issues to see if a similar one has already been raised. If so please add any further information as comments. If there is no similar issue please raise new one.

You will need a GitHub account if you want to create or edit an issue.