Binary Compare
Compare two files byte by byte. Find the first differing offset, inspect changed ranges and see which file has an extra tail.
- Free
- Works Offline
- No Uploads
How to Compare Binary Files
- Open the HTML, review Security Check, then select Continue.
- Choose File A and File B, or select Open Sample.
- Select Compare Bytes. The scan compares matching zero-based positions and reports any file-only tail separately.
- Open a range for a 16-position hex preview. Download JSON Report to save lengths, offsets and comparison coverage.
Binary Compare Features
- Choose File A and File B, or select Open Sample.
- Compare by zero-based byte offset. See matched sizes, the first difference and which file is longer.
- Open a range for a 16-position hex preview. Download the comparison report as JSON.
Formats and Compatibility
| Input | Two local files of any format, including empty files. The tool treats each file as a sequence of bytes. |
|---|---|
| Output | A positional equality verdict, input lengths, first differing offset, up to 250 changed overlap ranges, and a separate tail when lengths differ. Export the result as JSON. |
| Browser | A modern browser with local file support. |
| Scope | Compare two selected files at the same zero-based byte offsets and inspect up to 250 changed overlap ranges plus one tail. |
| Operating Systems |
Local Processing Without Uploads
This free, browser-based comparison reads the selected bytes on your device with no upload or account.
Select Open Sample to see the workflow with the included example.
Positional Byte Compare and Hex Diff
Compare equal offsets with 1 MiB reads per file. A longer file has a separate tail. If another changed range exceeds the 250-range limit, the report identifies the partial scan and still reports the known tail.
Inspect Changed Byte Ranges
Open a range to see hexadecimal values near its start. End offsets in the JSON report are exclusive. The tool displays the last included offset in the grid.
Frequently Asked Questions
Can I use binary file compare offline?
Yes. Extract the Tool ZIP and open BinaryCompare.html.
How does local binary file compare work?
It compares raw bytes at the same offsets and uses a separate finding for bytes beyond the shorter file.
Is this a free binary file compare tool?
Yes. Run it in Local Studio or download the offline edition.
Can I use binary file compare without uploading files?
Yes. Only the selected files are read, on your device.
How do I use binary file compare in browser?
Choose File A and File B, compare their bytes, then inspect the changed ranges or download the JSON report.
Where is the binary file compare download?
Download Tool ZIP saves the app. Download JSON Report saves the comparison result.
Can the hex diff align inserted bytes?
The tool compares fixed offsets. An insertion can shift later bytes and make several later positions differ.
What happens after 250 changed ranges?
The report identifies the coverage reached when the next changed overlap range appears. Lengths and any one-file-only tail remain available from the selected file sizes.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.