Hex / Binary Diff Viewer

Compare two hex byte strings or binary payloads and see exactly which bytes differ in a hexdump-style view with offset, hex, and ASCII columns.

Accepts space-separated (01 03 0A), comma-separated (0x01,0x03,0x0A), or plain hex (01030A) - formats can be mixed between the two boxes. Comparison runs entirely in your browser; nothing is uploaded.

Why compare hex byte by byte?

Text diff tools compare lines, but firmware and protocol debugging usually needs byte-level comparison - a single flipped bit in a CRC, a shifted length field, or a byte-order mismatch is easy to spot in a hexdump but easy to miss in a text diff.

Reading the hexdump diff

Each row shows the byte offset, 16 hex byte columns, and the ASCII representation. Differing bytes are highlighted in both the hex and ASCII columns so you can scan a long payload quickly and jump straight to the first mismatch.

FAQ

What formats does the hex diff tool accept?

Space-separated hex like 01 03 0A, comma-separated hex like 0x01,0x03,0x0A, and plain continuous hex like 01030A are all accepted, and the two input boxes can use different formats.

Can I compare two binary dumps of different lengths?

Yes. When one side is longer, the extra bytes are shown as a difference against a blank position on the shorter side, so length mismatches are visible immediately.

Is this the same as the text Diff Viewer?

No. The Diff Viewer compares text line by line, which works well for source code or config files. This tool compares raw bytes directly, which is a better fit for firmware payloads, memory dumps, and protocol frames.

Does this tool upload my hex data anywhere?

No. Parsing and comparison run entirely in JavaScript in your browser. Nothing is sent to a server.

Related tools

Diff Viewer · HEX ⇄ ASCII ⇄ Binary · CRC Calculator · Checksum Calculator · Modbus RTU Frame Decoder