Sign in

Signing in is optional and helps with feedback. Email subscriptions and VIP services are planned. All tools work without signing in.

Binary Comparator

Compare two files or pasted hexadecimal byte sequences in the browser. The result groups bytes into 16-byte rows and highlights differences, with side-by-side and unified views. Each side accepts up to 20 MB.

Reading the comparison

Offsets show where each row begins in its own file. Switch the display between hexadecimal, decimal, binary and ASCII without changing the underlying data. Use the arrows to move between differences, and expand collapsed matching regions for context. The Sample button provides data to try the view.

SHA-256 digests provide a convenient whole-file comparison; the byte view helps inspect where content differs. The display has a rendering limit for very large or heavily changed inputs, so a truncated view should not be treated as a complete list of differences.

Original File
No data yet - click Load File or drop a binary file here (up to 20 MB).
0 bytes
Target File
No data yet - click Load File or drop a binary file here (up to 20 MB).
0 bytes

How to Use

1. Load two files with Load File or drag and drop them onto either side, or paste hex bytes.

2. Click Compare - comparison also runs automatically after each load.

3. Data is compared as raw bytes in 16-byte rows; the result is a hex dump by default.

4. Use the arrows to jump between differences and the format menu to switch between hexadecimal, decimal, binary and ASCII.

Tips

1. Each side accepts up to 20 MB; identical regions are collapsed - click a collapsed row to expand it.

2. Everything runs in your browser with pure JavaScript - no data is uploaded to any server.

3. Tick Show identical rows to list every byte row without collapsing.

4. SHA-256 digests are computed for both sides for quick whole-file verification.

Questions and answers

Binary Comparator FAQ

Is the comparison performed locally?

Yes. The diff runs in pure JavaScript in your browser; no file is uploaded.

What is the maximum file size?

Each side accepts binary data up to 20 MB, loaded from a file or pasted as hex.

How are differences displayed?

Rows are 16 bytes. Removed rows are red, added rows are green, and changed rows mark the exact bytes that differ.

Which number formats are supported?

Hexadecimal by default, plus decimal, binary and ASCII display for the same diff.