Binary Diff & Patch

Compare binary files, review byte changes and similarity, create reversible patches, and verify base and reconstructed target files with SHA-256.

Advertisement

Compare complete binary artifacts

Binary Diff & Patch finds reusable byte ranges with a bounded rolling-anchor algorithm and represents the target as deterministic copy and insert operations. Review similarity, changed-byte estimates, operation boundaries, and a same-offset byte preview.

Patches fail closed

The portable patch format records base and target names, sizes, and SHA-256 identifiers. Applying a patch first verifies the exact base, bounds-checks every operation, reconstructs the target, and verifies the target hash before offering output.

Generate either direction, download the JSON patch, or save a verified reconstruction as a derived Binary Lab artifact.

Frequently Asked Questions

How does patch verification work?+

A patch records the exact base and target size and SHA-256. Application refuses the wrong base, bounds-checks every operation, and hashes the reconstructed target.

Can I reverse a patch?+

Generate a reverse patch while both artifacts are loaded. It uses the former target as the hash-locked base and reconstructs the former base.

Is the patch compatible with bsdiff or IPS?+

No. It uses the versioned inventivehq-binary-patch JSON format so operations and cryptographic identities remain inspectable and portable.

Related tools

This tool is provided for informational and educational purposes only. All processing happens in your browser — no data is sent to or stored on our servers. While we strive for accuracy, we make no warranties about the completeness or reliability of results.